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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x5f9e74]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x10], ebx
push edi
mov edi, ecx
mov dword [esp + 0x34], edi
cmp esi, 0xffffffff
jl 0x4157b7
mov ecx, dword [edi]
cmp esi, dword [ecx + 4]
jge 0x4157b7
cmp dword [edi + 4], 0xffffffff
je 0x4151cc
call fcn.00415100
mov dword [edi + 4], 0xffffffff
cmp esi, dword [edi + 0x134]
jne 0x415205
cmp esi, 0xffffffff
je 0x41520a
lea esi, [edi + 8]
mov ecx, 0x4b
mov edi, ebx
xor eax, eax
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 8
cmp esi, 0xffffffff
jne 0x415288
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [ebx], eax
xor eax, eax
mov byte [ebx + 4], 0
mov dword [ebx + 0x108], 0
mov dword [ebx + 0x10c], 0
mov dword [ebx + 0x110], 0
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0
mov dword [ebx + 0x124], 0
mov dword [ebx + 0x128], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi]
cmp esi, dword [ecx + 0x10]
jge 0x415294
call fcn.00414b80
mov eax, dword [edi]
cmp dword [eax + 0x10], esi
jge 0x4152f4
mov ebx, esi
nop dword [eax]
mov esi, dword [edi]
test esi, esi
je 0x4152e9
cmp dword [esi + 0x18], 0
je 0x4152e9
mov edx, dword [esi + 0x10]
inc edx
cmp edx, dword [esi + 4]
je 0x4152e9
mov ecx, dword [esi + 0x50]
sub esp, 0x10
mov eax, dword [esi + 0x48]
add ecx, dword [esi + 0x4c]
add eax, 0x2e
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.004146a0
add esp, 0x1c
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x18], eax
mov eax, dword [edi]
cmp dword [eax + 0x10], ebx
jl 0x4152a0
mov ebx, dword [esp + 0x14]
mov ecx, dword [edi]
lea eax, [esp + 0xa0]
sub esp, 0x10
lea edx, [esp + 0x50]
push 0x104
push eax
push 0
call fcn.004146a0
mov ecx, dword [edi]
lea eax, [esp + 0x2c]
add esp, 0x1c
lea edx, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00414bc0
add esp, 8
test eax, eax
je 0x41534c
mov eax, 0x700
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
mov ecx, dword [eax]
cmp byte [ecx], 0
je 0x415372
cmp byte [ecx + 1], 0
je 0x4153b1
mov eax, dword [ecx + 0xc]
add eax, dword [esp + 0x14]
push 0
push 0
push eax
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x415379
mov eax, dword [esp + 0x14]
mov dword [ecx + 0x18], eax
push dword [esp + 0x10]
call fcn.004270ba
mov ecx, dword [edi]
add esp, 4
mov esi, eax
mov edx, 1
mov dword [esp + 0x20], esi
push dword [ecx]
mov ecx, esi
push dword [esp + 0x14]
call fcn.00414060
add esp, 8
cmp eax, dword [esp + 0x10]
je 0x4153cd
push esi
call fcn.004270c3
add esp, 4
mov eax, 0x800
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi]
lea ecx, [esp + 0xa0]
mov edx, ecx
mov eax, dword [eax + 0x10]
mov dword [ebx], eax
mov eax, ebx
sub eax, edx
lea edx, [eax + 4]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4153e4
mov edx, dword [esp + 0x74]
mov eax, edx
shr eax, 0x17
mov ecx, edx
and eax, 0xffffff01
shr ecx, 5
mov dword [esp + 0x24], eax
mov al, dl
and al, 1
mov byte [esp + 0x1f], al
mov eax, edx
shr eax, 1
and eax, 0xffffff01
mov dword [esp + 0x14], eax
mov eax, edx
shr eax, 2
and eax, 0xffffff01
test edx, 0x40000010
mov dword [esp + 0x18], eax
mov edx, 0x90
mov eax, 0x80
cmovne eax, edx
mov dword [ebx + 0x108], eax
and cl, 1
je 0x415450
or dword [ebx + 0x108], 0x20
cmp byte [esp + 0x14], 0
je 0x41545e
or dword [ebx + 0x108], 2
cmp byte [esp + 0x24], 0
je 0x41546c
cmp byte [esp + 0x1f], 0
je 0x415473
or dword [ebx + 0x108], 1
cmp byte [esp + 0x18], 0
je 0x415481
or dword [ebx + 0x108], 4
mov eax, dword [esp + 0x58]
mov dword [ebx + 0x124], eax
mov eax, dword [esp + 0x5c]
mov dword [ebx + 0x128], eax
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x54]
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
mov ecx, dword [esp + 0x38]
xor esi, esi
cmp dword [esp + 0x10], 4
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x10c], ecx
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], ecx
mov dword [ebx + 0x118], eax
mov dword [ebx + 0x11c], ecx
mov dword [ebx + 0x120], eax
jbe 0x415774
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov dword [esp + 0x18], ecx
jmp 0x4154f4
mov eax, dword [esp + 0x20]
movzx eax, byte [esi + eax]
mov byte [esp + 0x24], al
movzx eax, byte [ecx + esi]
lea ecx, [esp + 0x24]
mov byte [esp + 0x25], al
mov eax, 0x5d6910
mov byte [esp + 0x26], 0
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x415532
test dl, dl
je 0x41552e
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x415532
add ecx, 2
add eax, 2
test dl, dl
jne 0x415512
xor eax, eax
jmp 0x415537
sbb eax, eax
or eax, 1
test eax, eax
je 0x41555b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
movsx eax, byte [esi + eax + 2]
add eax, 4
add esi, eax
lea eax, [esi + 4]
cmp eax, dword [esp + 0x10]
jb 0x4154f0
jmp 0x415774
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0x76c
movsx eax, byte [esi + ecx + 4]
add esi, 5
mov edx, eax
mov dword [esp + 0x10], eax
shr dword [esp + 0x10], 2
and byte [esp + 0x10], 1
shr edx, 1
and edx, 0xffffff01
mov dword [esp + 0x24], edx
test al, 1
je 0x415632
mov eax, dword [esi + ecx]
add esi, 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.0057d7ab
mov ecx, dword [esp + 0x18]
mov edx, eax
add esp, 4
add cx, word [edx + 0x14]
mov word [esp + 0x90], cx
movzx ecx, word [edx + 0x10]
inc cx
mov word [esp + 0x92], cx
movzx ecx, word [edx + 0xc]
mov word [esp + 0x96], cx
movzx ecx, word [edx + 8]
mov word [esp + 0x98], cx
movzx eax, word [edx + 4]
mov word [esp + 0x9a], ax
movzx eax, word [edx]
mov word [esp + 0x9c], ax
xor eax, eax
mov word [esp + 0x9e], ax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x11c], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x120], eax
test dl, dl
je 0x4156d1
mov eax, dword [esi + ecx]
add esi, 4
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.0057d7ab
mov ecx, dword [esp + 0x18]
mov edx, eax
add esp, 4
add cx, word [edx + 0x14]
mov word [esp + 0x90], cx
movzx ecx, word [edx + 0x10]
inc cx
mov word [esp + 0x92], cx
movzx ecx, word [edx + 0xc]
mov word [esp + 0x96], cx
movzx ecx, word [edx + 8]
mov word [esp + 0x98], cx
movzx eax, word [edx + 4]
mov word [esp + 0x9a], ax
movzx eax, word [edx]
mov word [esp + 0x9c], ax
xor eax, eax
mov word [esp + 0x9e], ax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x10c], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x110], eax
cmp byte [esp + 0x10], 0
je 0x415774
mov eax, dword [esp + 0x20]
mov eax, dword [esi + eax]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.0057d7ab
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x14]
add ax, word [edx + 0x14]
mov word [esp + 0x90], ax
movzx ecx, word [edx + 0x10]
inc cx
mov word [esp + 0x92], cx
movzx ecx, word [edx + 0xc]
mov word [esp + 0x96], cx
movzx ecx, word [edx + 8]
mov word [esp + 0x98], cx
movzx eax, word [edx + 4]
mov word [esp + 0x9a], ax
movzx eax, word [edx]
mov word [esp + 0x9c], ax
xor eax, eax
mov word [esp + 0x9e], ax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x114], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x118], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x415785
push eax
call fcn.004270c3
add esp, 4
mov eax, dword [esp + 0x34]
add edi, 8
mov ecx, 0x4b
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x134], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x1ac]
mov eax, 0x10000
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00568e6a
mov esp, ebp
pop ebp
ret 8