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

Disassembly:
sub esp, 0x848
cmp dword [esp + 0x864], 0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x858]
push edi
mov ebp, ecx
je 0x42ad67
mov eax, dword [esp + 0x868]
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push eax
call dword [0x1008704c]
mov ebx, dword [0x10087048]
push 0
lea ecx, [esp + 0x28]
push ecx
push 0x40
lea edx, [esp + 0x18c]
mov edi, eax
push edx
push edi
call ebx
mov eax, dword [esp + 0x1bc]
push 0
push 0
push eax
push edi
call dword [0x10087118]
push 0
lea ecx, [esp + 0x28]
push ecx
push 0xf8
lea edx, [esp + 0x594]
push edx
push edi
call ebx
push edi
call dword [0x100871ec]
mov edi, dword [esp + 0x5d8]
mov ecx, dword [0x100a4ab0]
xor edx, edx
mov eax, edi
div ecx
mov ebx, dword [esp + 0x5bc]
mov dword [esp + 0x1c], ebx
test edx, edx
jne 0x42ab63
mov dword [esp + 0x14], edi
jmp 0x42ab6d
add eax, 1
imul eax, ecx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x70]
push eax
push 0x18
lea ecx, [esp + 0xd8]
push ecx
push 0
push esi
call dword [0x100a4b70]
mov ecx, dword [esp + 0xd4]
mov edi, dword [0x10087050]
lea edx, [esp + 0x38]
push edx
push 0x1d8
lea eax, [esp + 0x3b8]
push eax
push ecx
push esi
call edi
mov ecx, dword [esp + 0x3b8]
lea edx, [esp + 0x38]
push edx
push 0x40
lea eax, [esp + 0x148]
push eax
push ecx
push esi
call edi
mov ecx, dword [esp + 0x3b8]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x180]
push 0xf8
lea eax, [esp + 0x1c8]
push eax
add edx, ecx
push edx
push esi
call edi
mov ecx, dword [esp + 0x3b8]
mov edx, dword [esp + 0x17c]
mov edi, dword [0x10087130]
or word [esp + 0x21e], 0x100
xor eax, eax
mov dword [esp + 0x2a8], eax
mov dword [esp + 0x2ac], eax
lea eax, [esp + 0x10]
push eax
push 4
push 0xf8
add edx, ecx
push edx
push esi
call edi
mov edx, dword [esp + 0x3b8]
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x180]
push 0xf8
lea ecx, [esp + 0x1c8]
push ecx
add eax, edx
push eax
push esi
call dword [0x1008712c]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3b8]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x180]
push edx
push 0xf8
add ecx, eax
push ecx
push esi
call edi
mov edi, dword [esp + 0x210]
mov ecx, dword [0x100a4ab0]
xor edx, edx
mov eax, edi
div ecx
test edx, edx
jne 0x42ac90
mov eax, edi
jmp 0x42ac96
add eax, 1
imul eax, ecx
mov edx, dword [esp + 0x14]
lea ecx, [edx + ebx]
mov edx, dword [esp + 0x3b8]
xor edi, edi
cmp ecx, edx
mov dword [esp + 0x18], edi
jbe 0x42ace5
add eax, edx
cmp ebx, eax
jae 0x42ace5
cmp ebx, edx
jae 0x42acd0
cmp edx, ecx
ja 0x42acd0
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], edx
cmp eax, ecx
jae 0x42acf9
mov dword [esp + edi*4 + 0x40], eax
mov dword [esp + edi*4 + 0x4c], ecx
add edi, 1
mov dword [esp + 0x18], edi
jmp 0x42acf9
mov dword [esp + 0x18], 1
mov edi, dword [esp + 0x18]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ecx
xor eax, eax
test edi, edi
mov dword [esp + 0x14], eax
jle 0x42ad63
jmp 0x42ad14
mov eax, dword [esp + 0x14]
mov edi, dword [esp + eax*4 + 0x40]
mov ebx, dword [esp + eax*4 + 0x4c]
push 1
push 0x2000
sub ebx, edi
push ebx
push edi
push esi
call dword [0x10087128]
test eax, eax
je 0x42b069
push 0x40
push 0x1000
push ebx
push edi
push esi
call dword [0x10087128]
test eax, eax
je 0x42b069
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jl 0x42ad10
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], ebx
mov eax, dword [0x100a4bac]
push 0
push 0
push 0
push 4
push eax
call dword [0x1008720c]
push 0
push 1
push 0
push 0
mov ebx, eax
push 0
push ebx
push esi
call fcn.00447120
add esp, 0x1c
push ebx
mov edi, eax
call dword [0x10087208]
test edi, edi
je 0x42b069
push 0x10088a44
push edi
push esi
call fcn.00446ae0
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
je 0x42b069
lea ecx, [esp + 0x78]
push 0x58
push ecx
call fcn.0043e760
mov edx, dword [esp + 0x86c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x880]
add esp, 8
push 2
push 1
push 0
mov dword [esp + 0xa0], edx
lea edx, [esp + 0x90]
push edx
mov dword [esp + 0xb4], eax
mov eax, dword [0x100a4bac]
push esi
push eax
mov dword [esp + 0xa0], edi
mov dword [esp + 0xc0], ecx
call dword [0x10087220]
push eax
call dword [0x100871fc]
test eax, eax
je 0x42b069
mov eax, dword [0x100a48b0]
test eax, eax
mov ecx, dword [esp + 0x88c]
mov edx, dword [esp + 0x890]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
je 0x42ae8f
push 4
push 0x101000
push eax
call dword [0x10087120]
mov ebx, dword [0x10087128]
add eax, 1
push eax
push 0
push esi
call ebx
mov ecx, dword [0x100a48b0]
mov edi, eax
lea eax, [esp + 0x20]
push eax
push ecx
call dword [0x10087120]
mov edx, dword [0x100a48b0]
add eax, 1
push eax
push edx
push edi
push esi
call dword [0x1008712c]
jmp 0x42ae97
mov ebx, dword [0x10087128]
xor edi, edi
mov ecx, dword [0x100a4910]
mov dword [esp + 0x8c], edi
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov edi, dword [0x100870cc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x868]
test eax, eax
mov dword [esp + 0x7c], edx
je 0x42af0a
push 4
push 0x101000
push eax
call edi
lea eax, [eax + eax + 2]
push eax
push 0
push esi
call ebx
mov edx, dword [esp + 0x868]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x18], eax
call edi
mov ecx, dword [esp + 0x86c]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax + 2]
push eax
push ecx
push edx
push esi
call dword [0x1008712c]
mov eax, dword [esp + 0x10]
jmp 0x42af0c
xor eax, eax
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x86c]
test eax, eax
je 0x42af64
push 4
push 0x101000
push eax
call edi
lea eax, [eax + eax + 2]
push eax
push 0
push esi
call ebx
mov edx, dword [esp + 0x86c]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x18], eax
call edi
mov ecx, dword [esp + 0x870]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax + 2]
push eax
push ecx
push edx
push esi
call dword [0x1008712c]
mov eax, dword [esp + 0x10]
jmp 0x42af66
xor eax, eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x870]
test eax, eax
je 0x42afbe
push 4
push 0x101000
push eax
call edi
lea eax, [eax + eax + 2]
push eax
push 0
push esi
call ebx
mov edx, dword [esp + 0x870]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x18], eax
call edi
mov ecx, dword [esp + 0x874]
mov edx, dword [esp + 0x14]
lea eax, [eax + eax + 2]
push eax
push ecx
push edx
push esi
call dword [0x1008712c]
mov eax, dword [esp + 0x10]
jmp 0x42afc0
xor eax, eax
mov dword [esp + 0xa0], eax
xor eax, eax
push 0x200
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0xff
call fcn.0043e8a0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0
mov word [eax], 0
mov eax, dword [0x100a48a8]
add esp, 8
test eax, eax
je 0x42b00f
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.00447af0
add esp, 8
cmp dword [esp + 0x2c], 0
je 0x42b078
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x10], eax
je 0x42b078
push 4
push 0x101000
push eax
call edi
lea edx, [eax + eax + 2]
push edx
push 0
push esi
call ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push ecx
call edi
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax + 2]
mov eax, dword [esp + 0x14]
push edx
push eax
push ecx
push esi
call dword [0x1008712c]
test eax, eax
jne 0x42b080
lea ecx, [esp + 0x28]
call fcn.004248d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x848
ret 0x38
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov edi, dword [0x10087220]
push 2
push 1
push 0
lea eax, [esp + 0x54]
push eax
push esi
mov dword [esp + 0xc4], edx
call edi
push eax
call edi
push eax
call dword [0x100871fc]
test eax, eax
jne 0x42b0cd
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42b069
push eax
call fcn.0043e950
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x848
ret 0x38
mov ecx, dword [esp + 0x48]
push 0
push 0
push 0
push 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x4c], 0xffffffff
call dword [0x10087124]
push 2
push 1
push 0
lea edx, [esp + 0x60]
push edx
push esi
push eax
mov dword [esp + 0x3c], eax
call edi
push eax
call dword [0x100871fc]
test eax, eax
je 0x42b060
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x6c]
push ecx
push 0x18
lea edx, [esp + 0xf0]
push edx
push 0
push esi
mov dword [esp + 0xc8], eax
call dword [0x100a4b70]
mov edx, dword [esp + 0xec]
mov edi, dword [0x10087050]
lea eax, [esp + 0x14]
push eax
push 0x1d8
lea ecx, [esp + 0x688]
push ecx
push edx
push esi
call edi
mov edx, dword [esp + 0x688]
lea eax, [esp + 0x14]
push eax
push 0x40
lea ecx, [esp + 0x108]
push ecx
push edx
push esi
call edi
mov edx, dword [esp + 0x688]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x140]
push 0xf8
lea ecx, [esp + 0x2c0]
push ecx
add eax, edx
push eax
push esi
call edi
mov ecx, dword [esp + 0x3a0]
mov edx, dword [esp + 0x3a4]
mov edi, dword [0x10087130]
xor eax, eax
mov dword [esp + 0x3a0], eax
mov dword [esp + 0x3a4], eax
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0x140]
push 4
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x690]
push 0xf8
add edx, ecx
push edx
push esi
call edi
mov edx, dword [esp + 0x688]
lea eax, [esp + 0x74]
push eax
mov eax, dword [esp + 0x140]
push 0xf8
lea ecx, [esp + 0x2c0]
push ecx
add eax, edx
push eax
push esi
call dword [0x1008712c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x688]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x140]
push edx
push 0xf8
add ecx, eax
push ecx
push esi
call edi
push 4
push 0x101000
push 0x58
push 0
push esi
call ebx
lea edx, [esp + 0x20]
push edx
mov ebx, eax
push 0x58
lea eax, [esp + 0x80]
push eax
push ebx
push esi
call dword [0x1008712c]
test eax, eax
je 0x42b060
push esi
call fcn.00446380
mov edi, eax
add esp, 4
test edi, edi
je 0x42b060
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x884]
lea ecx, [esp + 0x3c]
push ecx
push 0
push ebx
push edx
push eax
push 0
push esi
call dword [0x100870ac]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x42b060
mov eax, dword [esp + 0x880]
test eax, eax
je 0x42b2b2
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [0x100a4870]
test ecx, ecx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
je 0x42b2ea
mov eax, dword [ecx + 0x66c]
push 0
push 0
push 1
add ecx, 0x66c
lea edx, [esp + 0x64]
push edx
mov edx, dword [eax + 0x24]
push 2
call edx
call eax
jmp 0x42b2fb
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
push eax
push 2
call dword [0x10087074]
test eax, eax
jne 0x42b060
mov ecx, dword [0x100a4910]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push edi
call eax
mov ecx, dword [0x100a4870]
mov edx, dword [ecx + 0x2ac]
mov eax, dword [edx + 0x24]
add ecx, 0x2ac
push ebx
call eax
call eax
push 8
mov ecx, ebp
call fcn.0042a940
test eax, eax
je 0x42b449
push 0xffffffffffffffff
lea ecx, [esp + 0x3b]
lea esi, [ebp + 8]
push ecx
mov ecx, esi
mov dword [esp + 0x6c], esi
call fcn.004289d0
test al, al
je 0x42b35b
add dword [esi + 0x10], 1
mov al, 1
test al, al
mov ebx, dword [ebp + 0x20]
je 0x42b39e
add dword [esi + 0x10], 0xffffffff
jne 0x42b39e
push 0
lea edx, [esi + 8]
push edx
mov dword [esi + 0x10], 0
call dword [0x100870c0]
mov eax, dword [esi + 0xc]
add esi, 0xc
test eax, eax
jle 0x42b39e
push esi
call dword [0x10087078]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 0x14]
push 0
push 1
push edx
call dword [0x100870bc]
push ebx
push 1
push edi
mov ecx, ebp
call fcn.00424fc0
push 3
mov ecx, ebp
call fcn.0042a940
push eax
push 3
push edi
mov ecx, ebp
call fcn.00424fc0
push 4
mov ecx, ebp
call fcn.0042a940
push eax
push 4
push edi
mov ecx, ebp
call fcn.00424fc0
push 5
mov ecx, ebp
call fcn.0042a940
push eax
push 5
push edi
mov ecx, ebp
call fcn.00424fc0
push 6
mov ecx, ebp
call fcn.0042a940
push eax
push 6
push edi
mov ecx, ebp
call fcn.00424fc0
push 7
mov ecx, ebp
call fcn.0042a940
push eax
push 7
push edi
mov ecx, ebp
call fcn.00424fc0
push 8
mov ecx, ebp
call fcn.0042a940
push eax
push 8
push edi
mov ecx, ebp
call fcn.00424fc0
push 9
mov ecx, ebp
call fcn.0042a940
push eax
push 9
push edi
mov ecx, ebp
call fcn.00424fc0
push 0xb
mov ecx, ebp
call fcn.0042a940
push eax
push 0xb
push edi
mov ecx, ebp
call fcn.00424fc0
cmp dword [esp + 0x888], 0
mov esi, dword [esp + 0x1c]
je 0x42b45e
push esi
call dword [0x1008706c]
mov eax, dword [esp + 0x87c]
test eax, eax
je 0x42b486
lea ecx, [esp + 0x28]
mov dword [eax], esi
call fcn.004248d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x848
ret 0x38
mov ecx, dword [0x100a4870]
mov eax, dword [ecx + 0x2ac]
mov edx, dword [eax + 0x24]
add ecx, 0x2ac
push esi
call edx
call eax
lea ecx, [esp + 0x28]
call fcn.004248d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x848
ret 0x38