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

Disassembly:
push 0xffffffffffffffff
push 0x48a173
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call fcn.0040aa79
xor edi, edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], edi
mov dword [esi + 0x18], edi
push 0x100000
lea ecx, [esp + 0x34]
mov byte [esp + 0xc0], 1
mov dword [esi + 0x1c], edi
call fcn.0040aa98
test al, al
je 0x46b64e
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], eax
call fcn.0040aae7
push 0x100000
lea ecx, [esp + 0x5c]
call fcn.0040c363
test al, al
je 0x46b64e
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x58]
call fcn.0040c3ae
lea edx, [esp + 0x88]
push 3
push edx
lea ecx, [esp + 0x38]
call fcn.0040abb1
cmp eax, 3
jb 0x46b960
cmp byte [esp + 0x88], 0x1f
jne 0x46b960
cmp byte [esp + 0x89], 0x9d
jne 0x46b960
mov al, byte [esp + 0x8a]
test al, 0x60
mov bl, al
jne 0x46b960
and eax, 0x1f
cmp eax, 9
mov dword [esp + 0x20], eax
jb 0x46b960
cmp eax, 0x10
ja 0x46b960
mov ebp, 1
mov ecx, eax
shl ebp, cl
cmp eax, dword [esi + 0x14]
mov dword [esp + 0x80], ebp
jne 0x46b61b
cmp dword [esi + 8], edi
je 0x46b61b
cmp dword [esi + 0xc], edi
je 0x46b61b
cmp dword [esi + 0x10], edi
jne 0x46b671
mov ecx, esi
call fcn.0046b4a0
lea ecx, [ebp + ebp]
call fcn.0046e5c0
cmp eax, edi
mov dword [esi + 8], eax
je 0x46b64e
mov ecx, ebp
call fcn.0046e5c0
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x46b64e
mov ecx, ebp
call fcn.0046e5c0
cmp eax, edi
mov dword [esi + 0x10], eax
jne 0x46b66a
lea ecx, [esp + 0x58]
call fcn.0040c39f
lea ecx, [esp + 0x30]
call fcn.0040aad6
mov eax, 0x8007000e
jmp 0x46b977
mov eax, dword [esp + 0x20]
mov dword [esi + 0x14], eax
and bl, 0x80
mov edx, dword [esi + 8]
neg bl
sbb ebx, ebx
xor ecx, ecx
and ebx, 0xffff0100
mov word [edx + 0x200], di
mov eax, dword [esi + 0xc]
add ebx, 0x10000
cmp ebx, 0x100
mov dword [esp + 0x28], edi
sete cl
add ecx, 0x100
mov dword [esp + 0x2c], edi
mov dword [esp + 0x84], ebx
mov dword [esp + 0x14], 9
mov dword [esp + 0x18], ecx
mov byte [esp + 0x13], 0
xor ebp, ebp
mov dword [esp + 0x1c], edi
mov byte [eax + 0x100], 0
mov dword [esp + 0x24], edi
jmp 0x46b6d7
xor edi, edi
cmp dword [esp + 0x1c], ebp
jne 0x46b798
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0040abb1
shl eax, 3
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], eax
xor ebp, ebp
call fcn.0040c3c6
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0xa4], eax
cmp ebx, edi
mov dword [esp + 0xa8], edx
je 0x46b798
mov edi, dword [esp + 0x28]
mov ecx, eax
sub ecx, edi
mov edi, edx
sbb edi, dword [esp + 0x2c]
mov dword [esp + 0xa0], edi
jne 0x46b741
cmp ecx, 0x2000
jb 0x46b798
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x38]
xor edi, edi
sub eax, edx
cdq
add eax, ecx
mov ecx, dword [esp + 0x40]
adc edx, edi
mov edi, dword [esp + 0x44]
add eax, ecx
lea ecx, [esp + 0xac]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa4]
adc edx, edi
push eax
mov dword [esp + 0xb4], edx
mov edx, dword [ebx]
push ecx
push ebx
call dword [edx + 0xc]
mov edi, eax
test edi, edi
jne 0x46b8f2
mov ecx, dword [esp + 0x14]
mov eax, ebp
shr eax, 3
xor ebx, ebx
mov edi, 1
mov bh, byte [esp + eax + 0x8a]
xor edx, edx
mov bl, byte [esp + eax + 0x89]
mov dl, byte [esp + eax + 0x88]
shl edi, cl
shl ebx, 8
mov ecx, ebp
mov eax, dword [esp + 0x1c]
or ebx, edx
and ecx, 7
shr ebx, cl
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x9c], edi
dec edi
add ebp, ecx
and ebx, edi
cmp ebp, eax
ja 0x46b910
cmp ebx, dword [esp + 0x18]
jae 0x46b908
cmp ebx, dword [esp + 0x84]
jne 0x46b81c
xor ebp, ebp
mov dword [esp + 0x14], 9
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0x101
mov byte [esp + 0x13], 0
jmp 0x46b6d5
xor edi, edi
cmp ebx, 0x100
mov eax, ebx
jb 0x46b848
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
inc edi
mov cl, byte [ecx + eax]
mov byte [edx + edi - 1], cl
mov edx, dword [esi + 8]
xor ecx, ecx
mov cx, word [edx + eax*2]
mov eax, ecx
cmp eax, 0x100
jae 0x46b828
mov edx, dword [esi + 0x10]
mov cl, byte [esp + 0x13]
mov byte [edx + edi], al
inc edi
test cl, cl
je 0x46b86c
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
mov byte [edx + ecx - 1], al
dec ecx
cmp ebx, ecx
jne 0x46b86c
mov ecx, dword [esi + 0x10]
mov byte [ecx], al
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x58]
dec edi
mov al, byte [edx + edi]
mov edx, dword [esp + 0x5c]
mov byte [edx + ecx], al
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
inc eax
cmp eax, ecx
mov dword [esp + 0x5c], eax
jne 0x46b898
lea ecx, [esp + 0x58]
call fcn.0040c49b
test edi, edi
ja 0x46b86c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jae 0x46b812
mov ecx, dword [esi + 8]
inc eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], eax
mov word [ecx + eax*2 - 2], bx
mov ecx, dword [esp + 0x9c]
cmp eax, ecx
jbe 0x46b6d5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp edx, eax
jae 0x46b6d5
mov eax, edx
xor ebp, ebp
inc eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
jmp 0x46b6d5
lea ecx, [esp + 0x58]
call fcn.0040c39f
lea ecx, [esp + 0x30]
call fcn.0040aad6
mov eax, edi
jmp 0x46b977
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x40]
sub eax, ebp
xor edi, edi
cdq
add eax, ecx
lea ecx, [esp + 0x58]
adc edx, edi
mov edi, dword [esp + 0x44]
add eax, ebx
adc edx, edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
call fcn.0040c47f
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x46b94a
mov esi, eax
lea ecx, [esp + 0x58]
call fcn.0040c39f
lea ecx, [esp + 0x30]
call fcn.0040aad6
mov eax, esi
jmp 0x46b977
lea ecx, [esp + 0x58]
call fcn.0040c39f
lea ecx, [esp + 0x30]
call fcn.0040aad6
mov eax, 1
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb0
ret 0x14