Function at 0x402d00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f590f
mov eax, dword fs:[0]
push eax
sub esp, 0x2f8
mov eax, dword [0x5350e4]
xor eax, esp
mov dword [esp + 0x2f4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5350e4]
xor eax, esp
push eax
lea eax, [esp + 0x30c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x31c]
mov ebp, dword [esp + 0x320]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push 0x19
mov esi, edx
mov dword [esp + 0x5c], ecx
mov edi, 0xf
push 0x523704
lea ecx, [esp + 0xac]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
call fcn.00402140
mov dword [esp + 0x314], ebx
push ebx
push 0x5235c3
lea ecx, [esp + 0xc8]
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call fcn.00402140
mov byte [esp + 0x314], 1
push ebx
push 0x5235c3
lea ecx, [esp + 0x90]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
call fcn.00402140
mov byte [esp + 0x314], 2
push ebx
push 0x5235c3
lea ecx, [esp + 0xe4]
mov dword [esp + 0xfc], edi
mov dword [esp + 0xf8], ebx
mov byte [esp + 0xe8], bl
call fcn.00402140
push 0x52a1cc
mov byte [esp + 0x318], 3
push 0x52a1dc
mov dword [esp + 0x28], ebx
call dword [0x4f708c]
push eax
call dword [0x4f7264]
mov dword [0x53f5d0], eax
cmp eax, ebx
je 0x402e58
lea edx, [esp + 0x20]
push edx
call dword [0x4f7208]
push eax
call dword [0x53f5d0]
cmp dword [esp + 0x20], ebx
je 0x402e71
push 0x25
push 0x523720
lea ecx, [esp + 0xac]
call fcn.00402140
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402e76
sub eax, edx
push eax
push esi
lea eax, [esp + 0xac]
call fcn.00401d70
cmp dword [esp + 0xbc], 0x10
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x20], 0x80000001
jae 0x402ead
lea eax, [esp + 0xa8]
mov esi, dword [0x4f7000]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push 0x80000001
call esi
mov edi, dword [0x4f700c]
test eax, eax
jne 0x402f5c
push 0x103
lea edx, [esp + 0x205]
push ebx
push edx
mov byte [esp + 0x20c], bl
call 0x42d4b0
add esp, 0xc
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x204]
push ecx
lea edx, [esp + 0x70]
push edx
push ebx
push 0x5235c3
push eax
mov dword [esp + 0x6c], 0x104
mov dword [esp + 0x80], ebx
call edi
test eax, eax
jne 0x40300b
lea eax, [esp + 0x200]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402f31
sub eax, edx
push eax
lea ecx, [esp + 0x204]
push ecx
lea ecx, [esp + 0xc8]
call fcn.00402140
mov dword [esp + 0x20], 0x80000001
jmp 0x40300b
cmp dword [esp + 0xbc], 0x10
mov eax, dword [esp + 0xa8]
jae 0x402f74
lea eax, [esp + 0xa8]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push ebx
push eax
push 0x80000002
call esi
test eax, eax
jne 0x403016
push 0x103
lea edx, [esp + 0xfd]
push ebx
push edx
mov byte [esp + 0x104], bl
call 0x42d4b0
add esp, 0xc
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xfc]
push ecx
lea edx, [esp + 0x6c]
push edx
push ebx
push 0x5235c3
push eax
mov dword [esp + 0x78], 0x104
mov dword [esp + 0x7c], ebx
call edi
test eax, eax
jne 0x40300b
lea eax, [esp + 0xf8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x402fe5
sub eax, edx
push eax
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [esp + 0xc8]
call fcn.00402140
mov dword [esp + 0x20], 0x80000002
mov edx, dword [esp + 0x14]
push edx
call dword [0x4f7004]
push 5
xor ecx, ecx
lea esi, [esp + 0x3c]
lea edx, [esp + 0xc4]
call fcn.00401ce0
mov edi, 0x10
cmp dword [eax + 0x18], edi
jb 0x403039
mov eax, dword [eax + 4]
jmp 0x40303c
add eax, 4
mov esi, 0x523750
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x403061
cmp cl, bl
je 0x40305d
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x403061
add eax, 2
add esi, 2
cmp cl, bl
jne 0x403041
xor eax, eax
jmp 0x403066
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne byte [esp + 0x1b]
cmp dword [esp + 0x50], edi
jb 0x403080
mov eax, dword [esp + 0x3c]
push eax
call 0x41c6f0
add esp, 4
push 0xffffffffffffffff
cmp byte [esp + 0x1f], bl
je 0x4030a2
push ebx
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x94]
call fcn.00401e80
jmp 0x403489
mov ecx, 5
lea esi, [esp + 0x3c]
lea edx, [esp + 0xc4]
call fcn.00401ce0
mov byte [esp + 0x314], 4
cmp dword [eax + 0x18], edi
jb 0x4030c9
mov eax, dword [eax + 4]
jmp 0x4030cc
add eax, 4
lea edx, [esp + 0x2c]
push edx
mov ecx, eax
call fcn.00405820
mov byte [esp + 0x314], 6
cmp dword [esp + 0x50], edi
jb 0x4030f3
mov eax, dword [esp + 0x3c]
push eax
call 0x41c6f0
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x24], ebx
call 0x41c6fb
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x403121
push 0x80004005
call fcn.00401040
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x320], 7
call fcn.004058d0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x318], 8
call fcn.00405d10
mov byte [esp + 0x314], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403187
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
jmp 0x403190
push 0x5235c3
push edi
call 0x4277fe
add esp, 8
cmp eax, ebx
setne al
cmp al, bl
je 0x403273
xor eax, eax
cmp ebp, ebx
setne al
cmp eax, ebx
je 0x403117
push ebp
push edi
call 0x4277fe
add esp, 8
cmp eax, ebx
je 0x403387
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
call fcn.004058d0
mov byte [esp + 0x314], 9
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x403242
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x403230
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x403230
push eax
call fcn.00406180
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x403223
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebp + 0x10]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x28], edi
jmp 0x403242
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004060f0
mov edi, dword [esp + 0x28]
mov byte [esp + 0x314], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403190
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403190
mov esi, dword [esp + 0x34]
push ebx
mov ebp, 0xf
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push 0x5235c3
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00402140
lea eax, [edi - 0x10]
mov byte [esp + 0x314], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x314], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 0x10
cmp dword [esp + 0xf4], edi
jb 0x4032fc
mov ecx, dword [esp + 0xe0]
push ecx
call 0x41c6f0
add esp, 4
mov dword [esp + 0xf4], ebp
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0xa0], edi
jb 0x40332a
mov edx, dword [esp + 0x8c]
push edx
call 0x41c6f0
add esp, 4
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
cmp dword [esp + 0xd8], edi
jb 0x403358
mov eax, dword [esp + 0xc4]
push eax
call 0x41c6f0
add esp, 4
mov dword [esp + 0xd8], ebp
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
cmp dword [esp + 0xbc], edi
jb 0x403738
mov ecx, dword [esp + 0xa8]
push ecx
jmp 0x403730
cmp dword [esp + 0xbc], 0x10
mov eax, dword [esp + 0xa8]
jae 0x40339f
lea eax, [esp + 0xa8]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [0x4f7000]
test eax, eax
jne 0x40343d
push 0x103
lea ecx, [esp + 0xfd]
push ebx
push ecx
mov byte [esp + 0x104], bl
call 0x42d4b0
add esp, 0xc
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push ebp
push edx
mov dword [esp + 0x48], 0x104
mov dword [esp + 0x34], ebx
call dword [0x4f700c]
test eax, eax
jne 0x403432
lea eax, [esp + 0xf8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403414
sub eax, edx
push eax
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x90]
call fcn.00402140
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x4f7004]
lea eax, [edi - 0x10]
mov byte [esp + 0x314], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x314], 3
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403489
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x324], 1
jne 0x4035f2
push 0xc
push 0x52375c
lea ecx, [esp + 0xe4]
call fcn.00402140
push 1
push 0x52376c
lea ecx, [esp + 0x90]
push ecx
call fcn.004059b0
mov edi, eax
cmp edi, 0xffffffff
je 0x40366c
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [esp + 0x3c]
lea edx, [esp + 0x8c]
call fcn.00401ce0
mov ebp, 0x10
mov byte [esp + 0x314], 0xa
cmp dword [eax + 0x18], ebp
jb 0x4034f5
mov eax, dword [eax + 4]
jmp 0x4034f8
add eax, 4
lea edx, [esp + 0x24]
push edx
mov ecx, eax
call fcn.00405820
mov byte [esp + 0x314], 0xc
cmp dword [esp + 0x50], ebp
jb 0x40351f
mov eax, dword [esp + 0x3c]
push eax
call 0x41c6f0
add esp, 4
push edi
xor ecx, ecx
lea esi, [esp + 0x70]
lea edx, [esp + 0x8c]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00401ce0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x320], 0xd
call fcn.00401e80
mov byte [esp + 0x314], 0xc
cmp dword [esp + 0x84], ebp
jb 0x403578
mov ecx, dword [esp + 0x70]
push ecx
call 0x41c6f0
add esp, 4
mov eax, dword [esp + 0x8c]
cmp dword [esp + 0xa0], ebp
jae 0x40358f
lea eax, [esp + 0x8c]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x60]
push edx
push eax
call 0x417810
add esp, 0xc
cmp al, 1
jne 0x4035c1
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0xe8]
call fcn.00401e80
mov byte [esp + 0x314], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403671
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403671
push 1
push 0x52376c
lea ecx, [esp + 0x90]
push ecx
call fcn.004059b0
cmp eax, 0xffffffff
je 0x403655
push eax
xor ecx, ecx
lea esi, [esp + 0x70]
lea edx, [esp + 0x8c]
call fcn.00401ce0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x320], 0xe
call fcn.00401e80
mov byte [esp + 0x314], 3
cmp dword [esp + 0x84], 0x10
jb 0x403655
mov edx, dword [esp + 0x70]
push edx
call 0x41c6f0
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xe8]
call fcn.00401e80
mov ebp, 0x10
mov esi, dword [esp + 0x34]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xe4]
mov edi, 0xf
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00401e80
cmp dword [esp + 0xf4], ebp
jb 0x4036ae
mov edx, dword [esp + 0xe0]
push edx
call 0x41c6f0
add esp, 4
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov byte [esp + 0xe0], bl
cmp dword [esp + 0xa0], ebp
jb 0x4036dc
mov eax, dword [esp + 0x8c]
push eax
call 0x41c6f0
add esp, 4
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
cmp dword [esp + 0xd8], ebp
jb 0x40370a
mov ecx, dword [esp + 0xc4]
push ecx
call 0x41c6f0
add esp, 4
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebx
mov byte [esp + 0xc4], bl
cmp dword [esp + 0xbc], ebp
jb 0x403738
mov edx, dword [esp + 0xa8]
push edx
call 0x41c6f0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f4]
xor ecx, esp
call 0x42657e
add esp, 0x304
ret