Function at 0xfe46cd
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 0xfe4d70
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 0xfe470d
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 0xfe4c59
jbe 0xfe479e
lea eax, [ecx + ebx*4]
cmp edx, eax
je 0xfe479e
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 0xfe4c81
jbe 0xfe47bb
add eax, ebx
cmp edx, eax
je 0xfe47bb
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 0xfe4d04
jbe 0xfe47ee
imul eax, dword [esp + 0x10], 0x410
add eax, edx
cmp ebx, eax
je 0xfe47ee
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 0xfe4d2f
jae 0xfe48ac
lea edx, [esi + ebx*4]
cmp ecx, edx
je 0xfe48ac
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 0xfe4d1a
jae 0xfe48c9
add edx, ebx
cmp ecx, edx
je 0xfe48c9
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 0xfe4cd8
jae 0xfe48ff
imul eax, dword [esp + 0x10], 0xb10
add eax, edx
cmp ebx, eax
je 0xfe48ff
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 0xfe4c98
jae 0xfe49c6
lea edx, [esi + ebx*4]
cmp ecx, edx
je 0xfe49c6
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 0xfe4cc3
jae 0xfe49e3
add edx, ebx
cmp ecx, edx
je 0xfe49e3
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 0xfe4cee
jb 0xfe4c3f
mov eax, dword [esp + 0x140]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 0
test eax, eax
je 0xfe4d4d
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 0xfe4bbd
test esi, esi
je 0xfe4bd8
add esi, ebx
mov dword [esp + 0x1c], esi
jmp 0xfe4aec
add ebx, 1
cmp ebx, esi
je 0xfe4b3d
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 0xfe4ae5
mov dword [esp], 0
mov ecx, dword [esp + 0x20]
add ebx, 1
call fcn.0100524d
sub esp, 4
cmp ebx, esi
jne 0xfe4aec
lea esi, [esi]
nop
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ebx, eax
cmp word [esp + 0x24], 0x7f
jbe 0xfe4b57
test eax, eax
jne 0xfe4be5
add dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
add dword [esp + 0x14], 0x18
cmp dword [esp + 0x140], eax
jne 0xfe4a75
mov dword [esp], 1
mov ecx, dword [esp + 0x20]
call fcn.0100524d
sub esp, 4
mov dword [esp], 1
mov ecx, dword [esp + 0x28]
call fcn.010062cd
sub esp, 4
mov dword [esp], 1
mov ecx, dword [esp + 0x2c]
call fcn.01005a8d
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.010062cd
sub esp, 4
test esi, esi
jne 0xfe4ad9
mov dword [esp + 0x1c], ebx
jmp 0xfe4b3d
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 0xfe4b57
mov dword [esp], 0
mov ecx, dword [esp + 0x2c]
call fcn.01005a8d
sub esp, 4
jmp 0xfe4b57
imul eax, dword [esp + 0x10], 0x830
add eax, edx
cmp ebx, eax
je 0xfe4a0c
mov dword [ecx + 4], eax
jmp 0xfe4a0c
mov edx, ebx
lea ecx, [ebp + 0x10]
sub edx, eax
mov dword [esp], edx
call fcn.01020a1d
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 0xfe47b0
sub ebx, ecx
add esi, 4
mov dword [esp], ebx
mov ecx, esi
call fcn.010205dd
sub esp, 4
jmp 0xfe47bb
mov eax, ebx
lea ecx, [ebp + 0x48]
sub eax, edx
mov dword [esp], eax
call fcn.01020a1d
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 0xfe49d8
sub ebx, esi
lea ecx, [eax + 4]
mov dword [esp], ebx
call fcn.010205dd
sub esp, 4
jmp 0xfe49e3
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp], edx
call fcn.0101fd0d
sub esp, 4
jmp 0xfe48ff
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp], edx
call fcn.0101f94d
sub esp, 4
jmp 0xfe4a0c
mov edx, dword [esp + 0x10]
sub edx, eax
mov dword [esp], edx
call fcn.0101f58d
sub esp, 4
jmp 0xfe47ee
sub ebx, esi
lea ecx, [eax + 4]
mov dword [esp], ebx
call fcn.010205dd
sub esp, 4
jmp 0xfe48c9
mov eax, ebx
lea ecx, [ebp + 0x2c]
sub eax, edx
mov dword [esp], eax
call fcn.01020a1d
sub esp, 4
mov eax, dword [esp + 0x94]
jmp 0xfe48ac
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 0xfe4b72
mov dword [esp + 0x10], 1
mov ebx, 1
jmp 0xfe472e