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

Disassembly:
push 0xffffffffffffffff
push 0x4f86f0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5344a8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5344a8]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov ebp, dword [esp + 0x78]
lea edi, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.00403ed0
mov ecx, eax
mov dword [esp + 0x64], 0
call fcn.0046d5e0
mov ebx, eax
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x46ce14
push 0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00477370
mov eax, dword [edi + 4]
test eax, eax
jbe 0x46cde9
cmp eax, 0xffffffff
jae 0x46cde9
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, edi
call fcn.004773b0
test esi, esi
je 0x46ce14
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
call fcn.00479aa0
add esp, 4
lea esi, [esp + 0x34]
mov ecx, ebx
call fcn.0046d430
mov ecx, 1
mov dword [esp + 0x64], ecx
mov al, byte [ebp]
cmp al, 0x2b
je 0x46ce56
cmp al, 0x2d
je 0x46ce56
cmp al, 0x30
jne 0x46ce4c
mov al, byte [ebp + 1]
cmp al, 0x78
je 0x46ce42
cmp al, 0x58
jne 0x46ce4c
mov dword [esp + 0x1c], 2
jmp 0x46ce5a
mov dword [esp + 0x1c], 0
jmp 0x46ce5a
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp ecx, 0x10
jae 0x46ce6d
lea eax, [esp + 0x3c]
cmp byte [eax], 0x7f
je 0x46cf04
mov eax, edx
cmp ecx, 0x10
jae 0x46ce81
lea eax, [esp + 0x3c]
cmp byte [eax], 0
jle 0x46cf04
cmp ecx, 0x10
jb 0x46ce91
mov dword [esp + 0x18], edx
jmp 0x46ce99
lea eax, [esp + 0x3c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x18]
mov al, byte [ecx]
mov ebx, dword [esp + 0x7c]
mov esi, ebx
cmp al, 0x7f
je 0x46cef1
test al, al
jle 0x46ceed
mov edx, esi
sub edx, dword [esp + 0x1c]
movsx eax, al
cmp eax, edx
jae 0x46ceed
sub esi, eax
mov eax, ebx
sub eax, esi
inc eax
push eax
lea edi, [esi + ebp]
push edi
push eax
lea ecx, [esi + ebp + 1]
push ecx
call fcn.0047c380
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [edi], 0
inc ebx
cmp byte [eax + 1], 0
jle 0x46cee7
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x46cea9
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x46cf0a
cmp esi, ebx
jbe 0x46cf0a
sub esi, ebx
jmp 0x46cf0c
mov ebx, dword [esp + 0x7c]
jmp 0x46cef1
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x46cfbc
cmp eax, 0x100
je 0x46cf48
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
mov bl, byte [esp + 0x74]
push edx
push eax
mov eax, esi
lea edi, [esp + 0x24]
call fcn.0046d0f0
add esp, 8
jmp 0x46cfa3
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
push edi
push eax
push ecx
lea edx, [esp + 0x28]
push edx
mov eax, ebp
call fcn.0046d080
mov ecx, dword [eax]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x94], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
sub ebx, edi
push ecx
add ebp, edi
mov dword [esp + 0x90], ebx
mov bl, byte [esp + 0x88]
push edx
mov eax, esi
lea edi, [esp + 0x34]
call fcn.0046d0f0
add esp, 0x18
mov ecx, dword [eax]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x80], ecx
mov edx, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x84], edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push ecx
push edx
push ebx
lea ecx, [esp + 0x38]
push ebp
push ecx
call fcn.0046d380
mov ecx, dword [eax]
mov edx, dword [esp + 0x38]
mov bl, byte [esp + 0x88]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x94], ecx
mov eax, dword [eax + 4]
add esp, 0x14
push eax
mov dword [esp + 0x88], eax
push ecx
mov eax, esi
mov dword [edx + 0x18], 0
call fcn.0046d0f0
add esp, 8
mov dword [esp + 0x64], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x46d03a
mov eax, dword [esp + 0x3c]
push eax
call fcn.00479ac0
add esp, 4
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], eax
mov byte [esp + 0x3c], al
call fcn.00401050
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004797c0
add esp, 0x54
ret