Function at 0x4164c0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov dword [ebp - 0x6c], 0x1508e
mov dword [ebp - 0x80], 0x5340
mov dword [ebp - 0x78], 0x17312
mov dword [ebp - 0x70], 0x57d2
mov dword [ebp - 0x84], 0x5ccb
mov dword [ebp - 0x74], 0xcedf
mov dword [ebp - 0x48], 0x4858
mov dword [ebp - 0x10], 0xf584
mov dword [ebp - 0xc], 0xf760
mov dword [ebp - 0x28], 0x17819
mov dword [ebp - 4], 0xc0bf
mov dword [ebp - 0x2c], 0xba7e
mov dword [ebp - 0x40], 0x7d5a
mov dword [ebp - 0x14], 0x36e1
mov dword [ebp - 0x88], 0x11964
mov dword [ebp - 0x4c], 0x504c
mov dword [ebp - 0x18], 0x6a40
mov dword [ebp - 8], 0xa5a2
mov dword [ebp - 0x24], 0xfe07
mov dword [ebp - 0x8c], 0x7e42
mov dword [ebp - 0x5c], 0x148ca
mov dword [ebp - 0x7c], 0x94c9
mov dword [ebp - 0x3c], 0x15b77
mov dword [ebp - 0x68], 0xfe96
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x60]
cmp ecx, dword [ebp - 0x64]
jge 0x4165a9
mov dword [ebp - 0x30], 1
jmp 0x4165b0
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x3c]
and edx, dword [ebp - 0x30]
or edx, dword [ebp - 0x68]
je 0x416645
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x24]
jge 0x4165d0
mov dword [ebp - 0x34], 1
jmp 0x4165d7
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp + 0x18]
add ecx, 1
mov dword [ebp + 0x18], ecx
mov edx, dword [ebp - 0x18]
imul edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 0x40]
jge 0x4165f5
mov dword [ebp - 0x38], 1
jmp 0x4165fc
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x38]
je 0x416645
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0xc]
jne 0x416645
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x14]
jne 0x416645
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x48]
jne 0x416645
mov ecx, dword [ebp - 0x40]
cmp ecx, dword [ebp - 0x6c]
jne 0x416645
push 0x55f5
push 0x6e9d
push 0x13f26
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
add esp, 0xc
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x1c], 0
jmp 0x416657
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 0x8f89
cmp dword [ebp - 0x1c], ecx
jge 0x4166de
mov edx, dword [ebp - 0x10]
sub edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
je 0x4166d9
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x14]
jge 0x416690
mov dword [ebp - 0x44], 1
jmp 0x416697
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x70]
imul eax, dword [ebp - 0x28]
and eax, dword [ebp - 0x44]
je 0x4166d9
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 0x74]
jne 0x4166d9
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x10]
jne 0x4166d9
push 0x357f
push 0x8a86
push 0x10918
push 0x3d89
call dword [sym.imp.KERNEL32.dll_TlsFree]
add esp, 0x10
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x41664e
mov ecx, dword [ebp + 0x18]
add ecx, 0x206e
push ecx
mov edx, dword [ebp + 0x1c]
add edx, 0x614
push edx
mov eax, dword [ebp - 0x2c]
add eax, 0x7790
push eax
mov ecx, dword [ebp + 0x1c]
sub ecx, 0x3215
push ecx
call fcn.00405d10
add esp, 0x10
mov dword [ebp - 0x20], 0
jmp 0x41671f
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x48]
sub eax, 0x4857
cmp dword [ebp - 0x20], eax
jge 0x4167ca
mov ecx, dword [ebp - 0x78]
or ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x4c]
jge 0x416744
mov dword [ebp - 0x50], 1
jmp 0x41674b
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x24]
jge 0x41675c
mov dword [ebp - 0x54], 1
jmp 0x416763
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x18]
jge 0x41677d
mov dword [ebp - 0x58], 1
jmp 0x416784
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x50]
or edx, dword [ebp - 0x54]
or edx, dword [ebp - 0x58]
je 0x4167c5
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x7c]
jne 0x4167c5
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [ebp - 8]
jne 0x4167c5
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
push 0xb530
push 0x132d8
push 0x8414
push 0x2917
call dword [sym.imp.KERNEL32.dll_GetDllDirectoryA]
add esp, 0x10
jmp 0x416716
mov esp, ebp
pop ebp
ret