Function at 0x430300
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x543001
mov eax, dword fs:[0]
push eax
sub esp, 0xeac
mov eax, dword [0x594584]
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.00424340
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 0x4312d2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x430398
push edi
lea ecx, [ebp - 0xd04]
call fcn.0040d530
mov esi, dword [ebp - 0xd04]
lea eax, [edi + 1]
push eax
push esi
call fcn.0051e8a8
lea eax, [esi - 0x10]
add esp, 8
mov dword [ebp - 0xd14], eax
cmp edi, dword [eax + 8]
jg 0x4312d2
xor ecx, ecx
mov dword [eax + 4], edi
mov word [esi + edi*2], cx
cmp dword [eax + 4], ecx
jl 0x431297
push 0x552050
push esi
call fcn.0050f447
add esp, 8
test eax, eax
je 0x431297
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x431297
lea eax, [ebp - 0xcf0]
mov dword [ebp - 0xcf0], 0
push eax
push 0x552630
push 1
push 0
push 0x552640
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x431280
mov ecx, dword [ebp - 0xcf0]
test ecx, ecx
je 0x431280
mov dword [ebp - 0xcf4], 0
mov eax, dword [ecx]
lea edx, [ebp - 0xcf4]
push edx
push 0x5526b0
push ecx
mov byte [ebp - 4], 1
call dword [eax]
test eax, eax
mov eax, dword [ebp - 0xcf4]
js 0x43126e
test eax, eax
je 0x43126e
mov ecx, dword [eax]
push 0
push dword [ebx]
push eax
call dword [ecx + 0x14]
test eax, eax
jns 0x430487
mov eax, dword [ebp - 0xcf4]
mov byte [ebp - 4], 3
test eax, eax
je 0x43127c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x43127c
push 0x208
lea eax, [ebp - 0x27c]
push 0
push eax
call fcn.0050f150
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.0050f150
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 0x4304f4
sub ecx, edx
lea eax, [ebp - 0x484]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xd10]
push eax
call fcn.004122c0
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x43053d
mov ecx, dword [ebp - 0xcf0]
push 0x84
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
jns 0x43053d
mov byte [ebp - 4], 4
jmp 0x431243
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.0050f150
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 0x4305a9
mov eax, dword [ebp - 0xcfc]
mov byte [ebp - 4], 6
test eax, eax
je 0x4305a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 7
jmp 0x431243
lea eax, [ebp - 0xd00]
push eax
lea eax, [ebp - 0xcfc]
push eax
push 0x552600
push dword [ebp - 0xcf8]
call dword [sym.imp.SHELL32.dll_SHBindToParent]
mov esi, dword [ebp - 0xcfc]
test eax, eax
jne 0x431231
test esi, esi
je 0x431231
push 0x108
lea eax, [ebp - 0xeb8]
push 0
push eax
call fcn.0050f150
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 0x430643
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 0x43063a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0xb
jmp 0x431243
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 0x43068e
lea ecx, [ebp - 0xca4]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x430670
sub ecx, edx
lea eax, [ebp - 0xca4]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004122c0
push dword [ebp - 0xcf8]
call dword [sym.imp.SHELL32.dll_ILFree]
mov dword [ebp - 0xcf8], 0
call fcn.00439f60
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x430989
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.0040f640
push 3
push 0x54edb0
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.0040f640
push 1
push 2
lea ecx, [ebp - 0xdb0]
mov byte [ebp - 4], 0xd
call fcn.004126c0
push 0xffffffffffffffff
push 0x54ebf4
lea ecx, [ebp - 0xcd4]
mov byte [ebp - 4], 0xe
call fcn.00410bc0
push 0xffffffffffffffff
push 0x54ebf8
lea ecx, [ebp - 0xcd4]
mov edi, eax
call fcn.00410bc0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0050f150
add esp, 0xc
cmp esi, 0xffffffff
je 0x430859
lea eax, [esi - 1]
cmp edi, eax
jae 0x430859
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 0x4312dc
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.0040f640
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 0x43083c
mov ecx, dword [ebp - 0xcec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430832
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4312e1
push edx
push ecx
call fcn.004cbf26
add esp, 8
mov dword [ebp - 0xcdc], 0
mov dword [ebp - 0xcd8], 0xf
mov byte [ebp - 0xcec], 0
jmp 0x43086f
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, 0x54ebe4
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0xdb0]
push ecx
push eax
call fcn.00404df0
add esp, 0x20
call fcn.00439f60
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 0x43092d
mov ecx, dword [ebp - 0xcbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430923
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4312e6
push edx
push ecx
call fcn.004cbf26
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 0x430986
mov ecx, dword [ebp - 0xcd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43097c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4312eb
push edx
push ecx
call fcn.004cbf26
add esp, 8
mov edi, dword [ebp + 0x18]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x431217
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 0x4309c0
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.004122c0
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x430a44
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 0x430a07
sub ecx, edx
lea eax, [ebp - 0x27c]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0xd08]
push eax
call fcn.004122c0
test edi, edi
je 0x430a44
mov ecx, dword [ebp - 0xcf0]
push 0x104
push dword [ebp - 0xd0c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x20]
call fcn.00439f60
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x430ce0
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.0040f640
push 3
push 0x54edb0
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.0040f640
push 1
push 2
lea ecx, [ebp - 0xdb0]
mov byte [ebp - 4], 0x11
call fcn.004126c0
push 0xffffffffffffffff
push 0x54ebf4
lea ecx, [ebp - 0xcbc]
mov byte [ebp - 4], 0x12
call fcn.00410bc0
push 0xffffffffffffffff
push 0x54ebf8
lea ecx, [ebp - 0xcbc]
mov edi, eax
call fcn.00410bc0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0050f150
add esp, 0xc
cmp esi, 0xffffffff
je 0x430baf
lea eax, [esi - 1]
cmp edi, eax
jae 0x430baf
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 0x4312f0
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.0040f640
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 0x430bc5
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, 0x54ebe4
mov ecx, ebx
cmovne ecx, eax
lea eax, [ebp - 0xdb0]
push ecx
push eax
call fcn.00404df0
add esp, 0x20
call fcn.00439f60
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 0x430c85
mov ecx, dword [ebp - 0xcd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430c7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4312f5
push edx
push ecx
call fcn.004cbf26
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 0x430ce5
mov ecx, dword [ebp - 0xcbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430cd4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4312fa
push edx
push ecx
call fcn.004cbf26
add esp, 8
jmp 0x430ce5
mov ebx, 0x54ebe4
call fcn.00439f60
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x430f80
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.0040f640
push 3
push 0x54edb0
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.0040f640
push 1
push 2
lea ecx, [ebp - 0xdb0]
mov byte [ebp - 4], 0x15
call fcn.004126c0
push 0xffffffffffffffff
push 0x54ebf4
lea ecx, [ebp - 0xcbc]
mov byte [ebp - 4], 0x16
call fcn.00410bc0
push 0xffffffffffffffff
push 0x54ebf8
lea ecx, [ebp - 0xcbc]
mov edi, eax
call fcn.00410bc0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0050f150
add esp, 0xc
cmp esi, 0xffffffff
je 0x430e50
lea eax, [esi - 1]
cmp edi, eax
jae 0x430e50
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 0x4312ff
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.0040f640
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 0x430e66
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.00439f60
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 0x430f27
mov ecx, dword [ebp - 0xcd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430f1d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431304
push edx
push ecx
call fcn.004cbf26
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 0x430f80
mov ecx, dword [ebp - 0xcbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x430f76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431309
push edx
push ecx
call fcn.004cbf26
add esp, 8
call fcn.00439f60
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x431217
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.0040f640
push 3
push 0x54edb0
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.0040f640
push 1
push 2
lea ecx, [ebp - 0xdb0]
mov byte [ebp - 4], 0x19
call fcn.004126c0
push 0xffffffffffffffff
push 0x54ebf4
lea ecx, [ebp - 0xcbc]
mov byte [ebp - 4], 0x1a
call fcn.00410bc0
push 0xffffffffffffffff
push 0x54ebf8
lea ecx, [ebp - 0xcbc]
mov edi, eax
call fcn.00410bc0
push 0x64
mov esi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0050f150
add esp, 0xc
cmp esi, 0xffffffff
je 0x4310eb
lea eax, [esi - 1]
cmp edi, eax
jae 0x4310eb
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 0x43130e
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.0040f640
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 0x431101
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.00439f60
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 0x4311be
mov ecx, dword [ebp - 0xcd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4311b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431313
push edx
push ecx
call fcn.004cbf26
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 0x431217
mov ecx, dword [ebp - 0xcbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43120d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431318
push edx
push ecx
call fcn.004cbf26
add esp, 8
mov eax, dword [ebp - 0xcfc]
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x43122b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x1d
jmp 0x431243
mov byte [ebp - 4], 8
test esi, esi
je 0x43123f
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xcf4]
test eax, eax
je 0x431253
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xcf0]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x431267
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, 1
jmp 0x431299
mov byte [ebp - 4], 2
test eax, eax
je 0x43127c
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 0x431297
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 0x4312b4
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.004cc1ce
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00409540
call fcn.0040ef00
call fcn.005127d9
call fcn.005127d9
call fcn.005127d9
call fcn.0040ef00
call fcn.005127d9
call fcn.005127d9
call fcn.0040ef00
call fcn.005127d9
call fcn.005127d9
call fcn.0040ef00
call fcn.005127d9
call fcn.005127d9
int3