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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x456178]
xor eax, esp
mov dword [esp + 0x118], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x2c]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [esp + 0x34], eax
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0xb4], ecx
mov ecx, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], ebx
call fcn.00424375
test al, al
jne 0x428839
mov eax, 0x80004001
jmp 0x42923b
xor eax, eax
mov byte [ebx], 0
and dword [esp + 0x54], eax
lea ecx, [esp + 0xac]
xor ebx, ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x50], ebx
call fcn.004318dd
push esi
lea ecx, [esp + 0xb0]
call fcn.00431904
mov esi, dword [esp + 0x2c]
and dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
test eax, 0xfffffffc
jle 0x4289fb
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
push 0x18
call fcn.0043453f
pop ecx
test eax, eax
je 0x4288af
mov ecx, eax
call fcn.00431cc5
mov esi, eax
jmp 0x4288b1
xor esi, esi
test esi, esi
je 0x4288ba
lea eax, [esi + 8]
jmp 0x4288bc
xor eax, eax
push eax
lea ecx, [esp + 0x3c]
call fcn.00408975
mov edx, dword [esp + 0x28]
lea eax, [esp + 0xac]
push edx
push dword [esp + 0x10]
mov ecx, esi
push eax
call fcn.00431d61
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0xc]
push 0x30
add ecx, dword [esi + eax*8]
mov dword [esp + 0x10], ecx
adc edx, dword [esi + eax*8 + 4]
mov dword [esp + 0x2c], edx
call fcn.0043453f
pop ecx
test eax, eax
je 0x42890f
mov ecx, eax
call fcn.00431975
mov esi, eax
jmp 0x428911
xor esi, esi
test esi, esi
je 0x42891a
lea eax, [esi + 8]
jmp 0x42891c
xor eax, eax
push eax
lea ecx, [esp + 0x44]
call fcn.00408975
lea ecx, [esp + 0x38]
call fcn.0040892a
push eax
mov ecx, esi
call fcn.0042e9b6
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x18]
push dword [ecx + eax*8 + 4]
push dword [ecx + eax*8]
mov ecx, esi
call fcn.00431a4c
lea eax, [esp + 0x40]
cmp eax, ebx
jae 0x42898c
mov ecx, eax
mov eax, dword [esp + 0x48]
cmp eax, ecx
ja 0x42898c
mov esi, ecx
sub esi, eax
sar esi, 2
cmp ebx, edi
jne 0x428983
push ecx
lea ecx, [esp + 0x50]
call fcn.00419b0e
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
test ebx, ebx
je 0x4289ba
lea eax, [eax + esi*4]
jmp 0x4289b2
cmp ebx, edi
jne 0x4289aa
push ecx
lea ecx, [esp + 0x50]
call fcn.00419b0e
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
test ebx, ebx
je 0x4289ba
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call fcn.004139f4
add ebx, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x50], ebx
call fcn.0040891e
lea ecx, [esp + 0x38]
call fcn.0040891e
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
inc esi
mov dword [esp + 0x1c], esi
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
sar eax, 2
cmp esi, eax
jl 0x428898
mov edi, dword [esp + 0x3c]
mov esi, ecx
mov dword [esp + 0x38], ebx
mov eax, dword [esi + 4]
lea ecx, [esp + 0xb8]
sub eax, dword [esi]
sar eax, 5
mov dword [esp + 0x1c], eax
call fcn.004284fd
lea edx, [esp + 0xb8]
mov ecx, esi
call fcn.00428575
cmp byte [edi], 0
je 0x428a41
lea edx, [edi + 4]
lea ecx, [esp + 0xb8]
call fcn.004286af
neg al
sbb al, al
inc al
je 0x428c74
lea ecx, [edi + 0x4c]
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
cmp esi, eax
je 0x428a6d
mov edi, eax
mov ecx, esi
call fcn.0040891e
add esi, 4
cmp esi, edi
jne 0x428a57
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
lea ecx, [edi + 0x48]
call fcn.0041834e
push 0x5c
call fcn.0043453f
pop ecx
test eax, eax
je 0x428a8f
mov ecx, eax
call fcn.0042a823
jmp 0x428a91
xor eax, eax
mov dword [edi + 0x40], eax
test eax, eax
je 0x428a9d
add eax, 8
jmp 0x428a9f
xor eax, eax
push eax
lea ecx, [edi + 0x48]
call fcn.0040893e
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x428ab4
add ecx, 0xc
jmp 0x428ab6
xor ecx, ecx
mov dword [edi + 0x44], ecx
lea edx, [esp + 0xb8]
mov eax, dword [ecx]
push edx
call dword [eax]
mov esi, eax
test esi, esi
jne 0x42920c
and dword [esp + 0x44], eax
cmp dword [esp + 0x1c], eax
jle 0x428c4d
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [eax]
add esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], esi
call fcn.00408918
lea ecx, [esp + 0x14]
call fcn.00408918
push ecx
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x18]
push eax
push dword [esi + 4]
lea edx, [esp + 0x1c]
push dword [esi]
call fcn.00431817
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x428fb9
lea ecx, [esp + 0x18]
call fcn.00408918
mov ecx, dword [esp + 0x24]
call fcn.004237cc
push ecx
test al, al
je 0x428b75
lea ecx, [esp + 0x14]
call fcn.0040896c
test al, al
jne 0x428fab
lea ecx, [esp + 0x10]
call fcn.0040892a
push eax
lea ecx, [esp + 0x1c]
call fcn.0040893e
lea ecx, [esp + 0x10]
call fcn.0040892a
mov ecx, dword [edi + 0x40]
push eax
call fcn.0042afdc
jmp 0x428bab
lea ecx, [esp + 0x18]
call fcn.0040896c
test al, al
jne 0x428fab
lea ecx, [esp + 0x14]
call fcn.0040892a
push eax
lea ecx, [esp + 0x1c]
call fcn.0040893e
lea ecx, [esp + 0x14]
call fcn.0040892a
mov ecx, dword [edi + 0x40]
push eax
call fcn.0042affd
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
call fcn.00419ab8
lea ecx, [esp + 0xc]
call fcn.00408918
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0xc]
mov edi, dword [esi]
call fcn.00401a5d
push eax
push 0x100f
mov ecx, esi
call dword [edi]
push ecx
lea ecx, [esp + 0x10]
call fcn.00408990
test al, al
je 0x428c07
lea ecx, [esp + 0xc]
call fcn.0040892a
push dword [esp + 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
jne 0x428fa0
lea ecx, [esp + 0xc]
call fcn.0040891e
lea ecx, [esp + 0x18]
call fcn.0040891e
lea ecx, [esp + 0x14]
call fcn.0040891e
lea ecx, [esp + 0x10]
call fcn.0040891e
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
inc eax
mov edi, dword [esp + 0x3c]
add ecx, 0x20
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], ecx
cmp eax, dword [esp + 0x1c]
jl 0x428ae3
lea eax, [esp + 0xb8]
push eax
lea ecx, [edi + 4]
call fcn.00429252
lea eax, [esp + 0xe8]
push eax
lea ecx, [edi + 0x34]
call fcn.0042949c
mov esi, dword [esp + 0x2c]
mov byte [edi], 1
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
and dword [esp + 0x44], eax
and dword [esp + 0x74], eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x1c], eax
jle 0x4290ea
lea ecx, [esp + 0xc]
call fcn.00401a5d
xor ecx, ecx
mov dword [esp + 0xa8], eax
xor edx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
mov eax, dword [esi]
mov esi, dword [edi + 0x4c]
add eax, edx
add esi, ecx
mov dword [esp + 0x34], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], esi
call fcn.00408918
mov ecx, dword [esi]
push dword [esp + 0xa8]
push 0x1004
mov eax, dword [ecx]
call dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.00408990
test al, al
je 0x428d34
mov ecx, dword [esp + 0x34]
add ecx, 8
call fcn.0041fbe3
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
ja 0x429071
lea ecx, [esp + 0xc]
call fcn.0040892a
mov ecx, dword [esp + 0x34]
mov esi, eax
push dword [esp + 0x20]
mov edi, dword [esi]
lea ecx, [ecx + 8]
call fcn.004193dc
push eax
mov ecx, esi
call dword [edi + 0x10]
mov esi, eax
test esi, esi
jne 0x429076
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0xc]
call fcn.0040891e
lea ecx, [esp + 0x14]
call fcn.00408918
mov esi, dword [esi]
lea ecx, [esp + 0x14]
mov edi, dword [esi]
call fcn.00401a5d
push eax
push 0x1007
mov ecx, esi
call dword [edi]
push ecx
lea ecx, [esp + 0x18]
call fcn.00408990
test al, al
je 0x428d88
lea ecx, [esp + 0x14]
call fcn.0040892a
push dword [ebp + 0x30]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
jne 0x4290dc
lea ecx, [esp + 0x10]
call fcn.00408918
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
mov esi, dword [esi]
mov edi, dword [esi]
call fcn.00401a5d
push eax
push 0x1012
mov ecx, esi
call dword [edi]
push ecx
lea ecx, [esp + 0x14]
call fcn.00408990
test al, al
je 0x428ee9
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x4290b2
and dword [esp + 0x11c], 0
lea edx, [esp + 0x10c]
xor eax, eax
mov dword [esp + 0x120], 7
mov word [esp + 0x10c], ax
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x4290a0
lea ecx, [esp + 0x88]
call fcn.00419343
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0xf4]
mov byte [eax], 1
lea eax, [esp + 0x10c]
push eax
call fcn.00401e5c
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x88]
lea edi, [eax + eax]
push edi
mov dword [esp + 0x24], edi
call fcn.00419375
cmp dword [esp + 0x104], esi
jle 0x428e8c
lea ecx, [esp + 0x88]
call fcn.004193dc
mov edx, eax
cmp dword [esp + 0x108], 8
lea ecx, [esp + 0xf4]
cmovae ecx, dword [esp + 0xf4]
movzx eax, word [ecx + esi*2]
mov byte [edx + esi*2], al
shr eax, 8
mov byte [edx + esi*2 + 1], al
inc esi
cmp esi, dword [esp + 0x104]
jl 0x428e5d
test edi, edi
je 0x428ebd
lea ecx, [esp + 0x10]
call fcn.0040892a
push dword [esp + 0x20]
mov esi, eax
lea ecx, [esp + 0x8c]
mov edi, dword [esi]
call fcn.004193dc
push eax
mov ecx, esi
call dword [edi + 0x10]
mov esi, eax
test esi, esi
jne 0x429084
push 0
push 1
lea ecx, [esp + 0xfc]
call fcn.00401751
lea ecx, [esp + 0x88]
call fcn.00419357
push 0
push 1
lea ecx, [esp + 0x114]
call fcn.00401751
lea ecx, [esp + 0x10]
call fcn.0040891e
mov ecx, dword [esp + 0x34]
add dword [esp + 0x28], 4
mov eax, dword [ecx + 0x18]
mov esi, dword [ecx + 0x1c]
xor ecx, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0x78]
push eax
mov dword [esp + 0x34], eax
call fcn.004295ca
push esi
lea ecx, [esp + 0x9c]
call fcn.004295ca
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x428f75
mov ebx, dword [esp + 0x44]
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x98]
lea eax, [eax + ebx*8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call fcn.00429577
inc ebx
dec esi
jne 0x428f4e
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x38]
xor esi, esi
cmp dword [esp + 0x30], esi
jbe 0x429010
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.00423861
test eax, eax
js 0x428fd0
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 0x24]
lea eax, [eax + ecx*8]
jmp 0x428fea
lea ecx, [esp + 0xc]
call fcn.0040891e
jmp 0x428fb0
mov esi, 0x80004001
lea ecx, [esp + 0x18]
call fcn.0040891e
lea ecx, [esp + 0x14]
call fcn.0040891e
lea ecx, [esp + 0x10]
call fcn.0040891e
jmp 0x42920c
mov eax, dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.004238c2
test eax, eax
js 0x4290c2
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + eax*8]
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x78]
lea eax, [esp + 0x20]
push eax
call fcn.00429577
mov eax, dword [esp + 0x18]
inc esi
inc eax
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x30]
jb 0x428f85
mov edi, dword [esp + 0x3c]
push dword [esp + 0x98]
mov esi, dword [esp + 0x78]
push dword [esp + 0x7c]
mov ecx, dword [edi + 0x44]
push esi
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [esp + 0x98]
call fcn.004087f0
lea ecx, [esp + 0x78]
call fcn.004087f0
lea ecx, [esp + 0x14]
call fcn.0040891e
mov edx, dword [esp + 0x24]
inc esi
add edx, 0x20
mov dword [esp + 0x74], esi
mov dword [esp + 0x24], edx
cmp esi, dword [esp + 0x1c]
jge 0x4290ea
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
jmp 0x428cb0
mov esi, 0x80004001
lea ecx, [esp + 0xc]
call fcn.0040891e
jmp 0x42920c
push 0
push 1
lea ecx, [esp + 0xfc]
call fcn.00401751
lea ecx, [esp + 0x88]
call fcn.00419357
push 0
push 1
lea ecx, [esp + 0x114]
call fcn.00401751
jmp 0x4290b7
mov esi, 0x80004005
lea ecx, [esp + 0x10]
call fcn.0040891e
jmp 0x4290dc
lea ecx, [esp + 0x98]
mov esi, 0x80004005
call fcn.004087f0
lea ecx, [esp + 0x78]
call fcn.004087f0
lea ecx, [esp + 0x14]
call fcn.0040891e
jmp 0x42920c
and dword [esp + 0x24], 0
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0xc0]
push dword [eax]
call fcn.0042a1a3
mov esi, eax
test esi, esi
jne 0x42920c
push dword [esp + 0x24]
mov ecx, dword [edi + 0x40]
call fcn.0042b01e
cmp dword [esp + 0x1c], esi
je 0x42920c
mov esi, dword [esp + 0x48]
xor eax, eax
sub ebx, esi
mov dword [esp + 0x5c], eax
sar ebx, 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
test ebx, ebx
jle 0x42917d
mov ecx, esi
call fcn.0040892a
mov dword [esp + 0x88], eax
lea ecx, [esp + 0x5c]
lea eax, [esp + 0x88]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x94], xmm0
call fcn.004295f8
add esi, 4
dec ebx
jne 0x42914c
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x68]
mov dword [esp + 0x88], eax
xor ebx, ebx
lea eax, [esp + 0x88]
mov dword [esp + 0x68], ebx
xorps xmm0, xmm0
mov dword [esp + 0x6c], ebx
push eax
mov dword [esp + 0x74], ebx
movlpd qword [esp + 0x94], xmm0
call fcn.004295f8
lea ecx, [edi + 0x48]
call fcn.0040892a
push dword [esp + 0xa4]
lea ecx, [esp + 0x6c]
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x64]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov esi, eax
cmp dword [esp + 0x68], ebx
je 0x4291f0
push dword [esp + 0x68]
call fcn.004342db
pop ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
cmp dword [esp + 0x5c], ebx
je 0x42920c
push dword [esp + 0x5c]
call fcn.004342db
pop ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0xe8]
call fcn.004087f0
lea ecx, [esp + 0xb8]
call fcn.0042852e
lea ecx, [esp + 0xac]
call fcn.004318f1
lea ecx, [esp + 0x4c]
call fcn.00419a84
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043341a
mov esp, ebp
pop ebp
ret 0x2c