Function at 0x100382b6
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], 0x796a0b59
push 1
mov esi, ecx
mov dword [ebp - 8], ebx
pop edi
jmp 0x100382dc
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x30], edi
inc dword [ebp - 8]
cmp dword [ebp - 8], 3
jl 0x100382d2
mov dword [ebp - 8], ebx
jmp 0x100382f1
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x24], edi
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x100382e7
mov dword [ebp - 0x30], 0xffffffe6
jmp 0x1003834d
mov dword [ebp - 0x10], 8
xor ecx, ecx
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x14], 2
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x2c]
cmp edx, eax
setne cl
imul eax, ecx, 0x8064
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0x14], ebx
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0xffffffe9
jne 0x10038300
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10038362
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
cmp dword [esi], ebx
je 0x1003847f
push dword [esi]
push ebx
push dword [esi + 4]
call fcn.100204b7
push ebx
push esi
call fcn.10038643
push ebx
push esi
push 0x16a7
call fcn.1003aa37
mov dword [ebp - 0x10], 0x48261f9c
add esp, 0x20
mov dword [ebp - 0x10], 0xfffffffa
cmp dword [ebp - 0x10], 0xffffffec
je 0x1003847d
push 2
pop edx
mov dword [ebp - 0x14], 0xe1c97412
mov dword [ebp - 8], ebx
jmp 0x100383c0
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1c], 0x446df37d
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x100383b2
push 3
mov dword [ebp - 8], ebx
pop ecx
jmp 0x100383db
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x48], 0xd4f2887c
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x100383cd
mov dword [ebp - 0x44], ebx
jmp 0x100383f4
mov dword [ebp - 0x14], 8
cmp dword [ebp - 0x14], ebx
jne 0x100383f9
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], edi
jle 0x100383e5
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], ebx
jl 0x10038470
mov dword [ebp - 0xc], ebx
jmp 0x10038410
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x3c], ecx
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x10038406
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x3c], edi
jg 0x10038465
mov dword [ebp - 0xc], edi
mov dword [ebp - 0xc], ebx
jmp 0x10038455
mov dword [ebp - 8], 0x5b1b6fd4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + eax*4 - 0x1c]
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x1c], ecx
mov dword [ebp - 8], ebx
jmp 0x1003844d
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1c], 0xdca27289
inc dword [ebp - 8]
cmp dword [ebp - 8], edx
jl 0x1003843f
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jle 0x10038425
inc dword [ebp - 0x3c]
cmp dword [ebp - 0x3c], edi
jle 0x1003841d
push 3
pop ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], eax
dec dword [ebp - 0x14]
jns 0x10038401
dec dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0xffffffec
jne 0x100383a6
mov dword [esi], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret