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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x4ec3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0041b300
test al, al
je 0x419323
lea eax, [edi + 8]
mov dword [esi], 0
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov word [esi + 0x24], 0
call fcn.00412850
mov byte [esi + 0x25], 1
movzx eax, word [edi + 8]
cmp eax, 0x61
jb 0x41922c
cmp eax, 0x7a
jbe 0x419236
cmp eax, 0x41
jb 0x41928b
cmp eax, 0x5a
ja 0x41928b
cmp word [edi + 0xa], 0x3a
jne 0x41928b
cmp word [edi + 0xc], 0
jne 0x41928b
mov ax, word [edi + 8]
lea edx, [esp + 0x34]
mov word [esp + 0x48], ax
lea ecx, [esp + 0x48]
xor eax, eax
mov dword [esp + 0x4a], 0x5c003a
mov word [esp + 0x4e], ax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.0041c450
test al, al
je 0x41928b
mov eax, dword [esp + 0x54]
mov dword [esi], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 4], eax
mov al, 1
jmp 0x41983d
xorps xmm0, xmm0
movdqa xmmword [esp + 0x34], xmm0
mov dword [esp + 0x34], 0xffffffff
push 0x80
push 3
push 1
push SysReAllocStringLen
push edi
lea ecx, [esp + 0x48]
mov dword [esp + 0x94], 0
call fcn.00419d60
mov ecx, edi
mov byte [esp + 0x1b], al
call fcn.0041b300
push edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x3c], al
call fcn.0041a2c0
cmp byte [esp + 0x1b], 0
jne 0x4192e6
mov byte [esp + 0x1b], 0
jmp 0x4192ff
cmp byte [esp + 0x39], 0
je 0x4192fa
mov eax, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], eax
mov byte [esp + 0x1b], 1
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x34]
cmp eax, 0xffffffff
je 0x419839
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x419839
mov ecx, edi
call fcn.0041b610
mov dword [esp + 0x64], eax
test eax, eax
js 0x41961e
add eax, eax
mov dword [esp + 0x54], eax
add eax, edi
cmp word [eax + 2], 0
je 0x41961e
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
push eax
lea ecx, [esp + 0x4c]
movq qword [esp + 0x4c], xmm0
call fcn.00412680
mov dword [esp + 0x80], 1
lea ecx, [esp + 0x34]
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
push edi
movq qword [esp + 0x38], xmm0
call fcn.00412680
mov byte [esp + 0x80], 2
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x38]
jae 0x4193ae
mov ecx, dword [esp + 0x54]
xor edx, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov word [ecx + eax], dx
mov ecx, dword [esp + 0x4c]
cmp ecx, 6
jbe 0x4193cf
mov eax, dword [esp + 0x48]
add ecx, 0xfffffffa
mov edx, str.:_DATA
lea ecx, [eax + ecx*2]
call fcn.004119a0
test al, al
jne 0x4193dd
push str.:_DATA
lea ecx, [esp + 0x4c]
call fcn.00412c30
mov ecx, dword [esp + 0x34]
movzx eax, word [ecx]
cmp eax, 0x61
jb 0x4193ee
cmp eax, 0x7a
jbe 0x4193f8
cmp eax, 0x41
jb 0x41943e
cmp eax, 0x5a
ja 0x41943e
cmp word [ecx + 2], 0x3a
jne 0x41943e
mov edx, dword [esp + 0x64]
cmp edx, 2
je 0x419414
cmp edx, 3
jne 0x41943e
cmp word [ecx + 4], 0x5c
jne 0x41943e
mov ecx, esi
call fcn.00419000
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x28]
xor edi, edi
mov dword [ecx + 4], 0
mov word [eax], di
cmp edx, 2
jne 0x41944e
lea eax, [esp + 0x34]
push eax
call fcn.004128e0
jmp 0x41944e
push ecx
mov ecx, esi
call fcn.00419180
test al, al
je 0x4195f2
and dword [esi + 0x20], 0xfffffbef
xorps xmm0, xmm0
movdqa xmmword [esp + 0x54], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esp + 0x54], 0xffffffff
lea eax, [esp + 0x34]
mov byte [esp + 0x80], 3
push eax
lea ecx, [esp + 0x5c]
call fcn.00412780
mov byte [esp + 0x80], 4
push 8
mov dword [esp + 0x20], 0
call fcn.004df9b3
add esp, 4
test eax, eax
je 0x419537
jmp 0x4194b0
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 3
mov word [eax], cx
mov byte [esp + 0x80], 5
lea eax, [esp + 0x1c]
cmp dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x54]
push eax
je 0x4194e8
call fcn.00418f70
jmp 0x4194f1
push dword [esp + 0x5c]
call fcn.00418df0
mov edi, dword [esp + 0x1c]
test al, al
je 0x41958a
mov edx, dword [esp + 0x48]
mov ecx, edi
call fcn.00411840
test al, al
jne 0x41954b
push edi
mov byte [esp + 0x84], 4
call fcn.004df97b
add esp, 4
mov dword [esp + 0x1c], 0
push 8
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4194b0
push 0x51c2c8
lea eax, [esp + 0x1f]
mov byte [esp + 0x1f], 0
push eax
call fcn.004ea58e
mov eax, dword [esp + 0x20]
cmp eax, 7
jbe 0x419565
lea ecx, [eax - 6]
cmp ecx, eax
jae 0x419565
xor eax, eax
mov dword [esp + 0x20], ecx
mov word [edi + ecx*2], ax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esi + 0x28]
call fcn.00412bd0
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 4], eax
mov byte [esi + 0x24], 1
mov byte [esp + 0x1b], 1
jmp 0x4195a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
sete al
test al, al
je 0x4195a2
push 2
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [esp + 0x1b], 0
push edi
mov byte [esp + 0x84], 4
call fcn.004df97b
add esp, 4
lea ecx, [esp + 0x54]
call fcn.004182d0
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x34]
push eax
call fcn.004df97b
add esp, 4
mov dword [esp + 0x80], 0xffffffff
push dword [esp + 0x48]
call fcn.004df97b
add esp, 4
jmp 0x419839
mov byte [esp + 0x80], 1
mov eax, dword [esp + 0x34]
push eax
call fcn.004df97b
add esp, 4
mov dword [esp + 0x80], 0xffffffff
push dword [esp + 0x48]
call fcn.004df97b
add esp, 4
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x80], 6
xor ecx, ecx
movzx eax, word [edi]
mov dword [esp + 0x54], ecx
cmp eax, 0x5c
je 0x419644
cmp eax, 0x2f
jne 0x419670
movzx edx, word [edi + 2]
cmp edx, 0x5c
je 0x419652
cmp edx, 0x2f
jne 0x419670
cmp word [edi + 4], 0x3f
jne 0x419670
movzx edx, word [edi + 6]
cmp edx, 0x5c
je 0x419667
cmp edx, 0x2f
jne 0x419670
mov ecx, 4
mov dword [esp + 0x54], ecx
lea edx, [edi + ecx*2]
movzx ecx, word [edx]
mov dword [esp + 0x48], edx
cmp ecx, 0x61
jb 0x419684
cmp ecx, 0x7a
jbe 0x41968e
cmp ecx, 0x41
jb 0x4196fa
cmp ecx, 0x5a
ja 0x4196fa
cmp word [edx + 2], 0x3a
jne 0x4196fa
movzx ecx, word [edx + 4]
cmp ecx, 0x5c
je 0x4196a3
cmp ecx, 0x2f
jne 0x4196fa
mov ecx, dword [esp + 0x54]
cmp word [edi + ecx*2 + 6], 0
jne 0x4196fa
mov ecx, edi
call fcn.00419050
cmp eax, 0xffffffff
je 0x41981a
test al, 0x10
je 0x41981a
mov ecx, esi
call fcn.00419000
push dword [esp + 0x48]
lea ecx, [esi + 0x28]
mov dword [esi + 0x20], eax
call fcn.00412850
cmp dword [esi + 0x2c], 2
jbe 0x419743
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov dword [esi + 0x2c], 2
mov word [eax + 4], cx
mov al, 1
jmp 0x41983d
cmp eax, 0x5c
je 0x419708
cmp eax, 0x2f
jne 0x41981a
cmp word [edi + 2], 0
mov ecx, edi
jne 0x41974a
call fcn.00419050
mov edx, eax
cmp edx, 0xffffffff
je 0x41981a
test dl, 0x10
je 0x41981a
mov ecx, esi
call fcn.00419000
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov dword [esi + 0x2c], 0
mov word [eax], cx
mov dword [esi + 0x20], edx
mov al, 1
jmp 0x41983d
call fcn.0041b430
test eax, eax
je 0x41981a
cmp word [edi + eax*2], 0
lea eax, [edi + eax*2]
mov dword [esp + 0x54], eax
je 0x41981a
mov ecx, eax
call fcn.0041b1d0
test eax, eax
jns 0x41981a
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
push edi
lea ecx, [esp + 0x38]
movq qword [esp + 0x38], xmm0
call fcn.00412680
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 7
call fcn.00413ce0
push 0x2a
lea ecx, [esp + 0x38]
call fcn.00417040
push esi
push dword [esp + 0x38]
lea ecx, [esp + 0x6c]
mov byte [esp + 0x23], 0
call fcn.00418b70
test al, al
je 0x4197eb
lea eax, [esi + 0x28]
mov edx, 0x501158
mov ecx, eax
mov dword [esp + 0x48], eax
call fcn.00413d20
test al, al
je 0x4197e6
mov ecx, dword [esp + 0x48]
jmp 0x419874
mov byte [esp + 0x1b], 1
mov ecx, edi
call fcn.00419050
cmp byte [esp + 0x1b], 0
mov edx, eax
jne 0x41985c
cmp edx, 0xffffffff
je 0x419805
test dl, 0x10
jne 0x41985c
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x34]
push eax
call fcn.004df97b
add esp, 4
push esi
push edi
lea ecx, [esp + 0x6c]
call fcn.00418b70
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x1b], al
cmp ecx, 0xffffffff
je 0x41983d
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, byte [esp + 0x1b]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.00419000
cmp edx, 0xffffffff
lea ecx, [esi + 0x28]
mov eax, 0x10
cmovne eax, edx
mov dword [esi + 0x20], eax
push dword [esp + 0x54]
call fcn.00412850
mov byte [esp + 0x80], 6
mov eax, dword [esp + 0x34]
push eax
call fcn.004df97b
add esp, 4
mov al, 1
jmp 0x419825