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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x581d10]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x14], 0
test edi, edi
je 0x419a1b
push dword [esp + 0x14]
lea eax, [esp + 0x17]
push eax
push dword [edi + 4]
push dword [edi]
call fcn.00418c10
mov eax, dword [edi]
add esp, 0x10
mov dword [edi + 4], eax
cmp dword [esi + 0x10], 0
je 0x419a1b
xor eax, eax
mov dword [esp + 0x18], 0
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], 0
mov word [esp + 0x48], ax
call fcn.00417a30
xor eax, eax
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.00419a40
sub esp, 8
mov edx, esp
cmp dword [eax + 0x14], 8
jb 0x419731
mov ecx, dword [eax]
jmp 0x419733
mov ecx, eax
mov dword [edx], ecx
sub esp, 8
mov eax, dword [eax + 0x10]
mov ecx, esp
mov dword [edx + 4], eax
lea eax, [esp + 0x4c]
cmp dword [esp + 0x60], 8
cmovae eax, dword [esp + 0x4c]
mov dword [ecx], eax
mov eax, dword [esp + 0x5c]
mov dword [ecx + 4], eax
call fcn.004193c0
add esp, 0x10
test al, al
sete bl
cmp dword [esp + 0x38], 8
jb 0x419777
push dword [esp + 0x24]
call fcn.004b1ca1
add esp, 4
lea eax, [esp + 0x24]
lea ecx, [esp + 0x3c]
push eax
call fcn.00419b80
lea ecx, [esp + 0x54]
test bl, bl
je 0x419805
cmp ecx, eax
je 0x41979b
push 0xffffffffffffffff
push 0
push eax
call fcn.00417a30
cmp dword [esp + 0x38], 8
jb 0x4197ae
push dword [esp + 0x24]
call fcn.004b1ca1
add esp, 4
lea ecx, [esp + 0x54]
call fcn.00419520
test al, al
jne 0x4197c9
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041ad70
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.00419a40
lea ecx, [esp + 0x3c]
cmp ecx, eax
je 0x4197e9
push 0xffffffffffffffff
push 0
push eax
call fcn.00417a30
cmp dword [esp + 0x38], 8
jb 0x419714
push dword [esp + 0x24]
call fcn.004b1ca1
add esp, 4
jmp 0x419714
cmp ecx, eax
je 0x419817
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x60]
call fcn.00417a30
cmp dword [esp + 0x38], 8
jb 0x41982a
push dword [esp + 0x24]
call fcn.004b1ca1
add esp, 4
cmp dword [esp + 0x64], 0
je 0x419864
mov edx, 0x559fe4
lea ecx, [esp + 0x54]
call fcn.0041b4b0
test al, al
je 0x419864
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x40]
call fcn.00419b80
push eax
lea ecx, [esp + 0x1c]
call fcn.0041ad70
lea ecx, [esp + 0x24]
call fcn.00419620
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x40]
call fcn.00419a40
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
cmp dword [esp + 0x7c], 2
jb 0x4198f1
cmp word [eax + 2], 0x3a
jne 0x4198f1
movzx eax, word [eax]
cmp eax, 0x41
jb 0x41989e
cmp eax, 0x5a
jbe 0x4198a8
cmp eax, 0x61
jb 0x4198f1
cmp eax, 0x7a
ja 0x4198f1
xor eax, eax
mov dword [esp + 0x38], 7
push 2
push eax
mov word [esp + 0x2c], ax
lea ecx, [esp + 0x2c]
lea eax, [esp + 0x74]
mov dword [esp + 0x3c], 0
push eax
call fcn.00417a30
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.004174e0
cmp dword [esp + 0x38], 8
jb 0x4198f1
push dword [esp + 0x24]
call fcn.004b1ca1
add esp, 4
mov ebx, dword [esp + 0x1c]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x18]
mov ecx, ebx
sub ecx, esi
mov dword [esp + 0x24], 0
imul ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0
sar edx, 2
mov eax, edx
mov dword [esp + 0x2c], 0
shr eax, 0x1f
add eax, edx
push eax
call fcn.0041b640
test al, al
je 0x41994a
push dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push esi
push ebx
call fcn.0041b830
add esp, 0xc
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.0041acb0
mov edi, dword [esp + 0x24]
test edi, edi
je 0x41997a
push dword [esp + 0x14]
lea eax, [esp + 0x17]
push eax
push dword [esp + 0x30]
push edi
call fcn.00418c10
push edi
call fcn.004b1ca1
add esp, 0x14
cmp dword [esp + 0x80], 8
jb 0x419990
push dword [esp + 0x6c]
call fcn.004b1ca1
add esp, 4
xor eax, eax
mov dword [esp + 0x80], 7
cmp dword [esp + 0x68], 8
mov dword [esp + 0x7c], 0
mov word [esp + 0x6c], ax
jb 0x4199bd
push dword [esp + 0x54]
call fcn.004b1ca1
add esp, 4
xor eax, eax
mov dword [esp + 0x68], 7
cmp dword [esp + 0x50], 8
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
jb 0x4199e7
push dword [esp + 0x3c]
call fcn.004b1ca1
add esp, 4
xor eax, eax
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], ax
test esi, esi
je 0x419a1b
push dword [esp + 0x14]
lea eax, [esp + 0x17]
push eax
push ebx
push esi
call fcn.00418c10
push esi
call fcn.004b1ca1
add esp, 0x14
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004f1cdb
mov esp, ebp
pop ebp
ret 4