Function at 0x407a92
Capabilities:
Clear file content
Create thread

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
lea edx, [eax - 0x2dd]
mov ebp, eax
push esi
mov esi, dword [esp + 0x18]
lea ecx, [ebx - 0x5f2]
xor ebp, 0x295d
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], ecx
lea edx, [ebx - 0x5eb]
mov dword [esp + 0x20], edx
push edi
lea edi, [eax - 0x295d]
cmp ebp, eax
je 0x407b85
lea eax, [ecx - 0x249]
cmp edi, eax
je 0x407c2a
cmp dword [esi + 0xac], 0x4fc9
je 0x407b00
mov dword [esi + 0x30], 0xc3
mov ecx, dword [0x7a1444]
jmp 0x407b19
mov ecx, dword [0x7a1444]
mov eax, dword [ecx + 0x14]
xor eax, dword [esi + 0xe4]
add eax, 0xa4b4
mov dword [0x7a1410], eax
mov eax, dword [esi + 0xc8]
cmp eax, dword [0x7a13dc]
jae 0x407b40
mov eax, dword [esi + 0x10c]
sub eax, dword [esi + 0x98]
sub eax, 0x250f9
or dword [esi + 0xdc], eax
jmp 0x407b4d
mov eax, dword [0x7a1404]
add eax, 0x93b
add dword [ecx + 0x30], eax
mov eax, dword [0x7a1404]
xor ebx, 0xe0f
sub ebx, 0x21d
cmp eax, dword [esi + 0x78]
ja 0x407c0d
mov ecx, dword [esi + 0x64]
mov eax, dword [0x7a1350]
add ecx, dword [0x7a13a4]
add eax, 0xf3a7f
add eax, ecx
mov dword [0x7a1350], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [0x7a1444]
mov eax, dword [esp + 0x24]
xor eax, 0xbf9
cmp edi, eax
jg 0x407c6d
mov eax, dword [0x7a13c8]
cmp eax, dword [esi + 0x10c]
je 0x407be1
mov eax, dword [edx + 0xa8]
mov ecx, dword [0x7a13fc]
sub eax, 0x1a7629
push eax
xor ecx, 0x3000
push ecx
push dword [0x7a1350]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
add eax, 0x5000
mov dword [esi + 0xec], eax
mov edx, dword [0x7a1444]
lea ecx, [edi + 0x2148]
mov eax, edi
push ecx
push dword [esp + 0x14]
xor eax, 0x1f1b
push edx
push eax
mov eax, dword [esp + 0x30]
push ecx
xor eax, 0x51e
push eax
call fcn.00403b70
add esp, 0x18
jmp 0x407cce
mov eax, dword [esi + 0xf0]
sub eax, dword [esi + 0x10c]
xor eax, 0x1ed06
imul eax, dword [esi + 0x5c]
mov dword [esi + 0x5c], eax
jmp 0x407b81
mov eax, ebp
and eax, edi
or eax, dword [esi + 0x20]
cmp dword [0x7a1410], eax
je 0x407b85
mov edx, dword [0x7a1444]
mov eax, dword [edx + 0xf0]
and eax, 0x219e
xor eax, dword [edx + 0xac]
cmp edi, eax
jae 0x407b8b
mov eax, dword [esi + 4]
imul eax, dword [0x7a13c8]
sub ebp, eax
jmp 0x407b8b
mov eax, dword [esi + 0xc4]
or eax, ebx
imul eax, dword [esi + 0x48]
push eax
lea eax, [edi + ebp]
and eax, dword [edx + 0x94]
push eax
mov eax, dword [esp + 0x2c]
add eax, 0xffffdeb8
add eax, edi
push eax
mov eax, dword [0x7a132c]
and eax, ebp
or eax, dword [esi + 0x48]
push eax
mov eax, ecx
xor eax, 0x26ab
sub eax, 0x2783
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, ebx
and eax, edi
imul eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [0x7a1444]
mov ecx, dword [esp + 0x20]
add ecx, edi
mov dword [eax + 0x104], ecx
mov eax, edi
xor eax, 0x2054
cmp edi, eax
je 0x407d2e
cmp dword [esi + 0x48], 0x13da4
je 0x407cfc
mov eax, dword [0x7a1444]
mov ecx, dword [esi + 0x104]
sub ecx, dword [eax + 0x84]
sub ecx, 0x3b1138a4
mov dword [eax + 0x54], ecx
cmp dword [esi + 0x24], 0xf956
mov eax, dword [0x7a1444]
jne 0x407d24
mov eax, dword [eax + 0xc8]
add eax, dword [esi + 0xa4]
xor eax, dword [esi + 0x9c]
or dword [esi + 0xbc], eax
jmp 0x407d2e
mov dword [eax + 0xe0], 0x46c690
lea eax, [edi + 0x2783]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret