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

Disassembly:
push 0xffffffffffffffff
push 0x4fbf20
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5384a8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5384a8]
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.00403f00
mov ecx, eax
mov dword [esp + 0x64], 0
call fcn.004706f0
mov ebx, eax
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x46ff24
push 0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.0047ac60
mov eax, dword [edi + 4]
test eax, eax
jbe 0x46fef9
cmp eax, 0xffffffff
jae 0x46fef9
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.0047aca0
test esi, esi
je 0x46ff24
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
call fcn.0047d3c0
add esp, 4
lea esi, [esp + 0x34]
mov ecx, ebx
call fcn.00470540
mov ecx, 1
mov dword [esp + 0x64], ecx
mov al, byte [ebp]
cmp al, 0x2b
je 0x46ff66
cmp al, 0x2d
je 0x46ff66
cmp al, 0x30
jne 0x46ff5c
mov al, byte [ebp + 1]
cmp al, 0x78
je 0x46ff52
cmp al, 0x58
jne 0x46ff5c
mov dword [esp + 0x1c], 2
jmp 0x46ff6a
mov dword [esp + 0x1c], 0
jmp 0x46ff6a
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp ecx, 0x10
jae 0x46ff7d
lea eax, [esp + 0x3c]
cmp byte [eax], 0x7f
je 0x470014
mov eax, edx
cmp ecx, 0x10
jae 0x46ff91
lea eax, [esp + 0x3c]
cmp byte [eax], 0
jle 0x470014
cmp ecx, 0x10
jb 0x46ffa1
mov dword [esp + 0x18], edx
jmp 0x46ffa9
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 0x470001
test al, al
jle 0x46fffd
mov edx, esi
sub edx, dword [esp + 0x1c]
movsx eax, al
cmp eax, edx
jae 0x46fffd
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.0047fca0
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [edi], 0
inc ebx
cmp byte [eax + 1], 0
jle 0x46fff7
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x46ffb9
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x47001a
cmp esi, ebx
jbe 0x47001a
sub esi, ebx
jmp 0x47001c
mov ebx, dword [esp + 0x7c]
jmp 0x470001
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x4700cc
cmp eax, 0x100
je 0x470058
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.00470190
add esp, 8
jmp 0x4700b3
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.00470420
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.00470190
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.00470490
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.00470190
add esp, 8
mov dword [esp + 0x64], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x47014a
mov eax, dword [esp + 0x3c]
push eax
call fcn.0047d3e0
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.0047d0e0
add esp, 0x54
ret