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

Disassembly:
push 0xffffffffffffffff
push 0x4fab68
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5364a8]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5364a8]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov eax, dword [esp + 0x94]
mov ebp, dword [esp + 0x9c]
lea edi, [esp + 0x38]
mov dword [esp + 0x2c], eax
call fcn.00403ee0
mov ecx, eax
mov dword [esp + 0x88], 0
call fcn.0046fbc0
mov edi, eax
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], edi
test eax, eax
je 0x46eca3
push 0
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.00479930
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x46ec78
cmp eax, 0xffffffff
jae 0x46ec78
dec eax
mov dword [ebx + 4], eax
mov esi, dword [ebx + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x20]
and esi, ebx
call fcn.00479970
test esi, esi
je 0x46eca3
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 + 0x5c]
mov ecx, edi
call fcn.0046fa10
mov esi, 1
mov dword [esp + 0x88], esi
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
xor ecx, ecx
mov byte [esp + 0x17], al
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ecx
mov byte [esp + 0x44], cl
mov byte [esp + 0x88], 2
mov al, byte [ebp]
cmp al, 0x2b
je 0x46ecf4
mov dword [esp + 0x20], ecx
cmp al, 0x2d
jne 0x46ecf8
mov dword [esp + 0x20], esi
call fcn.0048ce60
mov eax, dword [eax]
mov esi, dword [esp + 0xac]
mov cl, byte [eax]
push esi
push 0x65
push ebp
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], 0x65
mov byte [esp + 0x2a], 0
call fcn.004800d0
movsx edx, byte [esp + 0x28]
add esp, 0xc
push esi
push edx
mov edi, eax
push ebp
mov dword [esp + 0x24], edi
call fcn.004800d0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x46ed49
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x64]
mov eax, edx
cmp ecx, 0x10
jae 0x46ed5c
lea eax, [esp + 0x64]
cmp byte [eax], 0x7f
je 0x46eeb1
mov eax, edx
cmp ecx, 0x10
jae 0x46ed70
lea eax, [esp + 0x64]
cmp byte [eax], 0
jle 0x46eeb1
push esi
push ebp
lea eax, [esp + 0x44]
call fcn.00428be0
test edi, edi
jne 0x46eda3
mov eax, dword [esp + 0xa8]
push 0x30
lea edi, [esp + 0x40]
call fcn.00407780
mov ebx, dword [esp + 0xa0]
jmp 0x46eddd
test ebx, ebx
jne 0x46edbf
mov eax, dword [esp + 0xa0]
push 0x30
lea edi, [esp + 0x40]
call fcn.00407780
mov edi, dword [esp + 0x18]
jmp 0x46edc6
mov ebx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa8]
push 0x30
push eax
mov eax, edi
sub eax, ebp
lea edi, [esp + 0x44]
call fcn.0046f7f0
mov esi, dword [esp + 0x30]
push 0x30
lea edi, [esp + 0x40]
test esi, esi
jne 0x46edf4
mov eax, ebx
call fcn.00407780
jmp 0x46ee1f
mov ecx, dword [esp + 0xa8]
sub esi, ebp
push ecx
lea eax, [esi + 1]
call fcn.0046f7f0
push 0x30
push ebx
mov eax, esi
lea edi, [esp + 0x44]
call fcn.0046f7f0
mov dword [esp + 0xa4], 0
cmp dword [esp + 0x78], 0x10
mov ebp, dword [esp + 0x64]
mov dword [esp + 0xa0], 0
jae 0x46ee39
lea ebp, [esp + 0x64]
lea edx, [esp + 0x1c]
push edx
xor edi, edi
lea eax, [esp + 0x40]
call fcn.004682a0
push eax
call fcn.0048ceb0
mov esi, eax
mov al, byte [ebp]
add esp, 8
cmp al, 0x7f
je 0x46ee90
jmp 0x46ee60
test al, al
jle 0x46ee90
mov ecx, esi
sub ecx, dword [esp + 0x20]
movsx eax, al
cmp eax, ecx
jae 0x46ee90
sub esi, eax
push 0
push 1
mov eax, esi
lea edi, [esp + 0x44]
call fcn.0046f7f0
cmp byte [ebp + 1], 0
jle 0x46ee89
inc ebp
mov al, byte [ebp]
cmp al, 0x7f
jne 0x46ee60
xor edi, edi
lea eax, [esp + 0x3c]
call fcn.004682a0
mov edx, dword [esp + 0x54]
mov ebp, eax
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], edx
mov esi, edx
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x2c]
add eax, ecx
add eax, dword [esp + 0xa8]
mov ecx, dword [edx + 0x18]
add eax, esi
test ecx, ecx
jle 0x46eee3
cmp ecx, eax
jbe 0x46eee3
sub ecx, eax
mov edi, ecx
mov dword [esp + 0x18], edi
jmp 0x46eeef
mov dword [esp + 0x18], 0
mov edi, dword [esp + 0x18]
mov eax, dword [edx + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x46efc2
cmp eax, 0x100
je 0x46ef3e
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
mov bl, byte [esp + 0x98]
push edx
push eax
mov eax, edi
lea edi, [esp + 0x38]
call fcn.0046f660
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xbc], edx
jmp 0x46efb7
cmp dword [esp + 0x20], 0
jbe 0x46ef82
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
push 1
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
mov eax, ebp
call fcn.0046f8f0
mov ecx, dword [eax]
add esp, 0x10
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
inc ebp
dec esi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xac], esi
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov bl, byte [esp + 0x98]
push eax
mov eax, edi
push ecx
lea edi, [esp + 0x38]
call fcn.0046f660
mov edx, dword [eax]
mov dword [esp + 0xb8], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xbc], eax
mov dword [esp + 0x20], 0
add esp, 8
movsx ecx, byte [esp + 0x1c]
push esi
push ecx
push ebp
call fcn.004800d0
add esp, 0xc
test eax, eax
je 0x46f0c4
mov edx, dword [esp + 0xb4]
sub eax, ebp
inc eax
push edx
mov esi, eax
mov eax, dword [esp + 0xb4]
push eax
mov al, byte [esp + 0x1f]
lea ecx, [esi - 1]
push ecx
lea edx, [esp + 0x3c]
push ebp
push edx
call fcn.0046f960
mov ecx, dword [eax]
mov dword [esp + 0xc4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc8], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0xb4]
add esp, 0x14
push ecx
push edx
mov bl, 0x30
lea edi, [esp + 0x38]
call fcn.0046f660
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xbc], edx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
add esp, 8
call edx
mov ecx, dword [esp + 0xb0]
mov bl, al
mov eax, dword [esp + 0xb4]
push eax
push ecx
mov eax, 1
lea edi, [esp + 0x2c]
call fcn.0046f660
mov edx, dword [eax]
mov dword [esp + 0xb8], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xbc], ecx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
mov eax, dword [esp + 0xb4]
mov bl, 0x30
lea edi, [esp + 0x34]
call fcn.0046f660
mov ecx, dword [eax]
add ebp, esi
add esp, 0x10
sub dword [esp + 0xac], esi
mov esi, dword [esp + 0xac]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], edx
push esi
push 0x65
push ebp
call fcn.004800d0
add esp, 0xc
test eax, eax
je 0x46f19f
mov ecx, dword [esp + 0xb0]
sub eax, ebp
inc eax
mov esi, eax
mov eax, dword [esp + 0xb4]
push eax
push ecx
lea edx, [esi - 1]
push edx
lea eax, [esp + 0x30]
push ebp
push eax
mov al, byte [esp + 0x2b]
call fcn.0046f960
mov ecx, dword [eax]
mov dword [esp + 0xc4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc8], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0xbc]
add esp, 0x14
push ecx
push edx
mov bl, 0x30
lea edi, [esp + 0x2c]
call fcn.0046f660
mov ecx, dword [eax]
mov dword [esp + 0xb8], ecx
mov ecx, dword [esp + 0x34]
mov edx, dword [eax + 4]
add esp, 8
test byte [ecx + 0x10], 4
mov dword [esp + 0xb4], edx
mov dword [esp + 0xa8], 0
mov ecx, 0x52454c
jne 0x46f164
mov ecx, 0x524550
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push edx
push eax
lea edx, [esp + 0x30]
push edx
mov eax, ecx
call fcn.0046f8f0
mov ecx, dword [eax]
add ebp, esi
add esp, 0x10
sub dword [esp + 0xac], esi
mov esi, dword [esp + 0xac]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xb4], edx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
push eax
mov al, byte [esp + 0x1b]
push ecx
push esi
lea edx, [esp + 0x30]
push ebp
push edx
call fcn.0046f960
mov ecx, dword [eax]
mov dword [esp + 0xc4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xc8], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov eax, dword [esp + 0xbc]
add esp, 0x14
push ecx
push edx
mov bl, 0x30
lea edi, [esp + 0x2c]
call fcn.0046f660
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
mov bl, byte [esp + 0xa0]
mov edi, dword [esp + 0x98]
mov dword [esp + 0xb8], ecx
mov eax, dword [eax + 4]
push eax
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x24]
push ecx
mov dword [edx + 0x18], 0
call fcn.0046f660
mov esi, 0x10
add esp, 0x10
mov byte [esp + 0x88], 1
cmp dword [esp + 0x58], esi
jb 0x46f248
mov eax, dword [esp + 0x44]
push eax
call fcn.0047c0b0
add esp, 4
xor ebx, ebx
mov ebp, 0xf
lea ecx, [esp + 0x3c]
mov dword [esp + 0x58], ebp
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00401050
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x78], esi
jb 0x46f282
mov ecx, dword [esp + 0x64]
push ecx
call fcn.0047c0b0
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.00401050
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.0047bdb0
add esp, 0x78
ret