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

Disassembly:
sub esp, 0x164
push ebx
push esi
push edi
mov edi, dword [esp + 0x174]
mov esi, ecx
mov ecx, dword [edi]
call fcn.004862a0
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x98], ebx
je 0x46b2b0
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0xd0]
mov edx, dword [ecx + 0x18]
mov eax, dword [edx + 0x830]
push ebp
push eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [esp + 0x17c]
movsx ecx, word [ebp + 0x24]
fld dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x3c]
mov dword [esp + 0xbc], ecx
fild dword [esp + 0x50]
mov ecx, dword [edi + 0x38]
mov dword [esp + 0xcc], ecx
movzx ecx, word [ebp + 0x26]
fmul dword [0x5db3d0]
mov edx, eax
imul ecx, ecx, 0x1c
fstp dword [esp + 0x20]
fst dword [esp + 0xb0]
fstp dword [esp + 0xc8]
mov dword [esp + 0xac], edx
mov edx, dword [edi + 0x40]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc0], edx
movzx edx, byte [edi + 0x54]
mov dword [esp + 0xc4], eax
movzx eax, byte [edi + 0x55]
mov dword [esp + 0xd0], edx
mov edx, dword [edi + 0x44]
mov dword [esp + 0xd4], eax
lea eax, [ecx + edx]
mov dword [esp + 0xb8], 0x48
mov ecx, dword [eax + 0x14]
mov dword [esp + 0xd8], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0xdc], edx
mov eax, dword [eax + 0x10]
mov dword [esp + 0xe0], eax
mov ecx, dword [ebx + 0x2c]
mov eax, dword [ecx + 0x210]
xor edx, edx
cmp eax, edx
mov byte [esp + 0x50], 0
jne 0x46ac51
call fcn.00494a20
xor edx, edx
cmp eax, 9
jl 0x46ac5b
mov byte [esp + 0x50], 1
fld dword [0x5d7848]
mov byte [esp + 0x1f], 1
fld dword [edi + 0x38]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x46ac7e
mov dword [esp + 0xd4], edx
mov byte [esp + 0x1f], 0
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
movzx ecx, word [ebp + 0x14]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x74], eax
mov al, byte [esp + 0x1f]
test al, al
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], edx
je 0x46ae30
fld dword [esp + 0x54]
fmul dword [0x5da4b0]
fst dword [esp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
fmul dword [0x5da4b0]
mov eax, dword [esp + 0x24]
and ecx, 0xffff
shl eax, 0x10
fstp dword [esp + 0x18]
or ecx, eax
mov dword [esp + 0x7c], ecx
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [edi + 0x3c]
fmul dword [0x5da4b0]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
fld dword [edi + 0x40]
mov eax, dword [esp + 0x14]
fmul dword [0x5da4b0]
mov dword [esp + 0x84], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov ah, byte [edi + 0x54]
mov dword [esp + 0x88], ecx
movzx ecx, word [ebp + 0x26]
imul ecx, ecx, 0x1c
mov al, byte [edi + 0x55]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x44]
fld dword [ecx + eax + 0x14]
fmul dword [0x5da4b0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
movzx eax, word [ebp + 0x26]
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x1c
mov dword [esp + 0x90], ecx
mov ecx, dword [edi + 0x44]
fld dword [eax + ecx + 0x18]
fmul dword [0x5da4b0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
movzx ecx, word [ebp + 0x26]
mov eax, dword [esp + 0x14]
imul ecx, ecx, 0x1c
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x44]
fld dword [ecx + eax + 0x10]
fmul dword [0x5da4b0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fistp dword [esp + 0x14]
cmp dword [esi + 0xc], edx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], ecx
jne 0x46adf9
mov ecx, esi
call fcn.00467f60
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x7c]
push ecx
push eax
push edx
call fcn.0055de90
mov ebx, eax
mov eax, dword [esp + 0x24]
add esp, 0x14
test eax, eax
mov dword [esp + 0x18], ebx
jne 0x46b20b
mov ebx, dword [esp + 0x9c]
xor edx, edx
fld dword [esp + 0x20]
mov eax, dword [ebx + 0x2c]
fmul dword [edi + 0x40]
mov ecx, dword [eax + 0x22c]
mov dword [esp + 0x14], ecx
fcomp dword [0x5db320]
fnstsw ax
test ah, 1
jne 0x46ae5d
mov dword [esp + 0x14], 7
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0x38]
fld dword [esi + 0x38]
fmul dword [0x5da4b0]
mov dword [esp + 0xa8], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0xa0], ecx
fstp dword [esp + 0x20]
mov dword [esp + 0xa4], eax
fld dword [esp + 0x20]
fistp dword [esp + 0x54]
fld dword [esi + 0x34]
fmul dword [0x5da4b0]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
fstp dword [esp + 0x54]
fld dword [esp + 0x54]
fistp dword [esp + 0x20]
cmp dword [esi + 8], edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
jne 0x46aec2
mov ecx, esi
call fcn.00467f00
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x44]
push ecx
push eax
push edx
call fcn.0055de90
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
add esp, 0x14
test eax, eax
jne 0x46b106
mov ecx, dword [esp + 0x14]
mov eax, 7
cmp ecx, eax
jne 0x46af6f
mov eax, dword [ebx + 0x2c]
mov ecx, dword [eax + 0x22c]
mov eax, dword [esi + 8]
test eax, eax
mov dword [esp + 0x48], ecx
jne 0x46af16
mov ecx, esi
call fcn.00467f00
mov ecx, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x44]
push eax
push ecx
push edx
call fcn.0055de90
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, 1
jne 0x46af65
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.00467fc0
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0055e140
mov eax, dword [0x634a60]
xor ecx, ecx
add esp, 0xc
dec eax
mov dword [esp + 0x24], ecx
mov dword [0x634a60], eax
mov dword [esp + 0x48], 7
jmp 0x46afb2
mov dword [esp + 0x48], eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x46af81
mov ecx, esi
call fcn.00467f00
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
push edx
mov edx, dword [esi + 4]
push 1
lea ecx, [esp + 0x44]
push ecx
push eax
push edx
call fcn.0055de90
mov ecx, dword [esp + 0x38]
add esp, 0x14
cmp ecx, 1
jne 0x46afaa
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], eax
test ecx, ecx
jne 0x46b106
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebx + 0x2c]
mov dx, word [ebp + 0x14]
mov dword [esp + 0xec], ecx
mov ecx, dword [eax + 0xd0]
push ecx
lea ecx, [esp + 0xe8]
mov dword [esp + 0xe8], 0x5db33c
mov dword [esp + 0xec], esi
mov word [esp + 0xf4], dx
mov dword [esp + 0xf8], 0
mov byte [esp + 0xfc], 0
call fcn.00468be0
mov eax, dword [esp + 0xf4]
cmp dword [eax + 0x1c], 1
ja 0x46b047
mov dword [esp + 0xe4], 0x5db33c
lea ecx, [esp + 0xe4]
call fcn.00468260
mov edx, dword [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x164
ret 8
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ecx + 0xd0]
push edx
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.00469d10
mov edx, dword [esp + 0xf4]
mov eax, dword [esi + 4]
lea ecx, [esp + 0xa0]
push ecx
push edx
push eax
call fcn.0055c960
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x46b0ae
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], 0x5db33c
call fcn.00468260
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x164
ret 8
mov edx, dword [0x634a58]
mov eax, dword [esp + 0x20]
inc edx
mov dword [0x634a58], edx
push ebx
lea edx, [esp + 0x40]
push edx
push eax
mov ecx, esi
call fcn.00467fc0
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.0055dfb0
add esp, 0x14
test eax, eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xe4], 0x5db33c
jne 0x46b02a
mov dword [esp + 0x20], ebx
call fcn.00468260
mov ebx, dword [esp + 0x9c]
jmp 0x46b10c
inc dword [0x634a54]
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x114]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x14c]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0xc0]
push edx
push eax
push ecx
call fcn.0055e880
mov edx, dword [esp + 0x52]
mov eax, dword [esp + 0x50]
push 0xb
push edx
mov dl, byte [edi + 0x54]
xor ecx, ecx
test dl, dl
mov edx, dword [esi + 4]
setne cl
push eax
push ecx
push edx
call fcn.0055dad0
mov edi, eax
add esp, 0x34
test edi, edi
je 0x46b2a4
mov ebx, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0xd0]
call fcn.004a7100
cmp eax, 9
mov eax, dword [esp + 0x20]
setge cl
lea edx, [esp + 0x13c]
push ecx
mov ecx, dword [esi + 4]
push edi
push edx
push eax
push ecx
call fcn.0055f6a0
mov al, byte [esp + 0x33]
add esp, 0x14
test al, al
je 0x46b1df
inc dword [edi + 0x10]
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x46b1b6
mov ecx, esi
call fcn.00467f60
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
push edi
lea edx, [esp + 0x78]
push edx
mov edx, dword [esi + 4]
push ecx
push eax
push edx
call fcn.0055dfb0
add esp, 0x14
test eax, eax
jne 0x46b2a4
inc dword [0x634a60]
mov dword [esp + 0x18], edi
xor eax, eax
jmp 0x46b1f0
mov edx, dword [esp + eax + 0x110]
mov ecx, dword [edi + 8]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x2c
jl 0x46b1f0
mov ebx, dword [esp + 0x18]
jmp 0x46b211
inc dword [0x634a5c]
test ebx, ebx
je 0x46b2a4
mov al, byte [esp + 0x1f]
test al, al
je 0x46b272
mov ecx, dword [ebx + 8]
lea edx, [esp + 0xe4]
xor eax, eax
sub ecx, edx
nop
lea edx, [ecx + eax*4]
mov edx, dword [esp + edx + 0xe4]
mov dword [esp + eax*4 + 0xe4], edx
inc eax
cmp eax, 0xb
jl 0x46b230
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esi + 4]
lea eax, [esp + 0xf0]
push eax
lea ecx, [esp + 0xbc]
push ecx
push edx
call fcn.0055f320
add esp, 0x18
mov eax, dword [esp + 0x28]
mov word [ebp], ax
mov cx, word [ebx + 2]
add cx, ax
xor eax, eax
mov word [ebp + 2], cx
mov ax, word [ebx + 4]
add ax, word [esp + 0x2c]
neg eax
mov word [ebp + 4], ax
mov dx, word [ebx + 4]
add dx, ax
mov word [ebp + 6], dx
mov dword [ebp + 0xc], ebx
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x164
ret 8