Function at 0x4287b2
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.00424355
test al, al
jne 0x428819
mov eax, 0x80004001
jmp 0x42921b
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.004318bd
push esi
lea ecx, [esp + 0xb0]
call fcn.004318e4
mov esi, dword [esp + 0x2c]
and dword [esp + 0x1c], ebx
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x18]
test eax, 0xfffffffc
jle 0x4289db
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.0043451f
pop ecx
test eax, eax
je 0x42888f
mov ecx, eax
call fcn.00431ca5
mov esi, eax
jmp 0x428891
xor esi, esi
test esi, esi
je 0x42889a
lea eax, [esi + 8]
jmp 0x42889c
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.00431d41
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.0043451f
pop ecx
test eax, eax
je 0x4288ef
mov ecx, eax
call fcn.00431955
mov esi, eax
jmp 0x4288f1
xor esi, esi
test esi, esi
je 0x4288fa
lea eax, [esi + 8]
jmp 0x4288fc
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.0042e996
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.00431a2c
lea eax, [esp + 0x40]
cmp eax, ebx
jae 0x42896c
mov ecx, eax
mov eax, dword [esp + 0x48]
cmp eax, ecx
ja 0x42896c
mov esi, ecx
sub esi, eax
sar esi, 2
cmp ebx, edi
jne 0x428963
push ecx
lea ecx, [esp + 0x50]
call fcn.00419aee
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
test ebx, ebx
je 0x42899a
lea eax, [eax + esi*4]
jmp 0x428992
cmp ebx, edi
jne 0x42898a
push ecx
lea ecx, [esp + 0x50]
call fcn.00419aee
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x54]
mov dword [esp + 0x48], eax
test ebx, ebx
je 0x42899a
lea eax, [esp + 0x40]
push eax
mov ecx, ebx
call fcn.004139d4
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 0x428878
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.004284dd
lea edx, [esp + 0xb8]
mov ecx, esi
call fcn.00428555
cmp byte [edi], 0
je 0x428a21
lea edx, [edi + 4]
lea ecx, [esp + 0xb8]
call fcn.0042868f
neg al
sbb al, al
inc al
je 0x428c54
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 0x428a4d
mov edi, eax
mov ecx, esi
call fcn.0040891e
add esi, 4
cmp esi, edi
jne 0x428a37
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.0041832e
push 0x5c
call fcn.0043451f
pop ecx
test eax, eax
je 0x428a6f
mov ecx, eax
call fcn.0042a803
jmp 0x428a71
xor eax, eax
mov dword [edi + 0x40], eax
test eax, eax
je 0x428a7d
add eax, 8
jmp 0x428a7f
xor eax, eax
push eax
lea ecx, [edi + 0x48]
call fcn.0040893e
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x428a94
add ecx, 0xc
jmp 0x428a96
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 0x4291ec
and dword [esp + 0x44], eax
cmp dword [esp + 0x1c], eax
jle 0x428c2d
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.004317f7
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x428f99
lea ecx, [esp + 0x18]
call fcn.00408918
mov ecx, dword [esp + 0x24]
call fcn.004237ac
push ecx
test al, al
je 0x428b55
lea ecx, [esp + 0x14]
call fcn.0040896c
test al, al
jne 0x428f8b
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.0042afbc
jmp 0x428b8b
lea ecx, [esp + 0x18]
call fcn.0040896c
test al, al
jne 0x428f8b
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.0042afdd
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
call fcn.00419a98
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 0x428be7
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 0x428f80
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 0x428ac3
lea eax, [esp + 0xb8]
push eax
lea ecx, [edi + 4]
call fcn.00429232
lea eax, [esp + 0xe8]
push eax
lea ecx, [edi + 0x34]
call fcn.0042947c
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 0x4290ca
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 0x428d14
mov ecx, dword [esp + 0x34]
add ecx, 8
call fcn.0041fbc3
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
ja 0x429051
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.004193bc
push eax
mov ecx, esi
call dword [edi + 0x10]
mov esi, eax
test esi, esi
jne 0x429056
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 0x428d68
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 0x4290bc
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 0x428ec9
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x429092
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 0x429080
lea ecx, [esp + 0x88]
call fcn.00419323
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.00419355
cmp dword [esp + 0x104], esi
jle 0x428e6c
lea ecx, [esp + 0x88]
call fcn.004193bc
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 0x428e3d
test edi, edi
je 0x428e9d
lea ecx, [esp + 0x10]
call fcn.0040892a
push dword [esp + 0x20]
mov esi, eax
lea ecx, [esp + 0x8c]
mov edi, dword [esi]
call fcn.004193bc
push eax
mov ecx, esi
call dword [edi + 0x10]
mov esi, eax
test esi, esi
jne 0x429064
push 0
push 1
lea ecx, [esp + 0xfc]
call fcn.00401751
lea ecx, [esp + 0x88]
call fcn.00419337
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.004295aa
push esi
lea ecx, [esp + 0x9c]
call fcn.004295aa
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x428f55
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.00429557
inc ebx
dec esi
jne 0x428f2e
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x38]
xor esi, esi
cmp dword [esp + 0x30], esi
jbe 0x428ff0
mov eax, dword [esp + 0x18]
push eax
mov ecx, edi
call fcn.00423841
test eax, eax
js 0x428fb0
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 0x24]
lea eax, [eax + ecx*8]
jmp 0x428fca
lea ecx, [esp + 0xc]
call fcn.0040891e
jmp 0x428f90
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 0x4291ec
mov eax, dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.004238a2
test eax, eax
js 0x4290a2
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.00429557
mov eax, dword [esp + 0x18]
inc esi
inc eax
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x30]
jb 0x428f65
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 0x4290ca
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
jmp 0x428c90
mov esi, 0x80004001
lea ecx, [esp + 0xc]
call fcn.0040891e
jmp 0x4291ec
push 0
push 1
lea ecx, [esp + 0xfc]
call fcn.00401751
lea ecx, [esp + 0x88]
call fcn.00419337
push 0
push 1
lea ecx, [esp + 0x114]
call fcn.00401751
jmp 0x429097
mov esi, 0x80004005
lea ecx, [esp + 0x10]
call fcn.0040891e
jmp 0x4290bc
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 0x4291ec
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.0042a183
mov esi, eax
test esi, esi
jne 0x4291ec
push dword [esp + 0x24]
mov ecx, dword [edi + 0x40]
call fcn.0042affe
cmp dword [esp + 0x1c], esi
je 0x4291ec
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 0x42915d
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.004295d8
add esi, 4
dec ebx
jne 0x42912c
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.004295d8
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 0x4291d0
push dword [esp + 0x68]
call fcn.004342bb
pop ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
cmp dword [esp + 0x5c], ebx
je 0x4291ec
push dword [esp + 0x5c]
call fcn.004342bb
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.0042850e
lea ecx, [esp + 0xac]
call fcn.004318d1
lea ecx, [esp + 0x4c]
call fcn.00419a64
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004333fa
mov esp, ebp
pop ebp
ret 0x2c