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

Disassembly:
push 0xffffffffffffffff
push 0x48c013
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.0040aba9
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.0040abc8
test al, al
je 0x46d36e
mov eax, dword [esp + 0xc4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x3c], eax
call fcn.0040ac17
push 0x100000
lea ecx, [esp + 0x5c]
call fcn.0040c4f5
test al, al
je 0x46d36e
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x6c], ecx
lea ecx, [esp + 0x58]
call fcn.0040c540
lea edx, [esp + 0x88]
push 3
push edx
lea ecx, [esp + 0x38]
call fcn.0040ace1
cmp eax, 3
jb 0x46d680
cmp byte [esp + 0x88], 0x1f
jne 0x46d680
cmp byte [esp + 0x89], 0x9d
jne 0x46d680
mov al, byte [esp + 0x8a]
test al, 0x60
mov bl, al
jne 0x46d680
and eax, 0x1f
cmp eax, 9
mov dword [esp + 0x20], eax
jb 0x46d680
cmp eax, 0x10
ja 0x46d680
mov ebp, 1
mov ecx, eax
shl ebp, cl
cmp eax, dword [esi + 0x14]
mov dword [esp + 0x80], ebp
jne 0x46d33b
cmp dword [esi + 8], edi
je 0x46d33b
cmp dword [esi + 0xc], edi
je 0x46d33b
cmp dword [esi + 0x10], edi
jne 0x46d391
mov ecx, esi
call fcn.0046d1c0
lea ecx, [ebp + ebp]
call fcn.00470320
cmp eax, edi
mov dword [esi + 8], eax
je 0x46d36e
mov ecx, ebp
call fcn.00470320
cmp eax, edi
mov dword [esi + 0xc], eax
je 0x46d36e
mov ecx, ebp
call fcn.00470320
cmp eax, edi
mov dword [esi + 0x10], eax
jne 0x46d38a
lea ecx, [esp + 0x58]
call fcn.0040c531
lea ecx, [esp + 0x30]
call fcn.0040ac06
mov eax, 0x8007000e
jmp 0x46d697
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 0x46d3f7
xor edi, edi
cmp dword [esp + 0x1c], ebp
jne 0x46d4b8
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
push ecx
push edx
lea ecx, [esp + 0x38]
call fcn.0040ace1
shl eax, 3
lea ecx, [esp + 0x58]
mov dword [esp + 0x1c], eax
xor ebp, ebp
call fcn.0040c558
mov ebx, dword [esp + 0xd4]
mov dword [esp + 0xa4], eax
cmp ebx, edi
mov dword [esp + 0xa8], edx
je 0x46d4b8
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 0x46d461
cmp ecx, 0x2000
jb 0x46d4b8
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 0x46d612
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 0x46d630
cmp ebx, dword [esp + 0x18]
jae 0x46d628
cmp ebx, dword [esp + 0x84]
jne 0x46d53c
xor ebp, ebp
mov dword [esp + 0x14], 9
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], 0x101
mov byte [esp + 0x13], 0
jmp 0x46d3f5
xor edi, edi
cmp ebx, 0x100
mov eax, ebx
jb 0x46d568
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 0x46d548
mov edx, dword [esi + 0x10]
mov cl, byte [esp + 0x13]
mov byte [edx + edi], al
inc edi
test cl, cl
je 0x46d58c
mov edx, dword [esi + 0xc]
mov ecx, dword [esp + 0x18]
mov byte [edx + ecx - 1], al
dec ecx
cmp ebx, ecx
jne 0x46d58c
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 0x46d5b8
lea ecx, [esp + 0x58]
call fcn.0040c62d
test edi, edi
ja 0x46d58c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
cmp eax, ecx
jae 0x46d532
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 0x46d3f5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp edx, eax
jae 0x46d3f5
mov eax, edx
xor ebp, ebp
inc eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
jmp 0x46d3f5
lea ecx, [esp + 0x58]
call fcn.0040c531
lea ecx, [esp + 0x30]
call fcn.0040ac06
mov eax, edi
jmp 0x46d697
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.0040c611
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x46d66a
mov esi, eax
lea ecx, [esp + 0x58]
call fcn.0040c531
lea ecx, [esp + 0x30]
call fcn.0040ac06
mov eax, esi
jmp 0x46d697
lea ecx, [esp + 0x58]
call fcn.0040c531
lea ecx, [esp + 0x30]
call fcn.0040ac06
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