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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x418ada
sub esp, 0x7c
mov ebx, dword [esp + 0x80]
and ebx, 3
cmp ebx, 0
je 0x41864d
mov ebx, 0x4886e7
mov dword [esp], ebx
mov dword [esp + 4], 0x23
call fcn.004251e0
mov edx, dword [esp + 0x94]
mov edi, dword [esp + 0x9c]
xor ebx, ebx
mov eax, edi
shr edi, 3
mov ecx, eax
and ecx, 7
mov ebx, 1
shl ebx, cl
mov esi, ebx
mov edx, dword [edx + 0x2c]
add edx, edi
xor ebx, ebx
mov dword [esp + 0x70], edx
xchg esi, eax
mov byte [esp + 0x74], al
xchg esi, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], edx
xchg esi, eax
mov byte [esp + 0x44], al
xchg esi, eax
mov ecx, esi
mov dword [esp + 0x48], eax
cmp byte [0x4d0f56], 0
je 0x418a0b
mov dword [esp + 0x4c], edx
mov byte [esp + 0x50], cl
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], edx
movzx ebp, byte [edx]
mov byte [esp + 0x68], cl
and ebp, ecx
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x418a01
xor eax, eax
cmp al, 0
jne 0x41882e
call fcn.004259c0
mov ebx, dword [esp + 0x80]
xor ecx, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
call fcn.004259c0
mov ebx, 0x489edf
mov dword [esp], ebx
mov dword [esp + 4], 0x44
call fcn.004263d0
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00426260
mov ebx, 0x484313
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.004263d0
call fcn.00425a40
mov ebx, dword [esp + 0x84]
xor ecx, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
mov ebx, dword [esp + 0x88]
xor ecx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
call fcn.004259c0
mov ebx, 0x486d0b
mov dword [esp], ebx
mov dword [esp + 4], 0x18
call fcn.004263d0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
call fcn.00426260
mov ebx, 0x484308
mov dword [esp], ebx
mov dword [esp + 4], 1
call fcn.004263d0
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.00426260
mov ebx, 0x484325
mov dword [esp], ebx
mov dword [esp + 4], 2
call fcn.004263d0
call fcn.00425a40
mov ebx, 0x4843f2
mov dword [esp], ebx
mov dword [esp + 4], 4
mov ebx, dword [esp + 0x84]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0xc], ebx
call fcn.00418af0
mov ebx, 0x48437e
mov dword [esp], ebx
mov dword [esp + 4], 3
mov ebx, dword [esp + 0x80]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 0xffffffff
call fcn.00418af0
mov ebx, 0x487e1d
mov dword [esp], ebx
mov dword [esp + 4], 0x1f
call fcn.004251e0
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
cmp ebp, 4
jne 0x4189cf
mov dword [esp + 0x38], ecx
movzx ebx, byte [ecx]
mov ecx, edx
mov dword [esp + 0x3c], edx
cmp edx, 8
jae 0x4189c8
shr bl, cl
and ebx, 1
cmp bl, 0
jne 0x4189be
xor eax, eax
cmp al, 0
je 0x41887e
add esp, 0x7c
ret
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
mov dword [esp + 8], ebp
call fcn.0040d310
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
cmp ebp, 4
jne 0x41898c
mov dword [esp + 0x30], ecx
movzx ebx, byte [ecx]
mov ecx, edx
mov dword [esp + 0x34], edx
cmp edx, 8
jae 0x418985
shr bl, cl
and ebx, 1
cmp bl, 0
jne 0x41897b
xor eax, eax
cmp al, 0
jne 0x418907
mov ebx, 0x48907d
mov dword [esp], ebx
mov dword [esp + 4], 0x29
call fcn.004251e0
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x80]
mov eax, dword [eax]
xor ebp, ebp
cmp eax, ebp
jne 0x418942
xor eax, eax
cmp al, 0
jne 0x41893e
mov ebx, dword [esp + 0x98]
mov dword [esp], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
call fcn.0041a720
add esp, 0x7c
ret
mov ebp, dword [eax + 0xc]
cmp ebp, 0x1fc
jne 0x418951
xor eax, eax
jmp 0x41891f
mov ebp, dword [eax + 0xc]
lea esi, [eax + 0x10]
cmp ebp, 0x1fc
jae 0x418974
shl ebp, 2
add esi, ebp
mov dword [esi], edx
mov ecx, dword [eax + 0xc]
inc ecx
mov dword [eax + 0xc], ecx
mov eax, 1
jmp 0x41891f
call fcn.00423570
ud2
mov eax, 1
jmp 0x4188ed
xor ebx, ebx
jmp 0x4188dd
mov dword [esp + 0x30], ecx
movzx ebx, byte [ecx]
mov dword [esp + 0x34], edx
mov ecx, edx
inc ecx
cmp ecx, 8
jae 0x4189ba
shr bl, cl
and ebx, 0x10
cmp bl, 0
jne 0x4189b0
xor eax, eax
jmp 0x4188ed
mov eax, 1
jmp 0x4188ed
xor ebx, ebx
jmp 0x41899f
mov eax, 1
jmp 0x418875
xor ebx, ebx
jmp 0x418865
mov dword [esp + 0x38], ecx
movzx ebx, byte [ecx]
mov dword [esp + 0x3c], edx
mov ecx, edx
inc ecx
cmp ecx, 8
jae 0x4189fd
shr bl, cl
and ebx, 0x10
cmp bl, 0
jne 0x4189f3
xor eax, eax
jmp 0x418875
mov eax, 1
jmp 0x418875
xor ebx, ebx
jmp 0x4189e2
mov eax, 1
jmp 0x4186cc
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], edx
movzx ebp, byte [edx]
xchg esi, eax
mov byte [esp + 0x5c], al
xchg esi, eax
and ebp, esi
xchg ebp, eax
cmp al, 0
xchg ebp, eax
jne 0x418ad0
xor eax, eax
cmp al, 0
je 0x418a38
add esp, 0x7c
ret
mov dword [esp + 0x4c], edx
mov dword [esp], edx
mov byte [esp + 0x50], cl
mov byte [esp + 4], cl
call fcn.00452770
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
cmp ebp, 4
jne 0x418aad
mov eax, 1
cmp al, 0
jne 0x418907
mov ebx, dword [esp + 0x98]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x40]
xor ecx, ecx
add eax, ebp
adc edx, ecx
mov ebx, dword [esp + 0x98]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
add esp, 0x7c
ret
movzx ebx, byte [ecx]
mov ecx, edx
cmp edx, 8
jae 0x418acc
shr bl, cl
and ebx, 0x10
cmp bl, 0
jne 0x418ac5
xor eax, eax
jmp 0x418a76
mov eax, 1
jmp 0x418a76
xor ebx, ebx
jmp 0x418ab7
mov eax, 1
jmp 0x418a2f
call fcn.004489b0
jmp fcn.00418610