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

Disassembly:
push 0xffffffffffffffff
push 0x4fad20
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.00403f30
mov ecx, eax
mov dword [esp + 0x64], 0
call fcn.0046f610
mov ebx, eax
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], ebx
test eax, eax
je 0x46ee44
push 0
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00479b60
mov eax, dword [edi + 4]
test eax, eax
jbe 0x46ee19
cmp eax, 0xffffffff
jae 0x46ee19
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.00479ba0
test esi, esi
je 0x46ee44
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
push esi
call fcn.0047c2d0
add esp, 4
lea esi, [esp + 0x34]
mov ecx, ebx
call fcn.0046f460
mov ecx, 1
mov dword [esp + 0x64], ecx
mov al, byte [ebp]
cmp al, 0x2b
je 0x46ee86
cmp al, 0x2d
je 0x46ee86
cmp al, 0x30
jne 0x46ee7c
mov al, byte [ebp + 1]
cmp al, 0x78
je 0x46ee72
cmp al, 0x58
jne 0x46ee7c
mov dword [esp + 0x1c], 2
jmp 0x46ee8a
mov dword [esp + 0x1c], 0
jmp 0x46ee8a
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov eax, edx
cmp ecx, 0x10
jae 0x46ee9d
lea eax, [esp + 0x3c]
cmp byte [eax], 0x7f
je 0x46ef34
mov eax, edx
cmp ecx, 0x10
jae 0x46eeb1
lea eax, [esp + 0x3c]
cmp byte [eax], 0
jle 0x46ef34
cmp ecx, 0x10
jb 0x46eec1
mov dword [esp + 0x18], edx
jmp 0x46eec9
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 0x46ef21
test al, al
jle 0x46ef1d
mov edx, esi
sub edx, dword [esp + 0x1c]
movsx eax, al
cmp eax, edx
jae 0x46ef1d
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.0047ebc0
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [edi], 0
inc ebx
cmp byte [eax + 1], 0
jle 0x46ef17
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x46eed9
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x24]
mov esi, dword [eax + 0x18]
test esi, esi
jle 0x46ef3a
cmp esi, ebx
jbe 0x46ef3a
sub esi, ebx
jmp 0x46ef3c
mov ebx, dword [esp + 0x7c]
jmp 0x46ef21
xor esi, esi
mov eax, dword [eax + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x46efec
cmp eax, 0x100
je 0x46ef78
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.0046f0b0
add esp, 8
jmp 0x46efd3
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.0046f340
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.0046f0b0
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.0046f3b0
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.0046f0b0
add esp, 8
mov dword [esp + 0x64], 0xffffffff
cmp dword [esp + 0x50], 0x10
jb 0x46f06a
mov eax, dword [esp + 0x3c]
push eax
call fcn.0047c2f0
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.0047bfe0
add esp, 0x54
ret