Function at 0x40725c
Capabilities:
Get file size
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, esp
mov dword [esi + 4], 0xd818de76
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x10], eax
mov edi, dword [esi + 0x34]
mov eax, dword [esi + 4]
cmp eax, 0x1964a6a7
jg 0x4072f0
cmp eax, 0xc32f5f39
jle 0x407348
cmp eax, 0xfd691beb
jle 0x40740b
cmp eax, 0x1541b13
jg 0x407523
cmp eax, 0xfd691bec
je 0x4076dc
cmp eax, 0xdd6bf
je 0x4076f8
cmp eax, 0x14e076b
jne 0x407280
mov ecx, dword [esi + 8]
mov eax, 0xad
add ecx, eax
mov dword [esi + 8], ecx
mov eax, 0x7ccb0544
cmp ecx, 0xec
jae 0x407a47
mov eax, 0x83112651
jmp 0x407a47
cmp eax, 0x43b4407c
jle 0x4073a0
cmp eax, 0x5e8de549
jle 0x40744c
cmp eax, 0x72c4531f
jg 0x40755d
cmp eax, 0x5e8de54a
je 0x40770f
cmp eax, 0x6351186d
je 0x40771e
cmp eax, 0x681c0f20
jne 0x407280
imul eax, dword [esi + 0xc], 0x73000
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0xacefb05c
jmp 0x407280
cmp eax, 0xb2cc8519
jg 0x40749c
cmp eax, 0xa8c75e35
jle 0x407593
cmp eax, 0xa8c75e36
je 0x407750
cmp eax, 0xa963abec
je 0x40777a
cmp eax, 0xacefb05c
jne 0x407280
mov ecx, dword [0x45d010]
add ecx, 0x30
mov eax, 0xfbf14b31
cmp ecx, dword [esi + 0x28]
ja 0x407a47
mov eax, 0xb4b9349a
jmp 0x407a47
cmp eax, 0x2ccbb42c
jg 0x4074d7
cmp eax, 0x25b4543e
jle 0x4075db
cmp eax, 0x25b4543f
je 0x4077aa
cmp eax, 0x27d54627
je 0x4077c3
cmp eax, 0x293a4e14
jne 0x407280
imul eax, dword [esi + 0xc], 0xf5
add eax, 0x34
imul ecx, eax, 0x7b
imul eax, eax
imul edx, eax, 0x2c01
dec edx
shr ecx, 0xc
mov dword [esi + 0xc], ecx
mov ecx, 0xfd691bec
cmp edx, eax
je 0x40789e
mov ecx, 0xb2fbf1fe
jmp 0x40789e
cmp eax, 0xd679a095
jle 0x407609
cmp eax, 0xd679a096
je 0x4077cf
cmp eax, 0xd818de76
je 0x407807
cmp eax, 0xfbf14b31
jne 0x407280
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xb2cc851a
jmp 0x407280
cmp eax, 0x5a2f4ff4
jle 0x40764e
cmp eax, 0x5a2f4ff5
je 0x40782b
cmp eax, 0x5aed916e
je 0x407849
cmp eax, 0x5c5835ad
jne 0x407280
mov ecx, dword [esi + 8]
add ecx, 0xffffffce
mov dword [esi + 8], ecx
mov eax, 0xb4b9349a
cmp ecx, 0xd5
jae 0x407a47
mov eax, 0x25b4543f
jmp 0x407a47
cmp eax, 0xb3b84474
jle 0x40767e
cmp eax, 0xb3b84475
je 0x40786f
cmp eax, 0xb4b9349a
je 0x4078a6
cmp eax, 0xb5726028
jne 0x407280
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], 0x7ccb0544
jmp 0x407280
cmp eax, 0x33dae76b
jle 0x4076ae
cmp eax, 0x33dae76c
je 0x4078fc
cmp eax, 0x3e9cebff
je 0x407935
cmp eax, 0x410b6d0d
jne 0x407280
mov ecx, dword [esi + 0x14]
mov eax, 0x7ed04493
cmp ecx, 0xffffffff
je 0x407515
mov eax, 0x5e8de54a
mov dword [esi + 4], eax
xor eax, eax
inc eax
mov dword [esi + 0x10], eax
jmp 0x407280
cmp eax, 0x1541b14
je 0x407954
cmp eax, 0x4bded57
je 0x407969
cmp eax, 0x7576378
jne 0x407280
cmp dword [esi + 0x48], 0
mov eax, 0xb3b84475
je 0x407a47
mov eax, 0x72c45320
jmp 0x407a47
cmp eax, 0x72c45320
je 0x40798a
cmp eax, 0x7ccb0544
je 0x4079b6
cmp eax, 0x7ed04493
jne 0x407280
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], 0x9fdb67c9
mov eax, dword [esi + 0x10]
mov dword [esi + 0x18], eax
jmp 0x407280
cmp eax, 0x83112651
je 0x4079f2
cmp eax, 0x89170e67
jne 0x407ad2
lea ebx, [esi + 0x4c]
push ebx
push 0x1c
push 0x45d00c
call fcn.004081d0
add esp, 0xc
push 0x14
push 0x45d028
push ebx
call fcn.00430b4d
add esp, 0xc
mov dword [esi + 0x44], eax
mov dword [esi + 4], 0x25b4543f
jmp 0x407280
cmp eax, 0x1964a6a8
je 0x407a16
cmp eax, 0x1ef00048
jne 0x407adf
mov dword [esi + 8], 0
call fcn.00407b1a
mov dword [esi + 4], 0x410b6d0d
jmp 0x407280
cmp eax, 0xc32f5f3a
je 0x407a28
cmp eax, 0xcde2a732
jne 0x407280
mov eax, dword [esi + 8]
shr eax, 8
add eax, 0xfffffff8
shr eax, 1
imul ecx, eax, 0xe1
mov dword [esi + 8], ecx
mov eax, 0x5602a2d7
cmp ecx, 0x8d
je 0x407a47
mov eax, 0x1ef00048
jmp 0x407a47
cmp eax, 0x43b4407d
je 0x407a4f
cmp eax, 0x5602a2d7
jne 0x407280
mov eax, dword [esi + 8]
shr eax, 2
add eax, 0xd4
mov dword [esi + 8], eax
mov dword [esi + 4], 0x5c5835ad
jmp 0x407280
cmp eax, 0xb2cc851a
je 0x407a6c
cmp eax, 0xb2fbf1fe
jne 0x407280
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], eax
mov dword [esi + 4], 0x1541b14
jmp 0x407280
cmp eax, 0x2ccbb42d
je 0x407a98
cmp eax, 0x2ed4b61f
jne 0x407280
push dword [esi + 0x20]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov dword [esi + 4], 0x293a4e14
jmp 0x407280
cmp dword [0x45d00c], 1
mov eax, 0x2ccbb42d
je 0x407a47
mov eax, 0xb5726028
jmp 0x407a47
push dword [esi + 0x24]
call fcn.0043c186
add esp, 4
mov dword [esi + 4], 0xd679a096
jmp 0x407280
mov eax, dword [esi + 0x20]
mov dword [esi + 4], 0x2ed4b61f
jmp 0x407280
mov eax, dword [esi + 8]
mov ebx, eax
shl ebx, 5
sub ebx, eax
add ebx, 0x16
mov dword [esi + 8], ebx
call fcn.00407b1a
call fcn.0040725c
mov eax, 0xc32f5f3a
cmp ebx, 0x45
jb 0x407a47
mov eax, 0x3e9cebff
jmp 0x407a47
mov eax, dword [esi + 0xc]
mov ecx, 0xb1
add eax, ecx
shr eax, 8
and eax, 0xffffffe0
lea eax, [eax + eax*4]
shl eax, 5
add eax, 0xffff6f00
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0x410b6d0d
jmp 0x407280
imul ecx, dword [esi + 8], 0xe3
add ecx, 0x10a04
mov eax, ecx
shr eax, 2
mov dword [esi + 8], eax
mov eax, 0x6351186d
cmp ecx, 0x158
jae 0x407a47
mov eax, 0x7576378
jmp 0x407a47
cmp dword [esi + 0x44], 0
mov eax, 0xfd691bec
je 0x407a47
mov eax, 0x1ec15ad4
jmp 0x407a47
mov dword [esi + 4], 0x89170e67
jmp 0x407280
imul eax, dword [esi + 0xc], 0xdd
lea ecx, [eax + 0x7117]
imul ecx, ecx
imul edx, ecx, 0x611d
dec edx
add eax, 0x71c2
mov dword [esi + 0xc], eax
mov eax, 0xa963abec
cmp edx, ecx
je 0x4077fc
mov eax, 0x1964a6a8
mov dword [esi + 4], eax
xor edi, edi
inc edi
jmp 0x407280
push eax
sub esp, 0xffc
mov eax, esp
mov dword [esi + 0x1c], eax
push eax
push eax
mov eax, esp
and eax, 0xfffffff8
mov esp, eax
mov dword [esi + 0x20], eax
mov dword [esi + 4], 0x27d54627
jmp 0x407280
call fcn.00407b1a
push dword [esi + 0x24]
call fcn.0043c186
add esp, 4
mov dword [esi + 4], 0x1964a6a8
xor edi, edi
jmp 0x407280
imul ecx, dword [esi + 8], 0xde000
add ecx, 0xffe820c3
mov dword [esi + 8], ecx
mov eax, 0x7576378
cmp ecx, 0x92
jl 0x407a42
jmp 0x407a47
mov eax, dword [esi + 0xc]
shr eax, 0xd
mov ecx, eax
shl ecx, 0xf
imul eax, eax
imul edx, eax, 0x4d1
dec edx
add ecx, 0xffffff40
shr ecx, 6
mov dword [esi + 0xc], ecx
mov ecx, 0x14e076b
cmp eax, edx
je 0x40789e
mov ecx, 0x5a2f4ff5
mov dword [esi + 4], ecx
jmp 0x407280
push dword [esi + 0x28]
call fcn.0043c534
add esp, 4
mov dword [esi + 0x24], eax
xor eax, eax
push eax
push eax
push dword [esi + 0x28]
push dword [esi + 0x24]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x45d010]
mov ecx, dword [esi + 0x24]
add eax, ecx
add eax, 8
push 0x14
push 0x45d014
push eax
call fcn.00430b4d
add esp, 0xc
mov dword [esi + 0x48], eax
mov dword [esi + 4], 0x43b4407d
jmp 0x407280
mov ebx, dword [esi + 8]
shl ebx, 6
add ebx, 0xffffee40
mov eax, ebx
shr eax, 0xb
mov dword [esi + 8], eax
call fcn.0040725c
call fcn.0040725c
mov eax, 0xfd691bec
cmp ebx, 0xc000
jb 0x407a47
mov eax, 0x2ed4b61f
jmp 0x407a47
imul eax, dword [esi + 8], 0x79800
shr eax, 4
imul eax, eax, 0x9ec0
mov dword [esi + 8], eax
mov dword [esi + 4], 0xb4b9349a
jmp 0x407280
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x28], eax
mov dword [esi + 4], 0x681c0f20
jmp 0x407280
mov eax, dword [esi + 8]
mov ecx, 0x83
add eax, ecx
shr eax, 5
and eax, 0x7fffe00
mov dword [esi + 8], eax
mov dword [esi + 4], 0x1541b14
jmp 0x407280
mov eax, dword [esi + 0xc]
shr eax, 0x12
mov dword [esi + 0xc], eax
mov ecx, eax
imul ecx, eax
imul edx, ecx, 0x351f
dec edx
mov eax, 0xcde2a732
cmp edx, ecx
je 0x407a47
mov eax, 0xdd6bf
jmp 0x407a47
push 0x800
push dword [esi + 0x1c]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push ebx
push 0x80
mov eax, 3
push eax
push ebx
push eax
push 0x80000000
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0xa8c75e36
jmp 0x407280
imul ecx, dword [esi + 8], 0x53
add ecx, 0xfffff7e9
shr ecx, 0xb
mov eax, 0x410b6d0d
and ecx, 0x1fff00
mov dword [esi + 8], ecx
je 0x407a47
mov eax, 0x5aed916e
jmp 0x407a47
mov eax, dword [esi + 0x20]
mov dword [esi + 4], 0x7ed04493
mov dword [esi + 0x10], edi
jmp 0x407280
imul ecx, dword [esi + 8], 0x6f
add ecx, 0x169
mov dword [esi + 8], ecx
mov eax, 0xb2fbf1fe
cmp ecx, 0x9d
jge 0x407a47
mov eax, 0x89170e67
mov dword [esi + 4], eax
jmp 0x407280
mov eax, dword [esi + 0xc]
shl eax, 0xb
add eax, 0xffff8400
shr eax, 4
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0x7576378
jmp 0x407280
imul eax, dword [esi + 0xc], 0x106000
add eax, 0xffffb1b5
shr eax, 4
imul eax, eax, 0xb9
add eax, 0xb90
mov dword [esi + 0xc], eax
mov dword [esi + 4], 0x1964a6a8
xor edi, edi
inc edi
jmp 0x407280
mov eax, dword [esi + 0xc]
add eax, 0x14
lea ecx, [eax + eax*8]
mov edx, eax
imul edx, eax
imul ebx, edx, 0x2961
dec ebx
lea eax, [ecx + ecx]
add eax, 0x12
mov dword [esi + 0xc], eax
mov eax, 0x89170e67
cmp edx, ebx
je 0x407ac4
mov eax, 0x9fdb67c9
mov dword [esi + 4], eax
xor eax, eax
inc eax
mov dword [esi + 0x18], eax
jmp 0x407280
cmp eax, 0x9fdb67c9
jne 0x407280
jmp 0x407b01
cmp eax, 0x1ec15ad4
jne 0x407280
mov eax, dword [esi + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x2c], ecx
mov eax, dword [esi + 0x10]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret