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

Disassembly:
push 0xffffffffffffffff
push 0x4e8b58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor ebp, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], ebp
call fcn.004be970
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 1
call fcn.004be970
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 2
call fcn.004be970
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 3
call fcn.004d7750
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 4
call fcn.004c86c0
push ecx
lea eax, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x88], 5
call fcn.004be980
lea ecx, [esp + 0x28]
call fcn.004beca0
mov cx, word [esp + 0x90]
lea edx, [esp + 0x24]
mov word [esp + 0x28], cx
push edx
lea ecx, [esp + 0x48]
call fcn.004c7e20
mov bl, 1
test bl, bl
je 0x4185f0
lea ecx, [esp + 0x54]
xor bl, bl
call fcn.004c8cc0
lea eax, [esp + 0x2c]
push ebp
push eax
lea ecx, [esp + 0x4c]
call fcn.004c7fd0
mov ecx, eax
mov byte [esp + 0x80], 6
call fcn.004bee30
lea ecx, [esp + 0x2c]
mov byte [esp + 0x80], 5
movsx edi, ax
call fcn.004beab0
lea ecx, [esp + 0x34]
push ebp
push ecx
lea ecx, [esp + 0x4c]
call fcn.004c7fd0
push ebp
mov ecx, eax
mov byte [esp + 0x84], 7
call fcn.004bec90
lea ecx, [esp + 0x34]
mov byte [esp + 0x90], al
mov byte [esp + 0x80], 5
call fcn.004beab0
lea edx, [esp + 0x3c]
push ebp
push edx
lea ecx, [esp + 0x4c]
call fcn.004c7fd0
push 3
mov ecx, eax
mov byte [esp + 0x84], 8
call fcn.004bec90
and al, 0xf0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x13], al
mov byte [esp + 0x80], 5
call fcn.004beab0
cmp dword [esi + 0x4c], ebp
je 0x4185b4
cmp edi, 4
jne 0x4185b4
cmp byte [esp + 0x90], 1
jne 0x4185b4
cmp byte [esp + 0x13], 0xb0
je 0x4185e3
sub esp, 0x24
lea ecx, [esp + 0x68]
mov eax, esp
mov dword [esp + 0xb4], esp
push ebp
push ecx
push eax
mov ecx, 0x5201c8
call fcn.004c5d10
lea ecx, [esp + 0x78]
call fcn.004c8870
lea ecx, [esp + 0x54]
call fcn.004c8ca0
cmp word [esp + 0x28], bp
je 0x418c7e
jmp 0x418611
sub esp, 0x24
mov ecx, 0x5201c8
mov edx, esp
mov dword [esp + 0xb4], esp
push ebp
push edx
call fcn.004c6a60
lea ecx, [esp + 0x78]
call fcn.004c8870
lea ecx, [esp + 0x54]
call fcn.004c8ca0
test ax, ax
jle 0x418cf0
push ebp
lea ecx, [esp + 0x58]
call fcn.004c8be0
mov ecx, dword [eax + 4]
cmp ecx, ebp
je 0x4184e6
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
je 0x4184e6
push ebp
lea ecx, [esp + 0x58]
call fcn.004c8be0
mov ecx, dword [eax + 4]
cmp ecx, ebp
jne 0x418660
mov dword [esp + 0x90], ebp
jmp 0x41866f
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
xor ecx, ecx
cmp eax, ebp
jle 0x4184e6
mov eax, ecx
inc ecx
mov dword [esp + 0x1c], ecx
push eax
push ebp
lea ecx, [esp + 0x5c]
call fcn.004c8be0
mov ecx, eax
call fcn.00411b50
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004be980
lea ecx, [esp + 0x18]
call fcn.004beca0
lea ecx, [esp + 0x14]
call fcn.004bee30
test ax, ax
je 0x4184e6
lea ecx, [esp + 0x14]
call fcn.004bee30
cmp ax, 8
jl 0x418aa4
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
and al, 0xf0
cmp al, 0x10
jne 0x418810
push 6
lea ecx, [esp + 0x18]
call fcn.004bec90
cmp al, 0x7f
jne 0x418810
push ebp
lea ecx, [esp + 0x18]
xor edi, edi
call fcn.004bec90
and eax, 0xff
dec eax
test eax, eax
jle 0x418743
lea ecx, [edi + 4]
push ecx
lea ecx, [esp + 0x18]
call fcn.004bec90
push eax
push edi
mov ecx, 0x520174
call fcn.004bedb0
push ebp
lea ecx, [esp + 0x18]
inc edi
call fcn.004bec90
and eax, 0xff
movsx edx, di
dec eax
cmp edx, eax
jl 0x418712
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
and al, 0xf
cmp al, 0xf
mov byte [esi + 0x46], al
jne 0x41875d
mov byte [esi + 0x46], 0
jmp 0x418762
inc al
mov byte [esi + 0x46], al
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 1
push 0x510064
call fcn.004bea10
lea ecx, [esp + 0x8c]
call fcn.004beca0
xor eax, eax
lea ecx, [esp + 0x88]
mov al, byte [esi + 0x45]
push eax
call fcn.004bee10
mov cl, byte [esi + 0x44]
push ecx
lea ecx, [esp + 0x8c]
call fcn.004bee10
mov dl, byte [esi + 0x46]
lea ecx, [esp + 0x88]
or dl, 0xb0
push edx
call fcn.004bee10
push ecx
lea eax, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004be980
lea ecx, [esp + 0x28]
call fcn.004beca0
push 8
lea ecx, [esp + 0x18]
call fcn.004bec90
cmp al, 0x21
jne 0x4187ee
mov word [esp + 0x28], 0xff
jmp 0x418c4d
push 8
lea ecx, [esp + 0x18]
call fcn.004bec90
sub al, 0x78
neg al
sbb eax, eax
and al, 2
add eax, 0xfe
mov word [esp + 0x28], ax
jmp 0x418c4d
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
and eax, 0xf0
cmp eax, 0xb0
ja case.0x418ada.3
xor edx, edx
mov dl, byte [eax + 0x418d8c]
jmp dword [edx*4 + 0x418d78]
xor bl, bl
mov word [esp + 0x28], 0xfe
jmp case.0x418ada.3
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
cmp al, 0xa3
jne 0x4188dd
lea ecx, [esp + 0x44]
call fcn.004c8030
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 1
push 0x510060
call fcn.004bea10
lea ecx, [esp + 0x1c]
call fcn.004beca0
xor eax, eax
lea ecx, [esp + 0x18]
mov al, byte [esi + 0x45]
push eax
call fcn.004bee10
mov cl, byte [esi + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004bee10
push 6
push 0x510058
lea ecx, [esp + 0x20]
call fcn.004bf050
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004be980
lea ecx, [esp + 0x28]
call fcn.004beca0
lea eax, [esp + 0x24]
lea ecx, [esp + 0x44]
push eax
mov word [esp + 0x2c], 0xfe
call fcn.004c7e20
mov bl, 1
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
cmp al, 0xa8
jne case.0x418ada.3
lea ecx, [esp + 0x44]
call fcn.004c8030
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 1
push 0x510060
call fcn.004bea10
lea ecx, [esp + 0x1c]
call fcn.004beca0
xor ecx, ecx
mov cl, byte [esi + 0x45]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004bee10
mov dl, byte [esi + 0x44]
lea ecx, [esp + 0x18]
push edx
call fcn.004bee10
push 1
push 0x510054
lea ecx, [esp + 0x20]
call fcn.004bf050
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004be980
lea ecx, [esp + 0x28]
call fcn.004beca0
mov word [esp + 0x28], bp
jmp 0x418c56
push ebp
lea ecx, [esp + 0x18]
xor edi, edi
call fcn.004bec90
and eax, 0xff
dec eax
test eax, eax
jle 0x4189ad
lea edx, [edi + 4]
lea ecx, [esp + 0x14]
push edx
call fcn.004bec90
mov ecx, dword [esp + 0x8c]
push eax
call fcn.004bee10
push ebp
lea ecx, [esp + 0x18]
inc edi
call fcn.004bec90
and eax, 0xff
movsx ecx, di
dec eax
cmp ecx, eax
jl 0x41897b
xor bl, bl
jmp case.0x418ada.3
push ebp
lea ecx, [esp + 0x18]
xor edi, edi
call fcn.004bec90
and eax, 0xff
dec eax
test eax, eax
jle 0x4189fc
lea edx, [edi + 4]
lea ecx, [esp + 0x14]
push edx
call fcn.004bec90
mov ecx, dword [esp + 0x8c]
push eax
call fcn.004bee10
push ebp
lea ecx, [esp + 0x18]
inc edi
call fcn.004bec90
and eax, 0xff
movsx ecx, di
dec eax
cmp ecx, eax
jl 0x4189ca
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
and al, 0xf
cmp al, 0xf
mov byte [esi + 0x46], al
jne 0x418a16
mov byte [esi + 0x46], 0
jmp 0x418a1b
inc al
mov byte [esi + 0x46], al
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 1
push 0x510064
call fcn.004bea10
lea ecx, [esp + 0x8c]
call fcn.004beca0
xor edx, edx
lea ecx, [esp + 0x88]
mov dl, byte [esi + 0x45]
push edx
call fcn.004bee10
mov al, byte [esi + 0x44]
lea ecx, [esp + 0x88]
push eax
call fcn.004bee10
mov cl, byte [esi + 0x46]
or cl, 0xb0
push ecx
lea ecx, [esp + 0x8c]
call fcn.004bee10
push ecx
lea edx, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004be980
lea ecx, [esp + 0x28]
call fcn.004beca0
lea ecx, [esp + 0x44]
mov word [esp + 0x28], bp
call fcn.004c8030
lea eax, [esp + 0x24]
push eax
jmp 0x418c5b
lea ecx, [esp + 0x14]
call fcn.004bee30
cmp ax, 4
jl case.0x418ada.3
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
and eax, 0xf0
cmp eax, 0xb0
ja case.0x418ada.3
xor ecx, ecx
mov cl, byte [eax + 0x418e50]
jmp dword [ecx*4 + 0x418e40]
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
cmp al, 0xa3
jne case.0x418ada.3
lea ecx, [esp + 0x44]
call fcn.004c8030
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 1
push 0x510060
call fcn.004bea10
lea ecx, [esp + 0x1c]
call fcn.004beca0
xor edx, edx
lea ecx, [esp + 0x18]
mov dl, byte [esi + 0x45]
push edx
call fcn.004bee10
mov al, byte [esi + 0x44]
lea ecx, [esp + 0x18]
push eax
call fcn.004bee10
push 6
push 0x510058
lea ecx, [esp + 0x20]
call fcn.004bf050
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.004be980
lea ecx, [esp + 0x28]
call fcn.004beca0
lea eax, [esp + 0x24]
mov word [esp + 0x28], 0xfe
push eax
jmp 0x418c5b
push ebp
lea ecx, [esp + 0x18]
xor edi, edi
call fcn.004bec90
and eax, 0xff
dec eax
test eax, eax
jle 0x418bb8
lea ecx, [edi + 4]
push ecx
lea ecx, [esp + 0x18]
call fcn.004bec90
mov ecx, dword [esp + 0x8c]
push eax
call fcn.004bee10
push ebp
lea ecx, [esp + 0x18]
inc edi
call fcn.004bec90
and eax, 0xff
movsx edx, di
dec eax
cmp edx, eax
jl 0x418b86
push 3
lea ecx, [esp + 0x18]
call fcn.004bec90
and al, 0xf
cmp al, 0xf
mov byte [esi + 0x46], al
jne 0x418bd2
mov byte [esi + 0x46], 0
jmp 0x418bd7
inc al
mov byte [esi + 0x46], al
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 1
push 0x510064
call fcn.004bea10
lea ecx, [esp + 0x8c]
call fcn.004beca0
xor eax, eax
lea ecx, [esp + 0x88]
mov al, byte [esi + 0x45]
push eax
call fcn.004bee10
mov cl, byte [esi + 0x44]
push ecx
lea ecx, [esp + 0x8c]
call fcn.004bee10
mov dl, byte [esi + 0x46]
lea ecx, [esp + 0x88]
or dl, 0xb0
push edx
call fcn.004bee10
push ecx
lea eax, [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004be980
lea ecx, [esp + 0x28]
call fcn.004beca0
mov word [esp + 0x28], bp
lea ecx, [esp + 0x44]
call fcn.004c8030
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x48]
call fcn.004c7e20
mov bl, 1
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x90]
cmp ecx, eax
jl 0x418680
jmp 0x4184e6
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 4
call fcn.004c87c0
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 3
call fcn.004c7a70
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 2
call fcn.004beab0
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 1
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0
call fcn.004beab0
lea ecx, [esp + 0x88]
mov dword [esp + 0x80], 0xffffffff
call fcn.004beab0
mov ax, 1
jmp 0x418d60
lea ecx, [esp + 0x54]
mov byte [esp + 0x80], 4
call fcn.004c87c0
lea ecx, [esp + 0x44]
mov byte [esp + 0x80], 3
call fcn.004c7a70
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 2
call fcn.004beab0
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 1
call fcn.004beab0
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 0
call fcn.004beab0
lea ecx, [esp + 0x88]
mov dword [esp + 0x80], 0xffffffff
call fcn.004beab0
or ax, 0xffff
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 0xc