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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3ac
mov eax, dword [0x42800c]
xor eax, esp
mov dword [esp + 0x3a8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x2c], edi
cmp eax, 0xffffffff
jl 0x419067
mov ecx, dword [edi]
cmp eax, dword [ecx + 4]
jge 0x419067
cmp dword [edi + 4], 0xffffffff
je 0x418a1f
call fcn.00418960
mov eax, dword [ebp + 8]
mov dword [edi + 4], 0xffffffff
cmp eax, dword [edi + 0x238]
jne 0x418a58
cmp eax, 0xffffffff
je 0x418a5d
lea esi, [edi + 8]
mov ecx, 0x8c
mov edi, ebx
xor eax, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.0041a23c
mov esp, ebp
pop ebp
ret 8
cmp eax, 0xffffffff
jne 0x418ab7
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [ebx], eax
xor eax, eax
mov word [ebx + 4], ax
mov dword [ebx + 0x20c], eax
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], eax
mov dword [ebx + 0x218], eax
mov dword [ebx + 0x21c], eax
mov dword [ebx + 0x220], eax
mov dword [ebx + 0x224], eax
mov dword [ebx + 0x228], eax
mov dword [ebx + 0x22c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.0041a23c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi]
cmp dword [ecx + 0x10], eax
jle 0x418af9
mov esi, ecx
test esi, esi
je 0x418af6
mov eax, dword [esi + 0x24]
lea edx, [esi + 0x28]
sub esp, 0x10
mov dword [esi + 0x14], eax
lea eax, [esi + 0x78]
mov dword [esi + 0x10], 0
push 0
push 0
push eax
call fcn.00417e10
xor ecx, ecx
add esp, 0x1c
test eax, eax
mov eax, dword [ebp + 8]
sete cl
mov dword [esi + 0x18], ecx
mov ecx, dword [edi]
cmp dword [ecx + 0x10], eax
jge 0x418b56
mov ebx, dword [ebp + 8]
nop
mov esi, ecx
test esi, esi
je 0x418b4d
cmp dword [esi + 0x18], 0
je 0x418b4d
mov edx, dword [esi + 0x10]
inc edx
cmp edx, dword [esi + 4]
je 0x418b4d
mov ecx, dword [esi + 0x50]
sub esp, 0x10
mov eax, dword [esi + 0x48]
add ecx, 0x2e
add ecx, dword [esi + 0x4c]
add eax, ecx
mov dword [esi + 0x10], edx
add dword [esi + 0x14], eax
lea edx, [esi + 0x28]
push 0
lea eax, [esi + 0x78]
mov ecx, esi
push 0
push eax
call fcn.00417e10
xor ecx, ecx
add esp, 0x1c
test eax, eax
sete cl
mov dword [esi + 0x18], ecx
mov ecx, dword [edi]
cmp dword [ecx + 0x10], ebx
jl 0x418b00
mov ebx, dword [esp + 0x14]
sub esp, 0x10
lea eax, [esp + 0xb0]
lea edx, [esp + 0x50]
push 0x104
push eax
push 0
call fcn.00417e10
mov ecx, dword [edi]
lea eax, [esp + 0x34]
add esp, 0x1c
lea edx, [esp + 0x1c]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00418200
add esp, 8
test eax, eax
je 0x418bac
mov eax, 0x700
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.0041a23c
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, dword [eax]
cmp byte [ecx], 0
je 0x418bd2
cmp byte [ecx + 1], 0
je 0x418c11
mov eax, dword [ecx + 0xc]
add eax, dword [esp + 0x10]
push 0
push 0
push eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x418bd9
mov eax, dword [esp + 0x10]
mov dword [ecx + 0x1c], eax
push dword [esp + 0x18]
call fcn.0041a6c7
mov ecx, dword [edi]
add esp, 4
mov esi, eax
mov edx, 1
mov dword [esp + 0x14], esi
push dword [ecx]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.00417810
add esp, 8
cmp eax, dword [esp + 0x18]
je 0x418c2d
push esi
call fcn.0041a6d0
add esp, 4
mov eax, 0x800
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.0041a23c
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
push 0x104
mov eax, dword [eax + 0x10]
mov dword [ebx], eax
lea eax, [esp + 0x1ac]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0xac]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, dword [sym.imp.VCRUNTIME140.dll_wcsstr]
lea esi, [esp + 0x1a8]
movzx eax, word [esi]
test ax, ax
je 0x418c8a
cmp word [esi + 2], 0x3a
jne 0x418c76
add esi, 4
jmp 0x418c62
cmp eax, 0x5c
jne 0x418c80
add esi, 2
jmp 0x418c62
cmp eax, 0x2f
jne 0x418c8a
add esi, 2
jmp 0x418c62
push 0x422c3c
push esi
call edi
add esp, 8
test eax, eax
je 0x418c9e
lea esi, [eax + 8]
jmp 0x418c62
push str..._
push esi
call edi
add esp, 8
test eax, eax
je 0x418cb2
lea esi, [eax + 8]
jmp 0x418c62
push 0x422c54
push esi
call edi
add esp, 8
test eax, eax
je 0x418cc6
lea esi, [eax + 8]
jmp 0x418c62
push str._.._
push esi
call edi
add esp, 8
test eax, eax
je 0x418cda
lea esi, [eax + 8]
jmp 0x418c62
mov ecx, ebx
sub ecx, esi
nop
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi + 2], ax
test ax, ax
jne 0x418ce0
mov edx, dword [esp + 0x74]
mov eax, edx
shr eax, 0x1e
mov ecx, edx
and eax, 0xffffff01
shr ecx, 0x17
mov dword [esp + 0x10], eax
not cl
mov eax, dword [esp + 0x40]
and cl, 1
shr eax, 8
mov byte [esp + 0x24], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x1c], 1
test eax, eax
je 0x418d35
cmp eax, 7
je 0x418d35
cmp eax, 0xb
je 0x418d35
cmp eax, 0xe
jne 0x418d6b
mov eax, edx
mov cl, dl
shr eax, 1
and cl, 1
and eax, 0xffffff01
mov dword [esp + 0x24], eax
mov eax, edx
shr eax, 2
and eax, 0xffffff01
mov dword [esp + 0x28], eax
mov eax, edx
shr eax, 4
and al, 1
shr edx, 5
mov byte [esp + 0x10], al
and edx, 0xffffff01
jmp 0x418d6f
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [ebx + 0x20c], 0
cmp byte [esp + 0x10], al
je 0x418d90
mov dword [ebx + 0x20c], 0x10
mov eax, 0x10
test dl, dl
je 0x418d9d
or eax, 0x20
mov dword [ebx + 0x20c], eax
cmp byte [esp + 0x24], 0
je 0x418dad
or eax, 2
mov dword [ebx + 0x20c], eax
test cl, cl
je 0x418dba
or eax, 1
mov dword [ebx + 0x20c], eax
cmp byte [esp + 0x28], 0
je 0x418dca
or eax, 4
mov dword [ebx + 0x20c], eax
mov edx, dword [esp + 0x50]
mov esi, 0x7bc
mov eax, dword [esp + 0x58]
mov ecx, edx
mov dword [ebx + 0x228], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x22c], eax
shr ecx, 0x10
mov ax, cx
shr ax, 9
add ax, si
mov word [esp + 0x90], ax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov word [esp + 0x96], cx
mov word [esp + 0x92], ax
mov ax, dx
shr ax, 0xb
mov word [esp + 0x98], ax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov word [esp + 0x9a], ax
xor eax, eax
mov word [esp + 0x9e], ax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x94]
mov word [esp + 0xa0], dx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov ecx, dword [esp + 0x38]
xor esi, esi
cmp dword [esp + 0x18], 4
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov dword [ebx + 0x210], ecx
mov dword [ebx + 0x214], eax
mov dword [ebx + 0x218], ecx
mov dword [ebx + 0x21c], eax
mov dword [ebx + 0x220], ecx
mov dword [ebx + 0x224], eax
jbe 0x41902c
mov byte [esp + 0x12], 0
nop dword [eax]
nop dword [eax + eax]
movzx eax, byte [esi + edi]
mov ecx, 0x422c6c
mov byte [esp + 0x10], al
movzx eax, byte [esi + edi + 1]
mov byte [esp + 0x11], al
lea eax, [esp + 0x10]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x418f10
test dl, dl
je 0x418f0c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x418f10
add eax, 2
add ecx, 2
test dl, dl
jne 0x418ef0
xor eax, eax
jmp 0x418f15
sbb eax, eax
or eax, 1
test eax, eax
je 0x418f31
movzx eax, byte [esi + edi + 2]
add eax, 4
add esi, eax
lea eax, [esi + 4]
cmp eax, dword [esp + 0x18]
jb 0x418ed0
jmp 0x41902c
mov al, byte [esi + edi + 4]
add esi, 5
movzx ecx, al
mov edx, ecx
shr ecx, 2
shr edx, 1
and cl, 1
and edx, 0xffffff01
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
test al, 1
je 0x418f9e
movzx eax, byte [esi + edi + 3]
movzx ecx, byte [esi + edi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edi]
shl eax, 8
add esi, 4
or eax, ecx
mov ecx, 0x989680
imul ecx
add eax, 0xd53e8000
mov dword [ebx + 0x220], eax
adc edx, 0x19db1de
mov dword [ebx + 0x224], edx
mov edx, dword [esp + 0x1c]
test dl, dl
je 0x418fe5
movzx eax, byte [esi + edi + 3]
movzx ecx, byte [esi + edi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edi]
shl eax, 8
add esi, 4
or eax, ecx
mov ecx, 0x989680
imul ecx
add eax, 0xd53e8000
mov dword [ebx + 0x210], eax
adc edx, 0x19db1de
mov dword [ebx + 0x214], edx
cmp byte [esp + 0x14], 0
je 0x41902c
movzx eax, byte [esi + edi + 3]
movzx ecx, byte [esi + edi + 2]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edi + 1]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + edi]
shl eax, 8
or eax, ecx
mov ecx, 0x989680
imul ecx
add eax, 0xd53e8000
mov dword [ebx + 0x218], eax
adc edx, 0x19db1de
mov dword [ebx + 0x21c], edx
push edi
call fcn.0041a6d0
mov eax, dword [esp + 0x30]
mov ecx, 0x8c
mov esi, ebx
add esp, 4
lea edi, [eax + 8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x238], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.0041a23c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x3b4]
mov eax, 0x10000
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041a23c
mov esp, ebp
pop ebp
ret 8