Function at 0x430350
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ddd1
mov eax, dword fs:[0]
push eax
sub esp, 0xeac
mov eax, dword [0x58f574]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xd08], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd0c], eax
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00424380
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0xd04], esi
mov edi, dword [esi - 0xc]
mov dword [ebp - 4], 0
test edi, edi
js 0x431322
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x4303e8
push edi
lea ecx, [ebp - 0xd04]
call fcn.0040d570
mov esi, dword [ebp - 0xd04]
lea eax, [edi + 1]
push eax
push esi
call fcn.00519668
lea eax, [esi - 0x10]
add esp, 8
mov dword [ebp - 0xd14], eax
cmp edi, dword [eax + 8]
jg 0x431322
xor ecx, ecx
mov dword [eax + 4], edi
mov word [esi + edi*2], cx
cmp dword [eax + 4], ecx
jl 0x4312e7
push 0x54d060
push esi
call fcn.0050a207
add esp, 8
test eax, eax
je 0x4312e7
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4312e7
lea eax, [ebp - 0xcf0]
mov dword [ebp - 0xcf0], 0
push eax
push 0x54d648
push 1
push 0
push 0x54d658
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4312d0
mov ecx, dword [ebp - 0xcf0]
test ecx, ecx
je 0x4312d0
mov dword [ebp - 0xcf4], 0
mov eax, dword [ecx]
lea edx, [ebp - 0xcf4]
push edx
push 0x54d6c8
push ecx
mov byte [ebp - 4], 1
call dword [eax]
test eax, eax
mov eax, dword [ebp - 0xcf4]
js 0x4312be
test eax, eax
je 0x4312be
mov ecx, dword [eax]
push 0
push dword [ebx]
push eax
call dword [ecx + 0x14]
test eax, eax
jns 0x4304d7
mov eax, dword [ebp - 0xcf4]
mov byte [ebp - 4], 3
test eax, eax
je 0x4312cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4312cc
push 0x208
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.00509f10
mov ecx, dword [ebp - 0xcf0]
lea edx, [ebp - 0xd18]
add esp, 0xc
mov eax, dword [ecx]
push edx
push 0x104
lea edx, [ebp - 0x27c]
push edx
push ecx
call dword [eax + 0x40]
push 0x208
lea eax, [ebp - 0x484]
push 0
push eax
call fcn.00509f10
add esp, 0xc
lea eax, [ebp - 0x484]
push 0x104
push eax
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x484]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430544
sub ecx, edx
lea eax, [ebp - 0x484]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xd10]
push eax
call fcn.00412300
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x43058d
mov ecx, dword [ebp - 0xcf0]
push 0x84
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
jns 0x43058d
mov byte [ebp - 4], 4
jmp 0x431293
mov dword [ebp - 0xcf8], 0
mov dword [ebp - 0xd00], 0
mov dword [ebp - 0xcfc], 0
push 0x820
lea eax, [ebp - 0xca4]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.00509f10
mov ecx, dword [ebp - 0xcf0]
lea edx, [ebp - 0xcf8]
add esp, 0xc
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0x10]
test eax, eax
je 0x4305f9
mov eax, dword [ebp - 0xcfc]
mov byte [ebp - 4], 6
test eax, eax
je 0x4305f0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
jmp 0x431293
lea eax, [ebp - 0xd00]
push eax
lea eax, [ebp - 0xcfc]
push eax
push 0x54d618
push dword [ebp - 0xcf8]
call dword [sym.imp.SHELL32.dll_SHBindToParent]
mov esi, dword [ebp - 0xcfc]
test eax, eax
jne 0x431281
test esi, esi
je 0x431281
push 0x108
lea eax, [ebp - 0xeb8]
push 0
push eax
call fcn.00509f10
mov eax, dword [esi]
lea ecx, [ebp - 0xeb8]
add esp, 0xc
push ecx
push 0x8000
push dword [ebp - 0xd00]
push esi
call dword [eax + 0x2c]
test eax, eax
jns 0x430693
push dword [ebp - 0xcf8]
call dword [sym.imp.SHELL32.dll_ILFree]
mov dword [ebp - 0xcf8], 0
mov eax, dword [ebp - 0xcfc]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x43068a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
jmp 0x431293
push 0x104
lea eax, [ebp - 0xca4]
push eax
push dword [ebp - 0xd00]
lea eax, [ebp - 0xeb8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRetToBufW]
test eax, eax
jne 0x4306de
lea ecx, [ebp - 0xca4]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4306c0
sub ecx, edx
lea eax, [ebp - 0xca4]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00412300
push dword [ebp - 0xcf8]
call dword [sym.imp.SHELL32.dll_ILFree]
mov dword [ebp - 0xcf8], 0
call fcn.00439bb0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4309d9
push 0x50
push str.d:jenkins.jenkinsworkspacemgamecommonlibinclude_searchapp_searchappdef.cpp
lea ecx, [ebp - 0xcd4]
mov dword [ebp - 0xcc4], eax
mov dword [ebp - 0xcc0], 0xf
mov byte [ebp - 0xcd4], al
call fcn.0040f680
push 3
push 0x549db0
lea ecx, [ebp - 0xcbc]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xcac], 0
mov dword [ebp - 0xca8], 0xf
mov byte [ebp - 0xcbc], 0
call fcn.0040f680
push 1
push 2
lea ecx, [ebp - 0xdb0]
mov byte [ebp - 4], 0xd
call fcn.00412700
push 0xffffffffffffffff
push 0x549bf4
lea ecx, [ebp - 0xcd4]
mov byte [ebp - 4], 0xe
call fcn.00410c00
push 0xffffffffffffffff
push 0x549bf8
lea ecx, [ebp - 0xcd4]
mov edi, eax
call fcn.00410c00
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00509f10
add esp, 0xc
cmp esi, 0xffffffff
je 0x4308a9
lea eax, [esi - 1]
cmp edi, eax
jae 0x4308a9
mov eax, dword [ebp - 0xcc4]
lea edx, [edi + 1]
mov dword [ebp - 0xcdc], 0
mov dword [ebp - 0xcd8], 0xf
mov byte [ebp - 0xcec], 0
cmp eax, edx
jb 0x43132c
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xcc0], 0x10
lea eax, [ebp - 0xcd4]
cmovae eax, dword [ebp - 0xcd4]
push ecx
add eax, edx
lea ecx, [ebp - 0xcec]
push eax
call fcn.0040f680
cmp dword [ebp - 0xcd8], 0x10
lea eax, [ebp - 0xcec]
cmovae eax, dword [ebp - 0xcec]
push eax
push 0x95
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00406320
mov edx, dword [ebp - 0xcd8]
add esp, 0x10
cmp edx, 0x10
jb 0x43088c
mov ecx, dword [ebp - 0xcec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430882
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431331
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov dword [ebp - 0xcdc], 0
mov dword [ebp - 0xcd8], 0xf
mov byte [ebp - 0xcec], 0
jmp 0x4308bf
push 0x95
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00406320
add esp, 0xc
cmp dword [ebp - 0xca8], 0x10
lea eax, [ebp - 0xcbc]
cmovae eax, dword [ebp - 0xcbc]
push eax
lea eax, [ebp - 0xdb0]
push eax
call fcn.004087a0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xdb0]
push eax
call fcn.004087a0
lea eax, [ebp - 0xdb0]
mov byte [ebp - 4], 0xf
push str.step1:
push eax
call fcn.004087a0
mov eax, dword [ebx]
mov ecx, 0x549be4
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xdb0]
push ecx
push eax
call fcn.00404df0
add esp, 0x20
call fcn.00439bb0
lea ecx, [ebp - 0xdb0]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdb0]
call fcn.00408d80
mov edx, dword [ebp - 0xca8]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x43097d
mov ecx, dword [ebp - 0xcbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430973
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431336
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov edx, dword [ebp - 0xcc0]
mov dword [ebp - 0xcac], 0
mov dword [ebp - 0xca8], 0xf
mov byte [ebp - 0xcbc], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x4309d6
mov ecx, dword [ebp - 0xcd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4309cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43133b
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov edi, dword [ebp + 0x18]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x431267
mov ecx, dword [ebp - 0xcf0]
lea edx, [ebp - 0x27c]
push 2
push 0
push 0x104
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430a10
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00412300
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x430a94
mov ecx, dword [ebp - 0xcf0]
lea edx, [ebp - 0xca4]
push 0x104
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x27c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430a57
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xd08]
push eax
call fcn.00412300
test edi, edi
je 0x430a94
mov ecx, dword [ebp - 0xcf0]
push 0x104
push dword [ebp - 0xd0c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x20]
call fcn.00439bb0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x430d30
push 0x50
push str.d:jenkins.jenkinsworkspacemgamecommonlibinclude_searchapp_searchappdef.cpp
lea ecx, [ebp - 0xcbc]
mov dword [ebp - 0xcac], eax
mov dword [ebp - 0xca8], 0xf
mov byte [ebp - 0xcbc], al
call fcn.0040f680
push 3
push 0x549db0
lea ecx, [ebp - 0xcd4]
mov byte [ebp - 4], 0x10
mov dword [ebp - 0xcc4], 0
mov dword [ebp - 0xcc0], 0xf
mov byte [ebp - 0xcd4], 0
call fcn.0040f680
push 1
push 2
lea ecx, [ebp - 0xdb0]
mov byte [ebp - 4], 0x11
call fcn.00412700
push 0xffffffffffffffff
push 0x549bf4
lea ecx, [ebp - 0xcbc]
mov byte [ebp - 4], 0x12
call fcn.00410c00
push 0xffffffffffffffff
push 0x549bf8
lea ecx, [ebp - 0xcbc]
mov edi, eax
call fcn.00410c00
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00509f10
add esp, 0xc
cmp esi, 0xffffffff
je 0x430bff
lea eax, [esi - 1]
cmp edi, eax
jae 0x430bff
mov eax, dword [ebp - 0xcac]
lea edx, [edi + 1]
mov dword [ebp - 0xcdc], 0
mov dword [ebp - 0xcd8], 0xf
mov byte [ebp - 0xcec], 0
cmp eax, edx
jb 0x431340
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xca8], 0x10
lea eax, [ebp - 0xcbc]
cmovae eax, dword [ebp - 0xcbc]
push ecx
add eax, edx
lea ecx, [ebp - 0xcec]
push eax
call fcn.0040f680
cmp dword [ebp - 0xcd8], 0x10
lea eax, [ebp - 0xcec]
cmovae eax, dword [ebp - 0xcec]
push eax
push 0xa6
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00406320
add esp, 0x10
lea ecx, [ebp - 0xcec]
call fcn.004079f0
jmp 0x430c15
push 0xa6
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00406320
add esp, 0xc
cmp dword [ebp - 0xcc0], 0x10
lea eax, [ebp - 0xcd4]
cmovae eax, dword [ebp - 0xcd4]
push eax
lea eax, [ebp - 0xdb0]
push eax
call fcn.004087a0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xdb0]
push eax
call fcn.004087a0
lea eax, [ebp - 0xdb0]
mov byte [ebp - 4], 0x13
push str.step2:
push eax
call fcn.004087a0
mov eax, dword [ebx]
test eax, eax
mov ebx, 0x549be4
mov ecx, ebx
cmovne ecx, eax
lea eax, [ebp - 0xdb0]
push ecx
push eax
call fcn.00404df0
add esp, 0x20
call fcn.00439bb0
lea ecx, [ebp - 0xdb0]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdb0]
call fcn.00408d80
mov edx, dword [ebp - 0xcc0]
mov byte [ebp - 4], 0x10
cmp edx, 0x10
jb 0x430cd5
mov ecx, dword [ebp - 0xcd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430ccb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431345
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov edx, dword [ebp - 0xca8]
mov dword [ebp - 0xcc4], 0
mov dword [ebp - 0xcc0], 0xf
mov byte [ebp - 0xcd4], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x430d35
mov ecx, dword [ebp - 0xcbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430d24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43134a
push edx
push ecx
call fcn.004c6c76
add esp, 8
jmp 0x430d35
mov ebx, 0x549be4
call fcn.00439bb0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x430fd0
push 0x50
push str.d:jenkins.jenkinsworkspacemgamecommonlibinclude_searchapp_searchappdef.cpp
lea ecx, [ebp - 0xcbc]
mov dword [ebp - 0xcac], eax
mov dword [ebp - 0xca8], 0xf
mov byte [ebp - 0xcbc], al
call fcn.0040f680
push 3
push 0x549db0
lea ecx, [ebp - 0xcd4]
mov byte [ebp - 4], 0x14
mov dword [ebp - 0xcc4], 0
mov dword [ebp - 0xcc0], 0xf
mov byte [ebp - 0xcd4], 0
call fcn.0040f680
push 1
push 2
lea ecx, [ebp - 0xdb0]
mov byte [ebp - 4], 0x15
call fcn.00412700
push 0xffffffffffffffff
push 0x549bf4
lea ecx, [ebp - 0xcbc]
mov byte [ebp - 4], 0x16
call fcn.00410c00
push 0xffffffffffffffff
push 0x549bf8
lea ecx, [ebp - 0xcbc]
mov edi, eax
call fcn.00410c00
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00509f10
add esp, 0xc
cmp esi, 0xffffffff
je 0x430ea0
lea eax, [esi - 1]
cmp edi, eax
jae 0x430ea0
mov eax, dword [ebp - 0xcac]
lea edx, [edi + 1]
mov dword [ebp - 0xcdc], 0
mov dword [ebp - 0xcd8], 0xf
mov byte [ebp - 0xcec], 0
cmp eax, edx
jb 0x43134f
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xca8], 0x10
lea eax, [ebp - 0xcbc]
cmovae eax, dword [ebp - 0xcbc]
push ecx
add eax, edx
lea ecx, [ebp - 0xcec]
push eax
call fcn.0040f680
cmp dword [ebp - 0xcd8], 0x10
lea eax, [ebp - 0xcec]
cmovae eax, dword [ebp - 0xcec]
push eax
push 0xa7
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00406320
add esp, 0x10
lea ecx, [ebp - 0xcec]
call fcn.004079f0
jmp 0x430eb6
push 0xa7
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00406320
add esp, 0xc
cmp dword [ebp - 0xcc0], 0x10
lea eax, [ebp - 0xcd4]
cmovae eax, dword [ebp - 0xcd4]
push eax
lea eax, [ebp - 0xdb0]
push eax
call fcn.004087a0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xdb0]
push eax
call fcn.004087a0
lea eax, [ebp - 0xdb0]
mov byte [ebp - 4], 0x17
push str.arg:
push eax
call fcn.004087a0
mov eax, dword [ebp - 0xd08]
mov ecx, ebx
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xdb0]
push ecx
push eax
call fcn.00404df0
add esp, 0x20
call fcn.00439bb0
lea ecx, [ebp - 0xdb0]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdb0]
call fcn.00408d80
mov edx, dword [ebp - 0xcc0]
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x430f77
mov ecx, dword [ebp - 0xcd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430f6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431354
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov edx, dword [ebp - 0xca8]
mov dword [ebp - 0xcc4], 0
mov dword [ebp - 0xcc0], 0xf
mov byte [ebp - 0xcd4], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x430fd0
mov ecx, dword [ebp - 0xcbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430fc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431359
push edx
push ecx
call fcn.004c6c76
add esp, 8
call fcn.00439bb0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x431267
push 0x50
push str.d:jenkins.jenkinsworkspacemgamecommonlibinclude_searchapp_searchappdef.cpp
lea ecx, [ebp - 0xcbc]
mov dword [ebp - 0xcac], eax
mov dword [ebp - 0xca8], 0xf
mov byte [ebp - 0xcbc], al
call fcn.0040f680
push 3
push 0x549db0
lea ecx, [ebp - 0xcd4]
mov byte [ebp - 4], 0x18
mov dword [ebp - 0xcc4], 0
mov dword [ebp - 0xcc0], 0xf
mov byte [ebp - 0xcd4], 0
call fcn.0040f680
push 1
push 2
lea ecx, [ebp - 0xdb0]
mov byte [ebp - 4], 0x19
call fcn.00412700
push 0xffffffffffffffff
push 0x549bf4
lea ecx, [ebp - 0xcbc]
mov byte [ebp - 4], 0x1a
call fcn.00410c00
push 0xffffffffffffffff
push 0x549bf8
lea ecx, [ebp - 0xcbc]
mov edi, eax
call fcn.00410c00
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.00509f10
add esp, 0xc
cmp esi, 0xffffffff
je 0x43113b
lea eax, [esi - 1]
cmp edi, eax
jae 0x43113b
mov eax, dword [ebp - 0xcac]
lea edx, [edi + 1]
mov dword [ebp - 0xcdc], 0
mov dword [ebp - 0xcd8], 0xf
mov byte [ebp - 0xcec], 0
cmp eax, edx
jb 0x43135e
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0xca8], 0x10
lea eax, [ebp - 0xcbc]
cmovae eax, dword [ebp - 0xcbc]
push ecx
add eax, edx
lea ecx, [ebp - 0xcec]
push eax
call fcn.0040f680
cmp dword [ebp - 0xcd8], 0x10
lea eax, [ebp - 0xcec]
cmovae eax, dword [ebp - 0xcec]
push eax
push 0xa8
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.00406320
add esp, 0x10
lea ecx, [ebp - 0xcec]
call fcn.004079f0
jmp 0x431151
push 0xa8
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.00406320
add esp, 0xc
cmp dword [ebp - 0xcc0], 0x10
lea eax, [ebp - 0xcd4]
cmovae eax, dword [ebp - 0xcd4]
push eax
lea eax, [ebp - 0xdb0]
push eax
call fcn.004087a0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xdb0]
push eax
call fcn.004087a0
lea eax, [ebp - 0xdb0]
mov byte [ebp - 4], 0x1b
push str.working_dir
push eax
call fcn.004087a0
mov eax, dword [ebp - 0xd0c]
test eax, eax
cmovne ebx, eax
lea eax, [ebp - 0xdb0]
push ebx
push eax
call fcn.00404df0
add esp, 0x20
call fcn.00439bb0
lea ecx, [ebp - 0xdb0]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0xdb0]
call fcn.00408d80
mov edx, dword [ebp - 0xcc0]
mov byte [ebp - 4], 0x18
cmp edx, 0x10
jb 0x43120e
mov ecx, dword [ebp - 0xcd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x431204
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431363
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov edx, dword [ebp - 0xca8]
mov dword [ebp - 0xcc4], 0
mov dword [ebp - 0xcc0], 0xf
mov byte [ebp - 0xcd4], 0
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x431267
mov ecx, dword [ebp - 0xcbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43125d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431368
push edx
push ecx
call fcn.004c6c76
add esp, 8
mov eax, dword [ebp - 0xcfc]
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x43127b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1d
jmp 0x431293
mov byte [ebp - 4], 8
test esi, esi
je 0x43128f
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xcf4]
test eax, eax
je 0x4312a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xcf0]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x4312b7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, 1
jmp 0x4312e9
mov byte [ebp - 4], 2
test eax, eax
je 0x4312cc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.00409ce0
mov ecx, dword [ebp - 0xcf0]
test ecx, ecx
je 0x4312e7
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor esi, esi
mov edi, dword [ebp - 0xd14]
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x431304
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c6f1e
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00409540
call fcn.0040ef40
call fcn.0050d599
call fcn.0050d599
call fcn.0050d599
call fcn.0040ef40
call fcn.0050d599
call fcn.0050d599
call fcn.0040ef40
call fcn.0050d599
call fcn.0050d599
call fcn.0040ef40
call fcn.0050d599
call fcn.0050d599
int3