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

Disassembly:
push 0xffffffffffffffff
push 0x42f9c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x28], ecx
mov ebx, 6
xor esi, esi
mov dword [esp + 0xea4], ebx
mov dword [esp + 0x20], esi
call fcn.00421082
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0xea4], 7
call fcn.00421082
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
or edx, 0xffffffff
mov dword [esp + 0x8c], esi
mov esi, 0xfffffffe
mov ebp, 3
xor eax, eax
mov dword [esp + 0x94], ebp
mov dword [esp + 0xac], edx
mov dword [esp + 0x90], esi
mov dword [esp + 0x98], 1
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], 2
mov dword [esp + 0xa8], esi
mov ecx, 0x5b
lea edi, [esp + 0xb0]
rep stosd dword es:[edi], eax
mov dword [esp + 0x21c], ebp
mov dword [esp + 0x224], ebp
mov dword [esp + 0x230], edx
mov dword [esp + 0x238], edx
mov ebp, 4
mov edx, 9
mov dword [esp + 0x240], eax
mov ecx, 0x52
lea edi, [esp + 0x264]
mov dword [esp + 0x220], ebx
mov dword [esp + 0x228], ebp
mov dword [esp + 0x22c], ebx
mov dword [esp + 0x234], 5
mov dword [esp + 0x23c], edx
mov dword [esp + 0x244], esi
mov dword [esp + 0x248], 0xc
mov dword [esp + 0x24c], 1
mov dword [esp + 0x250], esi
mov dword [esp + 0x254], 0xf
mov dword [esp + 0x258], 2
mov dword [esp + 0x25c], esi
mov dword [esp + 0x260], 0xffffffff
rep stosd dword es:[edi], eax
mov eax, 3
mov dword [esp + 0x3ac], eax
mov dword [esp + 0x3b4], eax
or eax, 0xffffffff
mov byte [esp + 0xea4], 8
mov dword [esp + 0x3b0], ebx
mov dword [esp + 0x3b8], ebp
mov dword [esp + 0x3bc], ebx
mov dword [esp + 0x3c0], eax
mov dword [esp + 0x3c4], ebx
mov dword [esp + 0x3c8], esi
mov dword [esp + 0x3e4], eax
xor eax, eax
mov dword [esp + 0x3cc], edx
mov dword [esp + 0x3d0], 1
mov dword [esp + 0x3d4], esi
mov dword [esp + 0x3d8], 0xc
mov dword [esp + 0x3dc], 2
mov dword [esp + 0x3e0], esi
mov ecx, 0x55
lea edi, [esp + 0x3e8]
rep stosd dword es:[edi], eax
mov eax, 3
mov dword [esp + 0x540], eax
mov dword [esp + 0x544], eax
xor eax, eax
mov dword [esp + 0x53c], 7
mov dword [esp + 0x548], 0
mov dword [esp + 0x54c], esi
mov dword [esp + 0x550], ebx
mov dword [esp + 0x554], 1
mov dword [esp + 0x558], esi
mov dword [esp + 0x55c], edx
mov dword [esp + 0x560], 2
mov dword [esp + 0x564], esi
mov dword [esp + 0x568], 0xffffffff
mov ecx, 0x58
lea edi, [esp + 0x56c]
rep stosd dword es:[edi], eax
mov eax, 3
mov dword [esp + 0x6cc], eax
mov dword [esp + 0x6d4], eax
or eax, 0xffffffff
mov dword [esp + 0x6e0], eax
mov dword [esp + 0x704], eax
xor eax, eax
mov dword [esp + 0x6d8], ebp
mov dword [esp + 0x6d0], ebx
mov dword [esp + 0x6dc], ebx
mov dword [esp + 0x6e4], 0
mov dword [esp + 0x6e8], esi
mov dword [esp + 0x6ec], edx
mov dword [esp + 0x6f0], 1
mov dword [esp + 0x6f4], esi
mov dword [esp + 0x6f8], 0xc
mov dword [esp + 0x6fc], 2
mov dword [esp + 0x700], esi
mov ecx, 0x55
lea edi, [esp + 0x708]
rep stosd dword es:[edi], eax
mov dword [esp + 0x85c], ebx
mov dword [esp + 0x860], esi
mov dword [esp + 0x864], 3
mov dword [esp + 0x868], 1
mov dword [esp + 0x86c], esi
mov dword [esp + 0x870], ebx
mov dword [esp + 0x874], 2
mov dword [esp + 0x878], esi
mov dword [esp + 0x87c], 0xffffffff
mov ecx, 0x5b
lea edi, [esp + 0x880]
rep stosd dword es:[edi], eax
mov dword [esp + 0x9f8], ebp
or ebp, 0xffffffff
mov ecx, 0x55
lea edi, [esp + 0xa28]
mov dword [esp + 0x9ec], 8
mov dword [esp + 0x9f0], ebx
mov dword [esp + 0x9f4], 3
mov dword [esp + 0x9fc], ebx
mov dword [esp + 0xa00], ebp
mov dword [esp + 0xa04], eax
mov dword [esp + 0xa08], esi
mov dword [esp + 0xa0c], edx
mov dword [esp + 0xa10], 1
mov dword [esp + 0xa14], esi
mov dword [esp + 0xa18], 0xc
mov dword [esp + 0xa1c], 2
mov dword [esp + 0xa20], esi
mov dword [esp + 0xa24], ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0xb7c], edx
mov dword [esp + 0xb80], ebp
mov dword [esp + 0xb9c], ebp
mov dword [esp + 0xb84], 3
mov dword [esp + 0xb88], 1
mov dword [esp + 0xb8c], esi
mov dword [esp + 0xb90], ebx
mov dword [esp + 0xb94], 2
mov dword [esp + 0xb98], esi
mov ecx, 0x5b
lea edi, [esp + 0xba0]
rep stosd dword es:[edi], eax
mov dword [esp + 0xd2c], ebp
mov ebp, dword [esp + 0xed0]
test ebp, ebp
mov ecx, 0x5b
lea edi, [esp + 0xd30]
mov dword [esp + 0xd0c], 0xa
mov dword [esp + 0xd10], esi
mov dword [esp + 0xd14], 3
mov dword [esp + 0xd18], 0xb
mov dword [esp + 0xd1c], esi
mov dword [esp + 0xd20], ebx
mov dword [esp + 0xd24], 2
mov dword [esp + 0xd28], esi
rep stosd dword es:[edi], eax
jl 0x4051d8
cmp ebp, edx
jge 0x4051d8
test ebp, ebp
mov edi, dword [esp + 0xeb0]
jne 0x404ac2
lea eax, [esp + 0xeac]
push eax
lea ecx, [esp + 0x14]
call fcn.00402dd0
mov dword [esp + 0x18], edi
jmp 0x404ade
lea ecx, [esp + 0xec0]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402dd0
mov edx, dword [esp + 0xecc]
mov dword [esp + 0x18], edx
cmp edi, 0x15
je 0x404b3c
push 0x431758
lea eax, [esp + 0xeb0]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00401f60
mov eax, dword [eax]
push edi
push eax
lea edx, [esp + 0xec0]
push edx
mov byte [esp + 0xebc], 9
call fcn.00402e40
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0xea4], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x2c], esp
mov dword [esp + 0x24], esp
push edi
call fcn.00401200
mov ecx, dword [esp + 0x28]
add eax, 0x10
mov dword [ecx], eax
mov ecx, dword [esp + 0x34]
add esp, 4
call fcn.00403240
test eax, eax
jne 0x404b93
mov byte [esp + 0xea4], 7
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4051fe
mov ecx, dword [edi]
push edi
jmp 0x4051f9
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x431685
call fcn.00403450
mov ecx, dword [esp + 0x2c]
call fcn.004035b0
test eax, eax
jne 0x404bd4
mov byte [esp + 0xea4], 7
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4051fe
mov ecx, dword [edi]
push edi
jmp 0x4051f9
mov eax, ebp
imul eax, eax, 0x64
mov dword [esp + 0x18], eax
mov bl, 0x1b
nop
mov ebp, dword [esp + 0x20]
add eax, ebp
mov eax, dword [esp + eax*4 + 0x8c]
cmp eax, 0xb
ja case.default.0x404bf6
jmp dword [eax*4 + 0x405364]
lea eax, [esp + 0xeb4]
push eax
lea ecx, [esp + 0x20]
push 0x431750
push ecx
call fcn.00402f10
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0xa
call fcn.00402dd0
lea ecx, [esp + 0x1c]
jmp 0x405077
lea edx, [esp + 0xeb8]
push edx
lea eax, [esp + 0x54]
push 0x431748
push eax
call fcn.00402f10
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0xb
call fcn.00402dd0
lea ecx, [esp + 0x50]
jmp 0x405077
lea ecx, [esp + 0xebc]
push ecx
lea edx, [esp + 0x88]
push 0x431740
push edx
call fcn.00402f10
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0xc
call fcn.00402dd0
lea ecx, [esp + 0x84]
jmp 0x405077
lea eax, [esp + 0xec4]
push eax
lea ecx, [esp + 0x64]
push 0x431750
push ecx
call fcn.00402f10
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0xd
call fcn.00402dd0
lea ecx, [esp + 0x60]
jmp 0x405077
lea edx, [esp + 0xec8]
push edx
lea eax, [esp + 0x3c]
push 0x431748
push eax
call fcn.00402f10
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0xe
call fcn.00402dd0
lea ecx, [esp + 0x38]
jmp 0x405077
lea ecx, [esp + 0xeac]
push ecx
lea edx, [esp + 0x7c]
push 0x431738
push edx
call fcn.00402f10
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0xf
call fcn.00402dd0
lea ecx, [esp + 0x78]
jmp 0x405077
lea eax, [esp + 0xeb4]
push eax
lea ecx, [esp + 0x4c]
push 0x431750
push ecx
call fcn.00402f10
push 0x431734
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0xebc], 0x10
call fcn.00401f60
lea ecx, [esp + 0xec4]
push ecx
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0xec8], 0x11
call fcn.00402e60
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0x12
call fcn.00402dd0
lea ecx, [esp + 0x40]
call fcn.00401190
lea ecx, [esp + 0x68]
call fcn.00401190
lea ecx, [esp + 0x48]
jmp 0x405077
lea eax, [esp + 0xeac]
push eax
lea ecx, [esp + 0x8c]
push 0x43172c
push ecx
call fcn.00402f10
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0x13
call fcn.00402dd0
lea ecx, [esp + 0x88]
jmp 0x405077
lea edx, [esp + 0xec4]
push edx
lea eax, [esp + 0x5c]
push 0x431750
push eax
call fcn.00402f10
push 0x431734
push eax
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0xebc], 0x14
call fcn.00401f60
lea edx, [esp + 0xec4]
push edx
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0xec8], 0x15
call fcn.00402e60
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0x16
call fcn.00402dd0
lea ecx, [esp + 0x2c]
call fcn.00401190
lea ecx, [esp + 0x70]
call fcn.00401190
lea ecx, [esp + 0x58]
jmp 0x405077
lea ecx, [esp + 0xeb4]
push ecx
lea edx, [esp + 0x48]
push 0x431750
push edx
call fcn.00402f10
push 0x431734
push eax
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0xebc], 0x17
call fcn.00401f60
lea ecx, [esp + 0xec4]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0xec8], 0x18
call fcn.00402e60
push 0x431728
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0xed4], 0x19
call fcn.00401f60
lea ecx, [esp + 0xef4]
push ecx
push eax
lea edx, [esp + 0xb8]
push edx
mov byte [esp + 0xee0], 0x1a
call fcn.00402e60
add esp, 0x3c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], bl
call fcn.00402dd0
lea ecx, [esp + 0x80]
call fcn.00401190
lea ecx, [esp + 0x30]
call fcn.00401190
lea ecx, [esp + 0x34]
call fcn.00401190
lea ecx, [esp + 0x3c]
call fcn.00401190
lea ecx, [esp + 0x44]
jmp 0x405077
lea eax, [esp + 0xeb4]
push eax
lea ecx, [esp + 0x70]
push 0x431750
push ecx
call fcn.00402f10
push 0x431734
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0xebc], 0x1c
call fcn.00401f60
lea ecx, [esp + 0xedc]
push ecx
push eax
lea edx, [esp + 0x7c]
push edx
mov byte [esp + 0xec8], 0x1d
call fcn.00402e60
push 0x431734
push eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xed4], 0x1e
call fcn.00401f60
lea ecx, [esp + 0xedc]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0xee0], 0x1f
call fcn.00402e60
add esp, 0x3c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0x20
call fcn.00402dd0
lea ecx, [esp + 0x4c]
call fcn.00401190
lea ecx, [esp + 0x54]
call fcn.00401190
lea ecx, [esp + 0x5c]
call fcn.00401190
lea ecx, [esp + 0x64]
call fcn.00401190
lea ecx, [esp + 0x6c]
jmp 0x405077
lea eax, [esp + 0xeb8]
push eax
lea ecx, [esp + 0x28]
push 0x431748
push ecx
call fcn.00402f10
push 0x431734
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0xebc], 0x21
call fcn.00401f60
lea ecx, [esp + 0xee0]
push ecx
push eax
lea edx, [esp + 0x94]
push edx
mov byte [esp + 0xec8], 0x22
call fcn.00402e60
add esp, 0x24
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xea8], 0x23
call fcn.00402dd0
lea ecx, [esp + 0x74]
call fcn.00401190
lea ecx, [esp + 0x7c]
call fcn.00401190
lea ecx, [esp + 0x24]
mov byte [esp + 0xea4], 8
call fcn.00401190
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00401200
add eax, 0x10
mov dword [edi], eax
mov edi, dword [esp + 0x30]
add esp, 4
mov ecx, edi
call fcn.00403050
test eax, eax
je 0x4050fd
mov ecx, edi
call fcn.00403530
test eax, eax
je 0x4050fd
mov eax, dword [edi + 0x28]
cmp eax, 2
je 0x4050c7
cmp eax, 3
jne 0x4050fd
mov ecx, dword [esp + 0x18]
add eax, ecx
add eax, ebp
mov eax, dword [esp + eax*4 + 0x88]
cmp eax, esi
mov dword [esp + 0x20], eax
je 0x405168
cmp eax, 0xffffffff
je 0x4050ee
mov eax, ecx
jmp 0x404be0
push 0x43171c
mov ecx, 0x4401a4
call fcn.00402020
lea ecx, [esp + 0x10]
call fcn.00401190
lea ecx, [esp + 0x14]
call fcn.00401190
lea ecx, [esp + 0xeac]
call fcn.00401190
lea ecx, [esp + 0xeb4]
call fcn.00401190
lea ecx, [esp + 0xeb8]
call fcn.00401190
lea ecx, [esp + 0xebc]
call fcn.00401190
lea ecx, [esp + 0xec0]
call fcn.00401190
lea ecx, [esp + 0xec4]
call fcn.00401190
lea ecx, [esp + 0xec8]
call fcn.00401190
jmp 0x405345
lea ecx, [esp + 0x10]
call fcn.00401190
lea ecx, [esp + 0x14]
call fcn.00401190
lea ecx, [esp + 0xeac]
call fcn.00401190
lea ecx, [esp + 0xeb4]
call fcn.00401190
lea ecx, [esp + 0xeb8]
call fcn.00401190
lea ecx, [esp + 0xebc]
call fcn.00401190
lea ecx, [esp + 0xec0]
call fcn.00401190
lea ecx, [esp + 0xec4]
call fcn.00401190
lea ecx, [esp + 0xec8]
call fcn.00401190
mov eax, 1
jmp 0x405347
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xea4], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4051fe
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xea4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405223
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xeac]
add eax, 0xfffffff0
mov byte [esp + 0xea4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40524c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xeb4]
add eax, 0xfffffff0
mov byte [esp + 0xea4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405275
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xeb8]
add eax, 0xfffffff0
mov byte [esp + 0xea4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40529e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xebc]
add eax, 0xfffffff0
mov byte [esp + 0xea4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xec0]
add eax, 0xfffffff0
mov byte [esp + 0xea4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4052f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xec4]
add eax, 0xfffffff0
mov byte [esp + 0xea4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405319
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xec8]
add eax, 0xfffffff0
mov dword [esp + 0xea4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405345
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0xe9c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xe98
ret 0x28