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

Disassembly:
push 0xffffffffffffffff
push 0x4fab20
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5364a8]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364a8]
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.00403ee0
mov ecx, eax
mov dword [esp + 0x64], 0
call fcn.0046fbc0
mov ebx, eax
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x46f3f4
push 0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00479930
mov eax, dword [edi + 4]
test eax, eax
jbe 0x46f3c9
cmp eax, 0xffffffff
jae 0x46f3c9
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.00479970
test esi, esi
je 0x46f3f4
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
call fcn.0047c090
add esp, 4
lea esi, [esp + 0x34]
mov ecx, ebx
call fcn.0046fa10
mov ecx, 1
mov dword [esp + 0x64], ecx
mov al, byte [ebp]
cmp al, 0x2b
je 0x46f436
cmp al, 0x2d
je 0x46f436
cmp al, 0x30
jne 0x46f42c
mov al, byte [ebp + 1]
cmp al, 0x78
je 0x46f422
cmp al, 0x58
jne 0x46f42c
mov dword [esp + 0x1c], 2
jmp 0x46f43a
mov dword [esp + 0x1c], 0
jmp 0x46f43a
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp ecx, 0x10
jae 0x46f44d
lea eax, [esp + 0x3c]
cmp byte [eax], 0x7f
je 0x46f4e4
mov eax, edx
cmp ecx, 0x10
jae 0x46f461
lea eax, [esp + 0x3c]
cmp byte [eax], 0
jle 0x46f4e4
cmp ecx, 0x10
jb 0x46f471
mov dword [esp + 0x18], edx
jmp 0x46f479
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 0x46f4d1
test al, al
jle 0x46f4cd
mov edx, esi
sub edx, dword [esp + 0x1c]
movsx eax, al
cmp eax, edx
jae 0x46f4cd
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.0047e970
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [edi], 0
inc ebx
cmp byte [eax + 1], 0
jle 0x46f4c7
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x46f489
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x46f4ea
cmp esi, ebx
jbe 0x46f4ea
sub esi, ebx
jmp 0x46f4ec
mov ebx, dword [esp + 0x7c]
jmp 0x46f4d1
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x46f59c
cmp eax, 0x100
je 0x46f528
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.0046f660
add esp, 8
jmp 0x46f583
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.0046f8f0
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.0046f660
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.0046f960
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.0046f660
add esp, 8
mov dword [esp + 0x64], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x46f61a
mov eax, dword [esp + 0x3c]
push eax
call fcn.0047c0b0
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.0047bdb0
add esp, 0x54
ret