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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x11c
mov edx, dword [esp + 0x140]
mov edi, dword [esp + 0x130]
mov ebp, dword [esp + 0x144]
test edx, edx
je 0xf846e6
mov esi, dword [esp + 0x140]
mov eax, dword [esp + 0x13c]
xor ebx, ebx
lea edx, [esi + esi*2]
lea edx, [eax + edx*8]
lea esi, [esi]
add ebx, dword [eax]
add eax, 0x18
cmp edx, eax
jne 0xf84083
shr ebx, 9
mov eax, 0x101
add ebx, 1
cmp ebx, 0x101
cmovbe eax, ebx
mov dword [esp + 0x10], eax
mov edx, dword [ebp + 0x14]
lea eax, [ebp + 0x6c]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x4c], ebp
fld dword [0x69a1bc5c]
mov dword [esp + 0x50], eax
mov esi, ebp
mov eax, edx
mov dword [esp + 0x38], 0x100
sub eax, ecx
mov dword [esp + 0x3c], 0x200
sar eax, 2
mov dword [esp + 0x48], 0
mov dword [esp + 0x54], 0x200
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x78], 0
fstp qword [esp + 0x40]
cmp eax, ebx
jb 0xf845cf
jbe 0xf84114
lea eax, [ecx + ebx*4]
cmp edx, eax
je 0xf84114
mov dword [ebp + 0x14], eax
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ecx, edx
sub ecx, eax
cmp ecx, ebx
jb 0xf845f7
jbe 0xf84131
add eax, ebx
cmp edx, eax
je 0xf84131
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x50]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, ebx
sub eax, edx
sar eax, 4
imul eax, eax, 0xc0fc0fc1
cmp eax, dword [esp + 0x10]
jb 0xf8467a
jbe 0xf84164
imul eax, dword [esp + 0x10], 0x410
add eax, edx
cmp ebx, eax
je 0xf84164
mov dword [ecx + 4], eax
mov ebx, dword [esp + 0x140]
lea edx, [ebp + 0x78]
mov ecx, dword [ebp + 0x30]
lea eax, [ebp + 0x1c]
mov dword [esp + 0x98], edx
mov edx, 0x101
mov esi, dword [ebp + 0x2c]
shr ebx, 0xa
fld dword [0x69a1bc60]
mov dword [esp + 0x64], 0
add ebx, 1
mov dword [esp + 0x60], 0
cmp ebx, 0x101
mov dword [esp + 0x80], 0x2c0
cmovbe edx, ebx
mov dword [esp + 0x94], eax
mov dword [esp + 0x84], 0x400
mov dword [esp + 0x10], edx
mov edx, ecx
sub edx, esi
mov dword [esp + 0x90], 0
sar edx, 2
mov dword [esp + 0x9c], 0x400
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xc0], 0
fstp qword [esp + 0x88]
cmp ebx, edx
ja 0xf846a5
jae 0xf84222
lea edx, [esi + ebx*4]
cmp ecx, edx
je 0xf84222
mov dword [ebp + 0x30], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov esi, ecx
sub esi, edx
cmp ebx, esi
ja 0xf84690
jae 0xf8423f
add edx, ebx
cmp ecx, edx
je 0xf8423f
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x98]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, ebx
sub eax, edx
sar eax, 4
imul eax, eax, 0xe02e4851
cmp dword [esp + 0x10], eax
ja 0xf8464e
jae 0xf84275
imul eax, dword [esp + 0x10], 0xb10
add eax, edx
cmp ebx, eax
je 0xf84275
mov dword [ecx + 4], eax
lea edx, [ebp + 0x84]
mov ecx, dword [ebp + 0x4c]
mov esi, dword [ebp + 0x48]
lea eax, [ebp + 0x38]
mov ebx, dword [esp + 0x140]
mov dword [esp + 0xe0], edx
mov edx, 0x101
fld dword [0x69a1bc64]
mov dword [esp + 0xac], 0
shr ebx, 9
mov dword [esp + 0xa8], 0
add ebx, 1
mov dword [esp + 0xc8], 0x40
cmp ebx, 0x101
mov dword [esp + 0xdc], eax
cmovbe edx, ebx
mov dword [esp + 0xcc], 0x200
mov dword [esp + 0xd8], 0
mov dword [esp + 0x10], edx
mov edx, ecx
sub edx, esi
mov dword [esp + 0xe4], 0x200
sar edx, 2
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0x108], 0
fstp qword [esp + 0xd0]
cmp ebx, edx
ja 0xf8460e
jae 0xf8433c
lea edx, [esi + ebx*4]
cmp ecx, edx
je 0xf8433c
mov dword [ebp + 0x4c], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov esi, ecx
sub esi, edx
cmp ebx, esi
ja 0xf84639
jae 0xf84359
add edx, ebx
cmp ecx, edx
je 0xf84359
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xe0]
mov ebx, dword [ecx + 4]
mov edx, dword [ecx]
mov eax, ebx
sub eax, edx
sar eax, 4
imul eax, eax, 0xc9484e2b
cmp dword [esp + 0x10], eax
ja 0xf84664
jb 0xf845b5
mov eax, dword [esp + 0x140]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
test eax, eax
je 0xf846c3
lea eax, [esp + 0x38]
mov esi, dword [esp + 0x13c]
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x80]
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc8]
mov ebp, dword [esp + 0x138]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], esi
lea esi, [esi]
nop
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x98]
mov edx, dword [eax + 4]
mov esi, dword [eax]
mov dword [esp + 0x18], edx
movzx edx, word [eax + 0x14]
movzx eax, word [eax + 0x16]
mov word [esp + 0x24], dx
mov word [esp + 0x26], ax
imul eax, dword [esp + 0xa4], 0xb10
add eax, dword [ecx]
add dword [eax + edx*4], 1
add dword [eax + 0xb00], 1
mov eax, dword [esp + 0xa0]
add eax, 1
mov dword [esp + 0xa0], eax
cmp eax, dword [esp + 0x9c]
je 0xf84533
test esi, esi
je 0xf8454e
add esi, ebx
mov dword [esp + 0x1c], esi
jmp 0xf84462
add ebx, 1
cmp ebx, esi
je 0xf844b3
mov eax, ebp
mov ecx, dword [esp + 0x50]
and eax, ebx
movzx edx, byte [edi + eax]
imul eax, dword [esp + 0x5c], 0x410
add eax, dword [ecx]
add dword [eax + edx*4], 1
add dword [eax + 0x400], 1
mov eax, dword [esp + 0x58]
add eax, 1
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x54]
jne 0xf8445b
mov dword [esp], 0
mov ecx, dword [esp + 0x20]
add ebx, 1
call fcn.00fa4bc3
sub esp, 4
cmp ebx, esi
jne 0xf84462
lea esi, [esi]
nop
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ebx, eax
cmp word [esp + 0x24], 0x7f
jbe 0xf844cd
test eax, eax
jne 0xf8455b
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x18
cmp dword [esp + 0x140], eax
jne 0xf843eb
mov dword [esp], 1
mov ecx, dword [esp + 0x20]
call fcn.00fa4bc3
sub esp, 4
mov dword [esp], 1
mov ecx, dword [esp + 0x28]
call fcn.00fa5c43
sub esp, 4
mov dword [esp], 1
mov ecx, dword [esp + 0x2c]
call fcn.00fa5403
sub esp, 4
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0
mov ecx, dword [esp + 0x28]
call fcn.00fa5c43
sub esp, 4
test esi, esi
jne 0xf8444f
mov dword [esp + 0x1c], ebx
jmp 0xf844b3
mov ecx, dword [esp + 0xe0]
movzx eax, word [esp + 0x26]
imul edx, dword [esp + 0xec], 0x830
add edx, dword [ecx]
add dword [edx + eax*4], 1
mov eax, dword [esp + 0xe8]
add dword [edx + 0x820], 1
add eax, 1
mov dword [esp + 0xe8], eax
cmp eax, dword [esp + 0xe4]
jne 0xf844cd
mov dword [esp], 0
mov ecx, dword [esp + 0x2c]
call fcn.00fa5403
sub esp, 4
jmp 0xf844cd
imul eax, dword [esp + 0x10], 0x830
add eax, edx
cmp ebx, eax
je 0xf84382
mov dword [ecx + 4], eax
jmp 0xf84382
mov edx, ebx
lea ecx, [ebp + 0x10]
sub edx, eax
mov dword [esp], edx
call fcn.00fc0393
sub esp, 4
mov esi, dword [esp + 0x4c]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
mov ecx, edx
sub ecx, eax
cmp ecx, ebx
jae 0xf84126
sub ebx, ecx
add esi, 4
mov dword [esp], ebx
mov ecx, esi
call fcn.00fbff53
sub esp, 4
jmp 0xf84131
mov eax, ebx
lea ecx, [ebp + 0x48]
sub eax, edx
mov dword [esp], eax
call fcn.00fc0393
sub esp, 4
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov esi, ecx
sub esi, edx
cmp ebx, esi
jbe 0xf8434e
sub ebx, esi
lea ecx, [eax + 4]
mov dword [esp], ebx
call fcn.00fbff53
sub esp, 4
jmp 0xf84359
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp], edx
call fcn.00fbf683
sub esp, 4
jmp 0xf84275
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp], edx
call fcn.00fbf2c3
sub esp, 4
jmp 0xf84382
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp], edx
call fcn.00fbef03
sub esp, 4
jmp 0xf84164
sub ebx, esi
lea ecx, [eax + 4]
mov dword [esp], ebx
call fcn.00fbff53
sub esp, 4
jmp 0xf8423f
mov eax, ebx
lea ecx, [ebp + 0x2c]
sub eax, edx
mov dword [esp], eax
call fcn.00fc0393
sub esp, 4
mov eax, dword [esp + 0x94]
jmp 0xf84222
lea eax, [esp + 0x38]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x28], eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x2c], eax
jmp 0xf844e8
mov dword [esp + 0x10], 1
mov ebx, 1
jmp 0xf840a4