Function at 0x417350
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47bef4
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x4a0144]
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 edi, ecx
lea ebx, [edi + 4]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x254], ebx
mov esi, dword [ebx]
mov ecx, ebx
mov dword [ebp - 4], 0
push dword [esi + 4]
call fcn.004183c0
mov eax, dword [ebx]
lea ecx, [ebp - 0x218]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 4], esi
mov eax, dword [ebx]
mov dword [eax], esi
mov eax, dword [ebx]
mov dword [eax + 8], esi
mov dword [ebx + 4], 0
push dword [edi + 0x1c]
call fcn.00415b10
push dword [eax]
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 1
call fcn.00407fb0
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 3
cmp eax, ecx
je 0x417401
push eax
call fcn.00461760
add esp, 4
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0x264]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
or ecx, 0xffffffff
mov dword [ebp - 0x260], ebx
test ebx, ebx
je 0x4180ba
call fcn.00409570
mov ecx, eax
test ecx, ecx
je 0x418104
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
mov byte [ebp - 4], 4
call fcn.00409570
mov ecx, eax
test ecx, ecx
je 0x41810e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x21c], edi
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x25c], eax
jle 0x41806f
nop dword [eax]
mov eax, dword [ebx + eax*4]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x114], ecx
test eax, eax
jne 0x4174a3
xor ebx, ebx
mov dword [ebp - 0x114], ebx
jmp 0x41751b
mov ecx, eax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4174b0
sub ecx, edx
sar ecx, 1
lea ebx, [ecx + 1]
test ebx, ebx
js 0x4180fa
cmp ebx, 0x80
jle 0x4174ef
push 2
push ebx
call fcn.00461819
mov ecx, eax
add esp, 8
mov dword [ebp - 0x114], ecx
test ecx, ecx
je 0x418118
jmp 0x4174fb
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x114], ecx
lea eax, [ebx + ebx]
push eax
push dword [ebp - 0x238]
push eax
push ecx
call fcn.0040f620
push eax
call fcn.00409220
mov ebx, dword [ebp - 0x114]
add esp, 0x14
mov byte [ebp - 4], 6
call fcn.00409570
mov ecx, eax
test ecx, ecx
je 0x418104
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 7
test ebx, ebx
je 0x417573
test ebx, 0xffff0000
jne 0x41755d
movzx eax, bx
lea ecx, [ebp - 0x230]
push eax
call fcn.00409720
jmp 0x417582
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417562
sub ecx, edx
sar ecx, 1
jmp 0x417575
xor ecx, ecx
push ecx
push ebx
lea ecx, [ebp - 0x230]
call fcn.0040d7f0
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 9
cmp eax, ecx
je 0x41759f
push eax
call fcn.00461760
add esp, 4
push 0x481a70
push dword [ebp - 0x230]
call fcn.00463563
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0x230]
test ecx, ecx
je 0x417cff
sub ecx, eax
sar ecx, 1
mov dword [ebp - 0x224], ecx
cmp ecx, 0xffffffff
je 0x417cff
xor ebx, ebx
test ecx, ecx
cmovns ebx, ecx
cmp ebx, dword [eax - 0xc]
jl 0x4175fe
add eax, 0xfffffff0
push eax
mov dword [ebp - 0x238], eax
call fcn.004092c0
add esp, 4
add eax, 0x10
mov dword [ebp - 0x248], eax
jmp 0x41763c
mov ecx, dword [eax - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 0x238], eax
test ecx, ecx
je 0x417617
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x417623
call fcn.00409570
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push ebx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
call fcn.00415a90
mov eax, dword [ebp - 0x248]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0xa
lea ebx, [eax - 0x10]
mov dword [ebp - 0x268], edx
cmp ebx, edx
je 0x4176ae
cmp dword [edx + 0xc], 0
lea esi, [edx + 0xc]
jl 0x417699
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x417699
push ebx
call fcn.004092c0
add esp, 4
mov dword [ebp - 0x22c], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41768e
mov esi, dword [ebp - 0x268]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x22c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x220], esi
jmp 0x4176ae
push dword [eax - 0xc]
lea ecx, [ebp - 0x220]
push eax
call fcn.0040d7f0
mov esi, dword [ebp - 0x220]
mov byte [ebp - 4], 9
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x4176c7
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, word [esi]
mov ebx, esi
push eax
call fcn.0046185d
add esp, 4
test eax, eax
je 0x4177bd
nop dword [eax]
movzx eax, word [ebx + 2]
add ebx, 2
push eax
call fcn.0046185d
add esp, 4
test eax, eax
jne 0x4176e0
cmp ebx, esi
je 0x4177bd
mov edx, dword [esi - 0xc]
sub ebx, esi
sar ebx, 1
test edx, edx
js 0x4180fa
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x41772e
push edx
lea ecx, [ebp - 0x220]
call fcn.0040d750
mov esi, dword [ebp - 0x220]
mov eax, dword [esi - 0xc]
lea edx, [esi + ebx*2]
sub eax, ebx
mov dword [ebp - 0x22c], eax
lea ecx, [eax*2 + 2]
test ecx, ecx
je 0x417792
test edx, edx
jne 0x417762
call fcn.00456202
mov dword [eax], 0x16
call fcn.00456129
mov eax, 0x16
jmp 0x417794
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
cmp eax, ecx
jae 0x417787
call fcn.00456202
mov dword [eax], 0x22
call fcn.00456129
mov eax, 0x22
jmp 0x417794
push ecx
push edx
push esi
call fcn.00452d10
add esp, 0xc
xor eax, eax
push eax
call fcn.00409220
mov eax, dword [ebp - 0x22c]
add esp, 4
test eax, eax
js 0x4180fa
cmp eax, dword [esi - 8]
jg 0x4180fa
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
movzx eax, word [esi]
xor ebx, ebx
mov dword [ebp - 0x22c], esi
test ax, ax
je 0x417842
mov ecx, eax
mov edi, esi
push ecx
call fcn.0046185d
add esp, 4
test eax, eax
je 0x4177e9
test ebx, ebx
mov eax, edi
cmovne eax, ebx
mov ebx, eax
jmp 0x4177eb
xor ebx, ebx
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x4177d1
mov edi, dword [ebp - 0x21c]
test ebx, ebx
je 0x417842
sub ebx, esi
sar ebx, 1
js 0x4180fa
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x417830
push ebx
lea ecx, [ebp - 0x220]
call fcn.0040d750
mov esi, dword [ebp - 0x220]
cmp ebx, dword [esi - 8]
jg 0x4180fa
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
mov eax, dword [ebp - 0x230]
xor ecx, ecx
mov ebx, dword [eax - 0xc]
mov eax, ebx
sub eax, dword [ebp - 0x224]
add eax, 0xffffffff
cmovns ecx, eax
mov dword [ebp - 0x224], ecx
cmp ecx, ebx
mov ecx, dword [ebp - 0x238]
jl 0x41787f
push ecx
call fcn.004092c0
add esp, 4
add eax, 0x10
mov dword [ebp - 0x24c], eax
jmp 0x4178bf
mov ecx, dword [ecx]
test ecx, ecx
je 0x41788e
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x41789a
call fcn.00409570
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x24c]
push eax
sub ebx, eax
mov eax, dword [ebp - 0x230]
lea eax, [eax + ebx*2]
push eax
call fcn.00415a90
mov eax, dword [ebp - 0x24c]
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0xb
lea ebx, [eax - 0x10]
mov dword [ebp - 0x224], edx
cmp ebx, edx
je 0x417931
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x41791c
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x41791c
push ebx
call fcn.004092c0
add esp, 4
mov dword [ebp - 0x22c], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x417911
mov edi, dword [ebp - 0x224]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x22c]
lea edi, [eax + 0x10]
mov dword [ebp - 0x21c], edi
jmp 0x417931
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
push eax
call fcn.0040d7f0
mov edi, dword [ebp - 0x21c]
mov byte [ebp - 4], 9
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x41794a
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
movzx eax, word [edi]
mov ebx, edi
push eax
call fcn.0046185d
add esp, 4
test eax, eax
je 0x417a3d
movzx eax, word [ebx + 2]
add ebx, 2
push eax
call fcn.0046185d
add esp, 4
test eax, eax
jne 0x417960
cmp ebx, edi
je 0x417a3d
mov edx, dword [edi - 0xc]
sub ebx, edi
sar ebx, 1
test edx, edx
js 0x4180fa
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or eax, ecx
jge 0x4179ae
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040d750
mov edi, dword [ebp - 0x21c]
mov eax, dword [edi - 0xc]
lea edx, [edi + ebx*2]
sub eax, ebx
mov dword [ebp - 0x224], eax
lea ecx, [eax*2 + 2]
test ecx, ecx
je 0x417a12
test edx, edx
jne 0x4179e2
call fcn.00456202
mov dword [eax], 0x16
call fcn.00456129
mov eax, 0x16
jmp 0x417a14
mov eax, dword [edi - 0xc]
lea eax, [eax*2 + 2]
cmp eax, ecx
jae 0x417a07
call fcn.00456202
mov dword [eax], 0x22
call fcn.00456129
mov eax, 0x22
jmp 0x417a14
push ecx
push edx
push edi
call fcn.00452d10
add esp, 0xc
xor eax, eax
push eax
call fcn.00409220
mov eax, dword [ebp - 0x224]
add esp, 4
test eax, eax
js 0x4180fa
cmp eax, dword [edi - 8]
jg 0x4180fa
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
movzx eax, word [edi]
xor ebx, ebx
mov dword [ebp - 0x224], edi
test ax, ax
je 0x417ac1
mov ecx, eax
nop
push ecx
call fcn.0046185d
add esp, 4
test eax, eax
je 0x417a68
test ebx, ebx
mov eax, edi
cmovne eax, ebx
mov ebx, eax
jmp 0x417a6a
xor ebx, ebx
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x417a50
mov edi, dword [ebp - 0x21c]
test ebx, ebx
je 0x417ac1
sub ebx, edi
sar ebx, 1
js 0x4180fa
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, ebx
or eax, ecx
jge 0x417aaf
push ebx
lea ecx, [ebp - 0x21c]
call fcn.0040d750
mov edi, dword [ebp - 0x21c]
cmp ebx, dword [edi - 8]
jg 0x4180fa
xor eax, eax
mov dword [edi - 0xc], ebx
mov word [edi + ebx*2], ax
cmp dword [edi - 0xc], 1
jg 0x417ade
lea eax, [edi - 0x10]
push eax
call fcn.004092c0
add esp, 4
add eax, 0x10
mov dword [ebp - 0x250], eax
jmp 0x417b0f
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x417aee
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x417afa
call fcn.00409570
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push 1
push edi
lea ecx, [ebp - 0x250]
call fcn.00415a90
mov eax, dword [ebp - 0x250]
mov ecx, dword [ebp - 0x228]
or ecx, 0xe
cmp dword [eax - 0xc], 1
mov dword [ebp - 0x228], ecx
jne 0x417b31
cmp word [eax], 0x22
jne 0x417b31
mov ebx, 1
jmp 0x417b33
xor ebx, ebx
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417b4b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x417c1b
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0x21c]
dec eax
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00418130
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0xc
call fcn.00408cc0
mov edx, dword [ebp - 0x26c]
or eax, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417b9c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x21c]
test ebx, ebx
je 0x417c1b
mov ebx, dword [edi - 0xc]
cmp ebx, 1
jg 0x417bc5
lea eax, [edi - 0x10]
push eax
call fcn.004092c0
add esp, 4
add eax, 0x10
mov dword [ebp - 0x240], eax
jmp 0x417bfc
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x417bd5
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x417be1
call fcn.00409570
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
lea eax, [ebx - 1]
push 1
lea eax, [edi + eax*2]
push eax
lea ecx, [ebp - 0x240]
call fcn.00415a90
mov eax, dword [ebp - 0x240]
mov edx, dword [ebp - 0x228]
or edx, 0x11
cmp dword [eax - 0xc], 1
mov dword [ebp - 0x228], edx
jne 0x417c27
cmp word [eax], 0x22
jne 0x417c27
mov bl, 1
jmp 0x417c29
mov eax, dword [ebp - 0x240]
mov edx, dword [ebp - 0x228]
xor bl, bl
test dl, 1
je 0x417c4f
and edx, 0xfffffffe
mov dword [ebp - 0x228], edx
lea edx, [eax - 0x10]
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x417c4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x417ed4
mov ecx, dword [edi - 0xc]
xor ebx, ebx
lea eax, [ecx - 1]
test eax, eax
cmovns ebx, eax
cmp ebx, ecx
jl 0x417c7f
add edi, 0xfffffff0
push edi
call fcn.004092c0
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x244], edi
jmp 0x417caf
mov ecx, dword [edi - 0x10]
test ecx, ecx
je 0x417c8f
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x417c9b
call fcn.00409570
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push ebx
push edi
lea ecx, [ebp - 0x244]
call fcn.00415a90
mov edi, dword [ebp - 0x244]
mov ebx, dword [ebp - 0x228]
lea eax, [ebp - 0x244]
or ebx, 0x20
mov byte [ebp - 4], 0xd
push eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x228], ebx
call fcn.00408cc0
mov byte [ebp - 4], 9
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x417ece
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x228], ebx
jmp 0x417ece
lea edx, [eax - 0x10]
lea edi, [esi - 0x10]
mov dword [ebp - 0x238], edx
cmp edx, edi
je 0x417d5d
cmp dword [edi + 0xc], 0
lea esi, [edi + 0xc]
jl 0x417d48
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x417d48
push edx
call fcn.004092c0
add esp, 4
mov ebx, eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x417d3d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea esi, [ebx + 0x10]
mov dword [ebp - 0x220], esi
jmp 0x417d5d
push dword [eax - 0xc]
lea ecx, [ebp - 0x220]
push eax
call fcn.0040d7f0
mov esi, dword [ebp - 0x220]
movzx eax, word [esi]
mov edi, esi
push eax
call fcn.0046185d
add esp, 4
test eax, eax
je 0x417e43
movzx eax, word [edi + 2]
add edi, 2
push eax
call fcn.0046185d
add esp, 4
test eax, eax
jne 0x417d73
cmp edi, esi
je 0x417e43
mov edx, dword [esi - 0xc]
sub edi, esi
sar edi, 1
test edx, edx
js 0x4180fa
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x417dc1
push edx
lea ecx, [ebp - 0x220]
call fcn.0040d750
mov esi, dword [ebp - 0x220]
mov eax, dword [esi - 0xc]
lea edx, [esi + edi*2]
mov ebx, eax
sub ebx, edi
lea ecx, [ebx*2 + 2]
test ecx, ecx
je 0x417e1e
test edx, edx
jne 0x417df1
call fcn.00456202
mov dword [eax], 0x16
call fcn.00456129
mov eax, 0x16
jmp 0x417e20
lea eax, [eax*2 + 2]
cmp eax, ecx
jae 0x417e13
call fcn.00456202
mov dword [eax], 0x22
call fcn.00456129
mov eax, 0x22
jmp 0x417e20
push ecx
push edx
push esi
call fcn.00452d10
add esp, 0xc
xor eax, eax
push eax
call fcn.00409220
add esp, 4
test ebx, ebx
js 0x4180fa
cmp ebx, dword [esi - 8]
jg 0x4180fa
xor eax, eax
mov dword [esi - 0xc], ebx
mov word [esi + ebx*2], ax
movzx eax, word [esi]
xor edi, edi
mov ebx, esi
test ax, ax
je 0x417ebc
mov ecx, eax
push ecx
call fcn.0046185d
add esp, 4
test eax, eax
je 0x417e69
test edi, edi
mov eax, ebx
cmovne eax, edi
mov edi, eax
jmp 0x417e6b
xor edi, edi
movzx eax, word [ebx + 2]
add ebx, 2
mov ecx, eax
test ax, ax
jne 0x417e51
test edi, edi
je 0x417ebc
sub edi, esi
sar edi, 1
js 0x4180fa
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x417eaa
push edi
lea ecx, [ebp - 0x220]
call fcn.0040d750
mov esi, dword [ebp - 0x220]
cmp edi, dword [esi - 8]
jg 0x4180fa
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
push 0
push 0x480c38
lea ecx, [ebp - 0x21c]
call fcn.0040d7f0
mov edi, dword [ebp - 0x21c]
lea eax, [esi - 0x10]
push eax
call fcn.004092c0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x234], eax
mov ebx, dword [eax - 0xc]
mov byte [ebp - 4], 0xe
test ebx, ebx
js 0x4180fa
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, ebx
or ecx, edx
jge 0x417f1b
push ebx
lea ecx, [ebp - 0x234]
call fcn.0040d750
mov eax, dword [ebp - 0x234]
lea ecx, [ebx + 1]
push ecx
push eax
call fcn.0045665e
mov eax, dword [ebp - 0x234]
add esp, 8
cmp ebx, dword [eax - 8]
jg 0x4180fa
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp - 0x234]
mov word [eax + ebx*2], cx
lea eax, [ebp - 0x234]
mov ebx, dword [ebp - 0x254]
mov ecx, ebx
push eax
lea eax, [ebp - 0x270]
push eax
call fcn.00418510
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x22c], eax
cmp eax, dword [ebx]
je 0x417fba
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x418104
mov edx, dword [ebp - 0x234]
mov bx, word [edx]
cmp bx, word [ecx]
jne 0x417fa8
test bx, bx
je 0x417fa4
mov bx, word [edx + 2]
cmp bx, word [ecx + 2]
jne 0x417fa8
add edx, 4
add ecx, 4
test bx, bx
jne 0x417f82
xor ecx, ecx
jmp 0x417fad
sbb ecx, ecx
or ecx, 1
shr ecx, 0x1f
test cl, cl
je 0x417fff
mov ebx, dword [ebp - 0x254]
lea eax, [ebp - 0x234]
mov ecx, ebx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x239]
push eax
lea eax, [ebp - 0x224]
push eax
push 0x481988
call fcn.00415510
push eax
add eax, 0x10
mov ecx, ebx
push eax
push dword [ebp - 0x22c]
lea eax, [ebp - 0x274]
push eax
call fcn.00415720
mov eax, dword [ebp - 0x274]
lea ecx, [eax + 0x14]
lea eax, [ebp - 0x21c]
push eax
call fcn.00408cc0
mov edx, dword [ebp - 0x234]
or ebx, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418032
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov eax, ebx
mov byte [ebp - 4], 5
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x418050
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x258]
mov ebx, dword [ebp - 0x260]
inc eax
mov dword [ebp - 0x258], eax
cmp eax, dword [ebp - 0x25c]
jl 0x417480
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
or ecx, 0xffffffff
mov byte [ebp - 4], 4
mov ebx, 1
add edi, 0xfffffff0
mov eax, ecx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x41809c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov byte [ebp - 4], 3
add esi, 0xfffffff0
mov eax, ecx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4180ba
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov eax, dword [ebp - 0x264]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4180dc
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.00429abf
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00403510
push 0x80004005
call fcn.00403510
push 0x80004005
call fcn.00403510
push 0x8007000e
call fcn.00403510
int3