Function at 0x1002da58
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
jmp 0x1002d981
mov eax, dword [ebp - 0x78]
add eax, 0x3e
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
add eax, 0xaa8
cmp dword [ebp - 0x78], eax
ja 0x1002e451
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x57c3
ja 0x1002daa8
cmp dword [ebp - 0xe4], 0x57c3
je 0x1002dec8
cmp dword [ebp - 0xe4], 0x5668
ja 0x1002da46
cmp dword [ebp - 0xe4], 0x5668
je 0x1002ddd7
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe8], eax
sub dword [ebp - 0xe8], 0x54b6
je 0x1002dc15
sub dword [ebp - 0xe8], 0x3e
je 0x1002db95
sub dword [ebp - 0xe8], 0x3e
je 0x1002ddf2
sub dword [ebp - 0xe8], 0x3e
je 0x1002dee2
sub dword [ebp - 0xe8], 0x3e
je 0x1002de50
sub dword [ebp - 0xe8], 0x3e
je 0x1002e447
sub dword [ebp - 0xe8], 0x3e
je 0x1002dbb4
jmp 0x1002e44c
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xec], eax
sub dword [ebp - 0xec], 0x56a6
cmpsb byte [esi], byte es:[edi]
push esi
add byte [eax], al
je 0x1002e3f6
sub dword [ebp - 0xec], 0x3e
je 0x1002e43a
sub dword [ebp - 0xec], 0x3e
je 0x1002de2f
sub dword [ebp - 0xec], 0x3e
je 0x1002e42c
sub dword [ebp - 0xec], 0x25
je 0x1002dbc1
sub dword [ebp - 0xec], 0x19
je 0x1002dc0b
jmp 0x1002e44c
cmp dword [ebp - 0xe4], 0x58bb
ja 0x1002db33
cmp dword [ebp - 0xe4], 0x58bb
je 0x1002e400
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf0], eax
sub dword [ebp - 0xf0], 0x57dc
je 0x1002dbf9
sub dword [ebp - 0xf0], 0x25
je 0x1002e3a0
sub dword [ebp - 0xf0], 0x19
je 0x1002dba9
sub dword [ebp - 0xf0], 0x25
je 0x1002ddb4
sub dword [ebp - 0xf0], 0x19
je 0x1002e3d2
sub dword [ebp - 0xf0], 0x25
je 0x1002de1c
sub dword [ebp - 0xf0], 0x19
je 0x1002e3f3
jmp 0x1002e44c
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf4], eax
sub dword [ebp - 0xf4], 0x58f9
je 0x1002de57
sub dword [ebp - 0xf4], 0x3e
je 0x1002defe
sub dword [ebp - 0xf4], 0x3e
je 0x1002dcbe
sub dword [ebp - 0xf4], 0x3e
je 0x1002dc29
sub dword [ebp - 0xf4], 0x3e
je 0x1002e030
sub dword [ebp - 0xf4], 0x3e
je 0x1002de02
jmp 0x1002e44c
mov dword [ebp - 0x1c], edi
xor eax, eax
mov ebx, dword [ebp + 8]
cmp ebx, edi
setne al
cmp eax, edi
jmp 0x1002e44c
jg 0x1002dba9
mov dh, 0xc8
or edx, dword [ebx - 0x17]
cwde
or byte [eax], al
add byte [edi], cl
test byte [0x33000005], dh
shr cl, 0x8b
or byte [eax], al
add byte [eax + 0x6552], bh
push ebx
jmp 0x1002e44c
je 0x1002e0ef
xor eax, eax
jmp 0x1002e44c
mov eax, 0x6552
mov word [ebp - 0x1c], ax
push 0x61
pop eax
mov word [ebp - 0x1a], ax
push 0x64
pop eax
mov word [ebp - 0x19], ax
push 0x46
pop eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x17], 0x656c69
push 0x6b
pop eax
mov word [ebp - 0x38], ax
push 0x65
pop eax
mov word [ebp - 0x36], ax
jmp 0x1002e44c
add esp, 0xc
jmp 0x1002e3f3
call fcn.100040ea
jmp 0x1002e44c
push 0xc
push dword [0x10058358]
call fcn.10009695
xor edi, edi
jmp 0x1002e44c
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x400000
ja 0x1002dc4c
cmp dword [ebp - 0xc], 0
jne 0x1002dc5a
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002e451
mov eax, dword [ebp - 0xc]
inc eax
push eax
call fcn.1000361d
pop ecx
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xc]
inc eax
push eax
push 0
push dword [ebp - 0x4c]
call fcn.1004d4c0
add esp, 0xc
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x4c]
push dword [ebp - 0x10]
call dword [ebp - 0x48]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x74], eax
jmp 0x1002e44c
push 0x2d82
call fcn.10003d56
pop ecx
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xf8]
mov al, byte [eax]
mov byte [ebp - 0xfd], al
inc dword [ebp - 0xf8]
cmp byte [ebp - 0xfd], 0
jne 0x1002dce7
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
dec eax
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov al, byte [eax + 1]
mov byte [ebp - 0x10d], al
inc dword [ebp - 0x10c]
cmp byte [ebp - 0x10d], 0
jne 0x1002dd2f
mov edi, dword [ebp - 0x10c]
mov esi, dword [ebp - 0x104]
mov eax, dword [ebp - 0x108]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
push 4
push 0
push 3
push 0x80000000
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call dword [ebp - 8]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1002dd9f
jmp 0x1002e451
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x50], eax
jmp 0x1002e44c
push 0x72
pop eax
mov word [ebp - 0x43], ax
push 0x65
pop eax
mov word [ebp - 0x42], ax
push 0x61
pop eax
mov word [ebp - 0x41], ax
mov eax, 0x6574
mov word [ebp - 0x40], ax
jmp 0x1002e44c
cmp word [esi], di
setne al
cmp eax, edi
je 0x1002dc15
call fcn.10020dfe
mov dword [ebp + 8], eax
jmp 0x1002e44c
jne 0x1002dee2
call fcn.1002d63a
jmp 0x1002e44c
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xc0], eax
push dword [ebp - 0xc0]
call fcn.100351b3
pop ecx
jmp 0x1002e44c
mov dword [ebp - 0x3e], 0x656c6946
push 0x41
pop eax
mov word [ebp - 0x3a], ax
jmp 0x1002e44c
jmp 0x1002dcbe
cmp esi, edi
jmp 0x1002e44c
push 0x64
pop eax
mov word [ebp - 0x5a], ax
mov dword [ebp - 0x58], 0x6c006c
xor eax, eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x38]
push eax
push 0x505d
lea eax, [ebp - 0x1c]
push eax
call fcn.10036ab6
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x6c]
push eax
push 0x505d
lea eax, [ebp - 0x44]
push eax
call fcn.10036ab6
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 8], eax
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 4], eax
jmp 0x1002e44c
push 0x72
pop eax
mov word [ebp - 0x34], ax
mov dword [ebp - 0x32], 0x65006e
push 0x6c
pop eax
mov word [ebp - 0x2e], ax
jmp 0x1002e44c
mov dword [eax], 0x16
call fcn.1000cd5e
xor eax, eax
jmp 0x1002e400
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x118], eax
invalid