Function at 0x5780e3ac
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x23
push 0
push 0
dec ecx
jne 0x5780e3b5
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x5780e3cf
add esp, 0xfffffff0
call fcn.57802a00
mov ebx, ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
call fcn.57803848
lea eax, [ebp - 0xa4]
mov edx, dword [0x57806388]
call fcn.57803a0c
xor eax, eax
push ebp
push 0x5780f2a1
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x20], edx
call fcn.5780c450
push ebp
push 0x5780f251
push dword fs:[0]
mov dword fs:[0], esp
call fcn.578099e4
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x5780e447
mov edx, 0x57813a24
mov eax, 0x57813a20
call fcn.57809774
xor eax, eax
mov dword [edi], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], ebx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x28], edx
lea edx, [ebp - 0xe4]
mov eax, 0x5780dbf8
call fcn.57808888
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
add eax, 0xf5a
call fcn.5780bd7c
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], esi
mov byte [esi], 0xff
mov byte [esi + 1], 0x25
lea eax, [esi + 6]
mov dword [esi + 2], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
mov dword [edx + 8], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], edi
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
xor ecx, ecx
mov eax, 0x5780f2d4
call fcn.5780b900
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, 0x5780f2d4
mov cl, 1
call fcn.5780b900
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x5780e508
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0x80000000
jb 0x5780e510
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.57803578
lea eax, [ebp - 0x20]
call fcn.578034e0
jmp 0x5780e510
lea eax, [ebp - 0x20]
call fcn.578034e0
lea edx, [ebp - 0xec]
mov eax, 0x5780f2e0
call fcn.57805874
push dword [ebp - 0xec]
push 0x5780f2f0
push dword [ebp - 0x1c]
lea eax, [ebp - 0xe8]
mov edx, 3
call fcn.57803718
mov eax, dword [ebp - 0xe8]
call fcn.57803858
push eax
call fcn.5780b324
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x20], 0
je 0x5780e59c
lea edx, [ebp - 0xf4]
mov eax, 0x5780f2e0
call fcn.57805874
push dword [ebp - 0xf4]
push 0x5780f2f0
push dword [ebp - 0x20]
lea eax, [ebp - 0xf0]
mov edx, 3
call fcn.57803718
mov eax, dword [ebp - 0xf0]
call fcn.57803858
push eax
call fcn.5780b324
mov dword [ebp - 0x10], eax
jmp 0x5780e5a1
xor eax, eax
mov dword [ebp - 0x10], eax
push ebp
push 0x5780f22e
push dword fs:[0]
mov dword fs:[0], esp
cmp dword [ebp - 0xc], 0
je 0x5780e5c6
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp dword [ebp - 0x10], 0
je 0x5780e5d7
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
push ebp
push 0x5780f1fb
push dword fs:[0]
mov dword fs:[0], esp
push 0xffffffffffffffff
lea edx, [ebp - 0xfc]
mov eax, 0x5780f2fc
call fcn.57805874
push dword [ebp - 0xfc]
push 0x5780f2f0
push dword [ebp - 0x1c]
lea eax, [ebp - 0xf8]
mov edx, 3
call fcn.57803718
mov eax, dword [ebp - 0xf8]
call fcn.57803858
push eax
call fcn.5780b61c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
call fcn.5780e35c
xor al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 5], al
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x5780e6b6
cmp dword [ebp - 0x20], 0
je 0x5780e6b6
push 0xffffffffffffffff
lea edx, [ebp - 0x104]
mov eax, 0x5780f2fc
call fcn.57805874
push dword [ebp - 0x104]
push 0x5780f2f0
push dword [ebp - 0x20]
lea eax, [ebp - 0x100]
mov edx, 3
call fcn.57803718
mov eax, dword [ebp - 0x100]
call fcn.57803858
push eax
call fcn.5780b61c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
call fcn.5780e35c
xor al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 5], al
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x5780e6b6
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.57803578
push ebp
push 0x5780f1c8
push dword fs:[0]
mov dword fs:[0], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x5780ea87
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x18]
mov eax, ebx
call fcn.5780e134
test al, al
je 0x5780e70b
mov dword [ebp - 0x38], 0x770001
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
jmp 0x5780f258
test byte [ebp + 8], 2
jne 0x5780e74c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, ebx
call fcn.5780e038
test al, al
jne 0x5780e748
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.57808888
cmp byte [ebp - 0xa4], 0
je 0x5780e742
cmp byte [ebp - 0x7c], 0
jne 0x5780e74c
or dword [ebp + 8], 2
jmp 0x5780e74c
or dword [ebp + 8], 2
test byte [ebp + 8], 2
jne 0x5780e78c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, ebx
call fcn.5780e2e0
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780ea97
cmp dword [ebp - 0x20], 0
je 0x5780ea97
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.57803578
jmp 0x5780ea97
test byte [ebp + 8], 0x10
jne 0x5780ea67
test ebx, ebx
je 0x5780e7f9
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
jne 0x5780e7d9
lea edx, [ebp - 0x10c]
mov eax, 0x5780f310
call fcn.57805874
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x108]
mov dl, 1
call fcn.578058e4
mov eax, dword [ebp - 0x108]
push eax
call sub.kernel32.dll_GetModuleHandleW
mov edi, eax
jmp 0x5780e7fb
mov eax, 0x5780f310
lea edx, [ebp - 0x110]
call fcn.57805874
mov eax, dword [ebp - 0x110]
push eax
call sub.kernel32.dll_GetModuleHandleA
mov edi, eax
jmp 0x5780e7fb
xor edi, edi
cmp ebx, edi
je 0x5780ea47
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x5780e833
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0x80000000
jae 0x5780e837
test ebx, ebx
je 0x5780e833
mov eax, ebx
call fcn.57805bec
mov edx, eax
mov eax, ebx
call fcn.5780e2e0
test al, al
jne 0x5780e837
xor eax, eax
jmp 0x5780e839
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780e867
cmp dword [ebp - 0x20], 0
je 0x5780e859
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
call fcn.57803578
push 0
push 0xa
call fcn.57809834
mov dword [ebp - 0x30], eax
jmp 0x5780e874
mov eax, 0xa
call fcn.5780bd7c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov byte [eax], 0xff
mov eax, dword [ebp - 0x30]
mov byte [eax + 1], 0x25
mov eax, dword [ebp - 0x30]
add eax, 6
mov edx, dword [ebp - 0x30]
mov dword [edx + 2], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x30]
mov dword [edx + 6], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0xc]
mov edx, dword [ebp - 0x30]
mov eax, 0x5780f324
call fcn.5780b900
push 4
lea edx, [ebp - 0x118]
mov eax, 0x5780f2fc
call fcn.57805874
push dword [ebp - 0x118]
push 0x5780f2f0
push dword [ebp - 0x24]
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.57803718
mov eax, dword [ebp - 0x114]
call fcn.57803858
push eax
call fcn.5780b508
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5780e93b
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5780e92d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
jmp 0x5780e93b
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5780e9f2
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x30]
mov eax, ebx
call fcn.5780be08
test al, al
jne 0x5780e976
call fcn.5780c004
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
jne 0x5780e9f2
mov eax, dword [ebp - 0x30]
call fcn.5780c028
test al, al
je 0x5780e9f2
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780e9b7
mov eax, dword [ebp - 0x14]
call fcn.57809724
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
call fcn.5780c004
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 8]
je 0x5780e9b7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x30]
call fcn.5780c080
test byte [ebp + 8], 4
setne al
call fcn.5780c49c
xor eax, eax
push ebp
push 0x5780e9dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x30]
call fcn.5780bfdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5780e9e7
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
jmp 0x5780ea97
cmp dword [ebp - 0x14], 0
je 0x5780ea01
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780ea17
push 0
mov eax, dword [ebp - 0x30]
push eax
call fcn.57809954
jmp 0x5780ea27
push 0x8000
push 0
mov eax, dword [ebp - 0x30]
push eax
call sub.kernel32.dll_VirtualFree_1
mov dword [ebp - 0x38], 0x770002
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
jmp 0x5780f258
mov dword [ebp - 0x38], 0x770002
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
jmp 0x5780f258
mov dword [ebp - 0x38], 0x770002
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
jmp 0x5780f258
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 5], 0x53
sete al
mov edx, dword [ebp - 4]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780eaa6
test byte [ebp + 8], 4
jne 0x5780eaaa
xor eax, eax
jmp 0x5780eaac
mov al, 1
mov edx, dword [ebp - 4]
mov byte [edx + 0x24], al
test al, al
je 0x5780ec7f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0x80000000
jae 0x5780ebd2
mov eax, dword [ebp - 4]
add eax, 0x18
push eax
lea eax, [ebp - 0xa4]
push eax
test byte [ebp + 8], 8
setne cl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.57809c08
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x5780eb1b
mov dword [ebp - 0x38], 0x770003
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
jmp 0x5780f258
mov eax, dword [ebp - 0x84]
call fcn.57803f44
mov esi, eax
test esi, esi
jl 0x5780ebb8
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x84]
lea ecx, [edx + eax*4]
cmp byte [ecx + 0x10], 0
jne 0x5780ebb0
cmp dword [ecx + 0x18], 0
je 0x5780ebb0
mov eax, dword [ecx + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x14]
jne 0x5780ebb0
mov eax, dword [ecx + 0x18]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x9c]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov edi, eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24], 0
jne 0x5780eba2
mov edx, 4
mov eax, edi
call fcn.57809b70
test al, al
je 0x5780ebb0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x98]
mov dword [edi], eax
inc ebx
dec esi
jne 0x5780eb33
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x98]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 2], eax
jmp 0x5780ec7f
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.57808888
cmp byte [ebp - 0xa4], 0
jne 0x5780ec0c
mov dword [ebp - 0x38], 0x770003
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
call fcn.57802fb0
jmp 0x5780f258
mov eax, dword [ebp - 0x84]
call fcn.57803f44
mov esi, eax
test esi, esi
jl 0x5780ec7f
inc esi
xor ebx, ebx
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 0x84]
lea edi, [edx + eax*4]
cmp byte [edi + 0x10], 0
jne 0x5780ec7b
cmp dword [edi + 0x18], 0
je 0x5780ec7b
mov eax, dword [edi + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x14]
jne 0x5780ec7b
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
jne 0x5780ec70
push 0
push 4
call fcn.57809834
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 2], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
mov edx, dword [edi + 0x18]
mov dword [edx], eax
inc ebx
dec esi
jne 0x5780ec20
xor eax, eax
mov dword [ebp - 0x18], eax
xor ecx, ecx
push ebp
push 0x5780f192
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
je 0x5780eeb4
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780ecb6
push 0
push 0x22
call fcn.57809834
mov dword [ebp - 0x2c], eax
jmp 0x5780ecdd
call sub.kernel32.dll_GetVersion_1
test eax, 0x80000000
je 0x5780ecd0
push 0x22
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov dword [ebp - 0x2c], eax
jmp 0x5780ecdd
mov eax, 0x22
call fcn.5780bd7c
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
lea edx, [ebp - 0x64]
mov eax, ebx
call fcn.57807810
cmp byte [ebp - 0x5d], 0
je 0x5780ed5c
cmp dword [ebp - 0x50], 1
jne 0x5780ed1b
cmp word [ebp - 0x62], 0xeb
je 0x5780ed13
mov byte [esi], 0xf
mov al, byte [ebp - 0x62]
and al, 0xf
add al, 0x80
mov byte [esi + 1], al
add esi, 6
jmp 0x5780ed4e
mov byte [esi], 0xe9
add esi, 5
jmp 0x5780ed4e
cmp dword [ebp - 0x50], 2
jne 0x5780ed3c
mov edi, dword [ebp - 0x44]
sub edi, ebx
mov ecx, edi
sub ecx, 3
mov edx, esi
mov eax, ebx
inc eax
call fcn.578025c4
add edi, esi
inc edi
mov esi, edi
jmp 0x5780ed4e
mov edi, dword [ebp - 0x44]
sub edi, ebx
mov edx, esi
mov eax, ebx
mov ecx, edi
call fcn.578025c4
add esi, edi
mov edx, dword [ebp - 0x5c]
mov eax, esi
sub edx, eax
sub eax, 4
mov dword [eax], edx
jmp 0x5780ed6e
mov edi, dword [ebp - 0x44]
sub edi, ebx
mov edx, esi
mov eax, ebx
mov ecx, edi
call fcn.578025c4
add esi, edi
mov ebx, dword [ebp - 0x44]
mov eax, ebx
sub eax, dword [ebp - 0x34]
cmp eax, 6
jb 0x5780ece3
mov byte [esi], 0xe9
add esi, 5
sub ebx, esi
sub esi, 4
mov dword [esi], ebx
push 4
lea edx, [ebp - 0x120]
mov eax, 0x5780f2fc
call fcn.57805874
push dword [ebp - 0x120]
push 0x5780f2f0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.57803718
mov eax, dword [ebp - 0x11c]
call fcn.57803858
push eax
call fcn.5780b508
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5780ef7c
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780edeb
mov eax, dword [ebp - 0x14]
call fcn.57809724
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5780ef7c
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780ee25
push 0
push 0x5c
call fcn.57809834
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
jmp 0x5780ee34
mov eax, 0x5c
call fcn.5780bd7c
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [eax], 2
mov dword [eax + 4], 8
mov edx, dword [ebp - 0x34]
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0xc]
mov ecx, dword [edx]
mov dword [eax + 0x10], ecx
mov cx, word [edx + 4]
mov word [eax + 0x14], cx
mov byte [eax + 0x16], 0xff
mov byte [eax + 0x17], 0x25
mov edx, dword [ebp - 0x2c]
add edx, 0x1e
mov dword [eax + 0x18], edx
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp - 0x2c]
mov dword [edx], ecx
mov edx, dword [ebp - 4]
cmp byte [edx + 0xc], 0
jne 0x5780ee91
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
cmp edx, dword [eax + 0xc]
jne 0x5780ee91
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
jmp 0x5780ee96
xor edx, edx
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x2c]
add edx, 0x1e
mov dword [eax + 0x20], edx
mov edx, dword [ebp - 0x2c]
mov dword [eax + 0x24], edx
xor edx, edx
mov dword [eax + 0x28], edx
jmp 0x5780ef7c
push 0
push 0
push 0
push 0xf001f
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x5780ef7c
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x40]
cmp eax, dword [edx]
jne 0x5780ef7c
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780ef11
push 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
push eax
call fcn.57809834
mov ebx, eax
jmp 0x5780ef26
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
add eax, eax
shl eax, 3
add eax, 0x1c
call fcn.5780bd7c
mov ebx, eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 4]
shl ecx, 3
add ecx, 0x1c
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.578025c4
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
add eax, eax
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780ef6c
push 0
mov eax, dword [ebp - 0x28]
push eax
call fcn.57809954
jmp 0x5780ef7c
push 0x8000
push 0
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_VirtualFree_1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x24], 0
jne 0x5780f0ec
test byte [ebp + 8], 1
jne 0x5780f04e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
add eax, 0xa
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
xor ebx, ebx
mov eax, ebx
shl eax, 3
sub eax, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
lea eax, [edx + eax*2]
mov byte [eax], 0x68
xor edx, edx
mov dword [eax + 1], edx
mov byte [eax + 5], 0xf0
mov word [eax + 6], 0x2583
lea edx, [eax + 1]
mov dword [eax + 8], edx
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0xc3
inc ebx
cmp ebx, 0x118
jne 0x5780efa4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
add eax, 0xf50
mov ebx, eax
mov edx, ebx
mov eax, 0x5780dbf8
mov ecx, dword [ebp - 0x3c]
call fcn.578025c4
mov eax, dword [ebp - 0x3c]
push eax
push 0
push 0
push 0xffffffffffffffff
mov eax, 0x5780f328
mov ecx, 4
mov edx, ebx
call fcn.57804e64
add eax, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x28]
mov dword [eax], edx
mov eax, dword [ebp - 0x3c]
push eax
push 0
push 0
push 0xffffffffffffffff
mov eax, 0x5780f330
mov ecx, 4
mov edx, ebx
call fcn.57804e64
add eax, ebx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
sub edx, ebx
sub edx, dword [ebp - 0x3c]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x5780f0ec
push 0
push 0x22
call fcn.57809834
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, eax
mov esi, 0x57813ab4
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, 0x5780f340
call fcn.57808948
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
inc edx
add edx, 5
sub eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov dword [edx + 2], eax
call sub.kernel32.dll_GetCurrentProcessId
mov edx, dword [ebp - 4]
mov ebx, dword [edx + 0x1c]
mov dword [ebx + 7], eax
lea eax, [ebx + 0x14]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebx + 0x14], eax
lea eax, [ebx + 0x1e]
mov dword [ebx + 0x1a], eax
lea eax, [ebx + 0x1e]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x20]
mov dword [edx + 2], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
push eax
call sub.kernel32.dll_GetCurrentProcessId
push eax
call sub.kernel32.dll_GetCurrentProcess
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 8]
pop edx
call fcn.5780d788
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x14]
mov dword [eax + edx*8 + 0x1c], ecx
mov ecx, dword [eax + edx*8 + 0x18]
mov dword [eax + edx*8 + 0x20], ecx
mov edx, dword [ebp - 4]
cmp byte [edx + 0xc], 0
je 0x5780f131
mov edx, dword [ebp - 4]
cmp byte [edx + 0x24], 0
jne 0x5780f131
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x1c]
mov dword [eax + edx*8 + 0x14], ecx
jmp 0x5780f13d
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov dword [eax + edx*8 + 0x14], ecx
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x20]
mov ecx, dword [ecx + 2]
mov dword [eax + edx*8 + 0x18], ecx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x1c]
mov edx, dword [eax + edx*8 + 0x18]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + edx*8 + 0x14]
mov edx, dword [eax + edx*8 + 0x10]
mov dword [edx], ecx
inc dword [eax]
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
call fcn.5780f354
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5780f199
cmp dword [ebp - 0x18], 0
je 0x5780f191
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5780f2a8
lea eax, [ebp - 0x120]
mov edx, 0xf
call fcn.57803504
lea eax, [ebp - 0xe4]
mov edx, dword [0x57806388]
mov ecx, 2
call fcn.57803b1c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.57803504
lea eax, [ebp + 0x18]
call fcn.578034e0
ret