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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x46600c]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x2c], eax
mov ebx, ecx
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x28]
push edi
mov edi, dword [ebp + 0x1c]
mov ecx, edi
mov dword [esp + 0xac], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0xb0], esi
mov dword [esp + 0x40], edi
mov dword [esp + 0x8c], eax
call fcn.0042c5d9
test al, al
jne 0x42f94c
mov eax, 0x80004001
jmp 0x4303f9
mov eax, dword [esp + 0x8c]
xor ecx, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov byte [eax], cl
mov eax, ecx
lea ecx, [esp + 0xb8]
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], eax
call fcn.00439582
push esi
lea ecx, [esp + 0xbc]
call fcn.004395a9
mov eax, dword [edi + 0x1c]
xor esi, esi
sub eax, dword [edi + 0x18]
test eax, 0xfffffffc
jle 0x42fa9e
mov eax, dword [ebp + 0x14]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
push 0x18
call fcn.0043b1a7
pop ecx
mov ecx, eax
call fcn.00439618
mov edi, eax
test edi, edi
je 0x42f9c1
lea eax, [edi + 8]
jmp 0x42f9c3
xor eax, eax
push eax
lea ecx, [esp + 0x3c]
call fcn.0040844f
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xb8]
push edx
push dword [esp + 0x20]
mov ecx, edi
push eax
call fcn.004396d4
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x1c]
push 0x30
add eax, dword [ecx + esi*8]
mov dword [esp + 0x20], eax
adc edx, dword [ecx + esi*8 + 4]
mov dword [esp + 0x28], edx
call fcn.0043b1a7
pop ecx
mov ecx, eax
call fcn.004397b2
mov edi, eax
test edi, edi
je 0x42fa15
lea eax, [edi + 8]
jmp 0x42fa17
xor eax, eax
push eax
lea ecx, [esp + 0x24]
call fcn.0040844f
lea ecx, [esp + 0x38]
call fcn.00408402
push eax
mov ecx, edi
call fcn.00433ca2
mov eax, dword [ebp + 0x18]
mov ecx, edi
push dword [eax + esi*8 + 4]
push dword [eax + esi*8]
call fcn.00439897
mov edi, dword [esp + 0x60]
lea eax, [esp + 0x20]
push eax
cmp ebx, edi
je 0x42fa60
mov ecx, edi
call fcn.0041b06f
add edi, 4
mov dword [esp + 0x60], edi
jmp 0x42fa6e
push edi
lea ecx, [esp + 0x64]
call fcn.0043068e
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0x20]
call fcn.004083f6
lea ecx, [esp + 0x38]
call fcn.004083f6
mov edi, dword [esp + 0x40]
inc esi
mov eax, dword [edi + 0x1c]
sub eax, dword [edi + 0x18]
sar eax, 2
cmp esi, eax
jl 0x42f9a7
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x3c]
mov eax, dword [edi + 4]
lea ecx, [esp + 0xc0]
sub eax, dword [edi]
sar eax, 5
mov dword [esp + 0x20], eax
call fcn.0042f5e5
mov edx, ecx
mov ecx, edi
call fcn.0042f692
cmp byte [ebx], 0
je 0x42fadb
lea edx, [ebx + 4]
lea ecx, [esp + 0xc0]
call fcn.0042f7c7
test al, al
jne 0x42fd12
lea edi, [ebx + 0x4c]
mov eax, dword [edi + 4]
mov esi, dword [edi]
mov dword [esp + 0x28], eax
cmp esi, eax
je 0x42fb01
mov ebx, eax
mov ecx, esi
call fcn.004083f6
add esi, 4
cmp esi, ebx
jne 0x42faed
mov esi, dword [edi]
mov ebx, dword [esp + 0x3c]
lea ecx, [ebx + 0x48]
mov dword [edi + 4], esi
call fcn.0041ee93
push 0x5c
call fcn.0043b1a7
pop ecx
mov ecx, eax
call fcn.004318fa
mov dword [ebx + 0x40], eax
test eax, eax
je 0x42fb27
add eax, 8
jmp 0x42fb29
xor eax, eax
push eax
lea ecx, [ebx + 0x48]
call fcn.00408416
mov ecx, dword [ebx + 0x40]
lea edx, [esp + 0xc0]
push edx
lea eax, [ecx + 0xc]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebx + 0x44], ecx
mov eax, dword [ecx]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x43039d
and dword [esp + 0x24], eax
cmp dword [esp + 0x20], eax
jle 0x42fcd3
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x40]
mov edx, dword [eax]
add edx, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], edx
call fcn.004083f0
lea ecx, [esp + 0x10]
call fcn.004083f0
push ecx
mov eax, ecx
mov ecx, dword [esp + 0x38]
push eax
push dword [edx + 4]
push dword [edx]
lea edx, [esp + 0x24]
call fcn.004394a1
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4300da
lea ecx, [esp + 0xc]
call fcn.004083f0
mov ecx, dword [esp + 0x28]
call fcn.0042a4fd
push ecx
test al, al
je 0x42fbf7
lea ecx, [esp + 0x18]
call fcn.00408446
test al, al
jne 0x4300cc
call fcn.00408402
push eax
lea ecx, [esp + 0x10]
call fcn.00408416
lea ecx, [esp + 0x14]
call fcn.00408402
mov ecx, dword [ebx + 0x40]
push eax
call fcn.00431f46
jmp 0x42fc29
lea ecx, [esp + 0x14]
call fcn.00408446
test al, al
jne 0x4300cc
call fcn.00408402
push eax
lea ecx, [esp + 0x10]
call fcn.00408416
lea ecx, [esp + 0x10]
call fcn.00408402
mov ecx, dword [ebx + 0x40]
push eax
call fcn.00431f67
mov eax, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
cmp dword [edi + 8], eax
je 0x42fc43
mov ecx, eax
call fcn.0041b06f
add dword [edi + 4], 4
jmp 0x42fc4b
push eax
mov ecx, edi
call fcn.00430550
lea ecx, [esp + 0x18]
call fcn.004083f0
mov edx, dword [esp + 0xc]
mov esi, dword [edx]
call fcn.0040846a
push eax
push 0x100f
mov ecx, edx
call dword [esi]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040846d
test al, al
je 0x42fc91
call fcn.00408402
push dword [esp + 0x34]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
jne 0x4300c1
lea ecx, [esp + 0x18]
call fcn.004083f6
lea ecx, [esp + 0xc]
call fcn.004083f6
lea ecx, [esp + 0x10]
call fcn.004083f6
lea ecx, [esp + 0x14]
call fcn.004083f6
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
inc eax
add ecx, 0x20
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
cmp eax, dword [esp + 0x20]
jl 0x42fb6b
lea eax, [esp + 0xc0]
push eax
lea ecx, [ebx + 4]
call fcn.00430410
lea ecx, [ebx + 0x34]
lea eax, [esp + 0xf0]
cmp ecx, eax
je 0x42fd0b
push dword [esp + 0x94]
push dword [esp + 0xf8]
push dword [esp + 0xf8]
call fcn.00430a4a
mov edi, dword [esp + 0x40]
mov byte [ebx], 1
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
and dword [esp + 0x90], eax
and dword [esp + 0x34], eax
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x20], eax
jle 0x43024b
lea ecx, [esp + 0x18]
call fcn.0040846a
mov dword [esp + 0xa8], eax
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
mov esi, dword [edi]
mov edx, dword [ebx + 0x4c]
add esi, ecx
add edx, eax
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], edx
call fcn.004083f0
mov ecx, dword [edx]
push dword [esp + 0xa8]
push 0x1004
mov eax, dword [ecx]
call dword [eax]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040846d
test al, al
je 0x42fdc4
lea ebx, [esi + 8]
mov ecx, ebx
call fcn.00426c6d
lea ecx, [esp + 0x18]
mov edx, eax
call fcn.00408402
mov esi, eax
mov ecx, ebx
push edx
mov edi, dword [esi]
call fcn.00420839
push eax
mov ecx, esi
call dword [edi + 0x10]
mov esi, eax
test esi, esi
jne 0x4301bf
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
lea ecx, [esp + 0x18]
call fcn.004083f6
lea ecx, [esp + 0x10]
call fcn.004083f0
mov edx, dword [esp + 0x30]
mov edx, dword [edx]
mov esi, dword [edx]
call fcn.0040846a
push eax
push 0x1007
mov ecx, edx
call dword [esi]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040846d
test al, al
je 0x42fe14
call fcn.00408402
push dword [ebp + 0x30]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov esi, eax
test esi, esi
jne 0x43023d
lea ecx, [esp + 0x14]
call fcn.004083f0
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov esi, dword [edx]
call fcn.0040846a
push eax
push 0x1012
mov ecx, edx
call dword [esi]
push ecx
lea ecx, [esp + 0x18]
call fcn.0040846d
test al, al
je 0x430018
mov esi, dword [esp + 0xac]
test esi, esi
je 0x4301fc
lea ecx, [esp + 0xc]
call fcn.004083f0
mov edx, dword [esi]
call fcn.0040846a
push eax
push 0xc02
mov ecx, esi
call dword [edx]
push ecx
lea ecx, [esp + 0x10]
call fcn.0040846d
test al, al
je 0x42fee9
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.00408402
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x6c]
jne 0x42fecb
mov ecx, dword [esp + 0xb0]
lea edx, [esp + 0x68]
call fcn.0043ac10
lea ecx, [esp + 0xc]
call fcn.00408402
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea ecx, [esp + 0xc]
call fcn.00408402
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x18]
lea ecx, [esp + 0x68]
call fcn.00411bb0
and dword [esp + 0x124], 0
lea ecx, [esp + 0x114]
xor eax, eax
mov dword [esp + 0x128], 7
mov word [esp + 0x114], ax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x4301e5
lea ecx, [esp + 0x98]
call fcn.004207ad
mov eax, dword [esp + 0x8c]
lea ecx, [esp + 0xfc]
mov byte [eax], 1
lea eax, [esp + 0x114]
push eax
call fcn.0040241c
mov eax, dword [esp + 0x10c]
lea ecx, [esp + 0x98]
lea esi, [eax + eax]
push esi
mov dword [esp + 0xb8], esi
call fcn.004207df
xor edx, edx
cmp dword [esp + 0x10c], edx
jle 0x42ffb7
lea ecx, [esp + 0x98]
call fcn.00420839
mov dword [esp + 0x30], eax
mov ebx, eax
cmp dword [esp + 0x110], 8
lea ecx, [esp + 0xfc]
cmovae ecx, dword [esp + 0xfc]
movzx eax, word [ecx + edx*2]
mov byte [ebx + edx*2], al
shr eax, 8
mov byte [ebx + edx*2 + 1], al
inc edx
cmp edx, dword [esp + 0x10c]
jl 0x42ff84
mov ebx, dword [esp + 0x3c]
test esi, esi
je 0x42ffeb
lea ecx, [esp + 0x14]
call fcn.00408402
push dword [esp + 0xb4]
mov edx, eax
lea ecx, [esp + 0x9c]
mov esi, dword [edx]
call fcn.00420839
push eax
mov ecx, edx
call dword [esi + 0x10]
mov esi, eax
test esi, esi
jne 0x4301cd
lea ecx, [esp + 0xfc]
call fcn.0040203f
lea ecx, [esp + 0x98]
call fcn.004207c1
lea ecx, [esp + 0x114]
call fcn.0040203f
lea ecx, [esp + 0xc]
call fcn.004083f6
lea ecx, [esp + 0x14]
call fcn.004083f6
mov esi, dword [esp + 0x2c]
xor ecx, ecx
add dword [esp + 0x24], 4
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], ecx
mov eax, dword [esi + 0x18]
mov esi, dword [esi + 0x1c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x50]
push eax
mov dword [esp + 0x34], eax
call fcn.00430478
push esi
lea ecx, [esp + 0x48]
call fcn.00430478
test esi, esi
je 0x430096
mov ebx, dword [esp + 0x90]
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x44]
lea eax, [eax + ebx*8]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
call fcn.004304d3
inc ebx
sub esi, 1
jne 0x43006d
mov dword [esp + 0x90], ebx
mov ebx, dword [esp + 0x3c]
xor esi, esi
cmp dword [esp + 0x30], esi
jbe 0x430131
mov eax, dword [esp + 0x1c]
push eax
mov ecx, edi
call fcn.0042a58e
test eax, eax
js 0x4300f1
mov ecx, dword [edi + 0xc]
mov ecx, dword [ecx + eax*8 + 4]
mov eax, dword [edi + 0x24]
lea eax, [eax + ecx*8]
jmp 0x43010b
lea ecx, [esp + 0x18]
call fcn.004083f6
jmp 0x4300d1
mov esi, 0x80004001
lea ecx, [esp + 0xc]
call fcn.004083f6
lea ecx, [esp + 0x10]
call fcn.004083f6
lea ecx, [esp + 0x14]
call fcn.004083f6
jmp 0x43039d
mov eax, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.0042a5e9
test eax, eax
js 0x43020c
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + eax*8]
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x50]
lea eax, [esp + 0x2c]
push eax
call fcn.004304d3
mov eax, dword [esp + 0x1c]
inc esi
inc eax
mov dword [esp + 0x1c], eax
cmp esi, dword [esp + 0x30]
jb 0x4300a6
mov ecx, dword [ebx + 0x44]
push dword [esp + 0x44]
mov esi, dword [esp + 0x54]
push esi
mov eax, dword [ecx]
push dword [esp + 0x3c]
call dword [eax + 8]
mov eax, dword [esp + 0x44]
test eax, eax
je 0x43016c
mov edx, dword [esp + 0x4c]
mov ecx, eax
sub edx, eax
and edx, 0xfffffffc
call fcn.00402261
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
test esi, esi
je 0x43018f
mov edx, dword [esp + 0x58]
mov ecx, esi
sub edx, esi
and edx, 0xfffffffc
call fcn.00402261
and dword [esp + 0x50], 0
and dword [esp + 0x54], 0
and dword [esp + 0x58], 0
lea ecx, [esp + 0x10]
call fcn.004083f6
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
inc eax
add ecx, 0x20
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ecx
cmp eax, dword [esp + 0x20]
jge 0x43024b
mov eax, dword [esp + 0x24]
jmp 0x42fd51
lea ecx, [esp + 0x18]
call fcn.004083f6
jmp 0x43039d
lea ecx, [esp + 0xfc]
call fcn.0040203f
lea ecx, [esp + 0x98]
call fcn.004207c1
lea ecx, [esp + 0x114]
call fcn.0040203f
lea ecx, [esp + 0xc]
call fcn.004083f6
jmp 0x430201
mov esi, 0x80004005
lea ecx, [esp + 0x14]
call fcn.004083f6
jmp 0x43023d
mov ecx, dword [esp + 0x44]
mov esi, 0x80004005
test ecx, ecx
je 0x430227
mov edx, dword [esp + 0x4c]
sub edx, ecx
and edx, 0xfffffffc
call fcn.00402261
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x43023d
mov edx, dword [esp + 0x58]
sub edx, ecx
and edx, 0xfffffffc
call fcn.00402261
lea ecx, [esp + 0x10]
call fcn.004083f6
jmp 0x43039d
and dword [esp + 0x28], 0
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0xc8]
push dword [eax]
call fcn.0043115c
mov esi, eax
test esi, esi
jne 0x43039d
push dword [esp + 0x28]
mov ecx, dword [ebx + 0x40]
call fcn.00431f88
cmp dword [esp + 0x20], esi
je 0x43039d
mov esi, dword [esp + 0x60]
xor eax, eax
mov edi, dword [esp + 0x5c]
sub esi, edi
sar esi, 2
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
test esi, esi
jle 0x4302ed
mov ecx, edi
call fcn.00408402
mov dword [esp + 0x98], eax
lea ecx, [esp + 0x80]
lea eax, [esp + 0x98]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0xa4], xmm0
call fcn.00430525
add edi, 4
sub esi, 1
jne 0x4302b7
mov eax, dword [ebp + 0x20]
lea ecx, [esp + 0x74]
mov dword [esp + 0x98], eax
xor edi, edi
lea eax, [esp + 0x98]
mov dword [esp + 0x74], edi
xorps xmm0, xmm0
mov dword [esp + 0x78], edi
push eax
mov dword [esp + 0x80], edi
movlpd qword [esp + 0xa4], xmm0
call fcn.00430525
lea ecx, [ebx + 0x48]
call fcn.00408402
push dword [esp + 0x94]
lea ecx, [esp + 0x78]
push ecx
mov edx, dword [eax]
lea ecx, [esp + 0x88]
push ecx
mov ecx, eax
call dword [edx + 0x10]
mov ecx, dword [esp + 0x74]
mov esi, eax
test ecx, ecx
je 0x43036c
mov edx, dword [esp + 0x7c]
sub edx, ecx
and edx, 0xfffffff0
call fcn.00402261
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov ecx, dword [esp + 0x80]
test ecx, ecx
je 0x43039d
mov edx, dword [esp + 0x88]
sub edx, ecx
and edx, 0xfffffff0
call fcn.00402261
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
lea ecx, [esp + 0xf0]
call fcn.00427b05
lea ecx, [esp + 0xc0]
call fcn.0042f616
lea ecx, [esp + 0xb8]
call fcn.00439596
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x4303f7
mov edi, ebx
cmp edi, dword [esp + 0x60]
je 0x4303e7
mov ebx, dword [esp + 0x60]
mov ecx, edi
call fcn.004083f6
add edi, 4
cmp edi, ebx
jne 0x4303d5
mov ebx, dword [esp + 0x5c]
mov edx, dword [esp + 0x38]
mov ecx, ebx
sub edx, ebx
and edx, 0xfffffffc
call fcn.00402261
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043af96
mov esp, ebp
pop ebp
ret 0x2c