Function at 0x73e29060
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x73f3e530]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x20]
push 8
push eax
mov ebx, ecx
push 0
mov dword [ebp - 0x398], ebx
call fcn.73e2a480
test al, al
je 0x73e29706
lea eax, [ebp - 0x20]
cmp dword [eax], 0x72613c21
jne 0x73e29706
cmp dword [eax + 4], 0xa3e6863
jne 0x73e29706
test dword [ebx + 0x20], 0x800000
je 0x73e290cd
push 0
push dword [ebx + 0x10]
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSize]
mov dword [ebp - 0x3a4], eax
jmp 0x73e290ec
push dword [ebx + 0xc]
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__filelengthi64]
mov ebx, eax
add esp, 4
and eax, edx
mov dword [ebp - 0x3a4], ebx
cmp eax, 0xffffffff
je 0x73e29706
mov ecx, edi
mov dword [ebp - 0x384], 0x73da54c0
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x380], 0
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x73e29110
sub ecx, edx
sar ecx, 1
push esi
lea eax, [ecx + 1]
push eax
push edi
mov dword [ebp - 0x39c], eax
call fcn.73e27720
mov ecx, dword [ebp - 0x384]
add esp, 8
mov esi, eax
mov ebx, dword [ecx]
cmp ebx, 0x73dfd290
jne 0x73e29195
cmp esi, 0xfffffff8
jae 0x73e29191
mov edx, dword [ebp - 0x380]
lea ecx, [esi + 3]
mov eax, 0x100
and ecx, 0xfffffffc
sub eax, edx
cmp eax, ecx
jb 0x73e2917b
lea eax, [ebp - 0x378]
add eax, edx
add edx, ecx
mov dword [ebp - 0x380], edx
mov ecx, eax
mov dword [ebp - 0x388], eax
jmp 0x73e291ae
push ecx
lea ecx, [ebp - 0x384]
call fcn.73de3b50
mov dword [ebp - 0x388], eax
mov ecx, eax
jmp 0x73e291ae
xor ecx, ecx
jmp 0x73e291a8
push esi
mov ecx, ebx
call dword [0x73f59474]
lea ecx, [ebp - 0x384]
call ebx
mov ecx, eax
mov dword [ebp - 0x388], ecx
mov eax, dword [ebp - 0x39c]
cmp esi, eax
jne 0x73e291cf
push esi
mov esi, dword [ebp - 0x388]
push esi
push edi
call fcn.73e27eb0
add esp, 0xc
test eax, eax
je 0x73e291f5
jmp 0x73e291f1
mov ebx, ecx
test ecx, ecx
jne 0x73e291d9
xor esi, esi
jmp 0x73e291eb
push esi
push ecx
push eax
push edi
call fcn.73e27b70
add esp, 0x10
neg eax
sbb esi, esi
and esi, ebx
mov dword [ebp - 0x388], esi
test esi, esi
jne 0x73e2920f
mov eax, dword [ebp - 0x398]
push 0
push 0
push 0x8007000e
mov ecx, dword [eax + 0x80]
jmp 0x73e29694
mov edi, dword [ebp - 0x398]
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x3a0], 0
mov ebx, 8
mov dword [ebp - 0x390], ecx
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x389], al
mov dword [ebp - 0x394], eax
add ebx, dword [ebp - 0x3a0]
test bl, 1
je 0x73e2924c
inc ebx
cmp ebx, dword [ebp - 0x3a4]
jae 0x73e296f5
push 0x3c
lea eax, [ebp - 0x278]
mov ecx, edi
push eax
push ebx
call fcn.73e2a480
test al, al
je 0x73e2969f
lea eax, [ebp - 0x3a0]
push eax
lea eax, [ebp - 0x248]
push 0x73db4cf8
push eax
call fcn.73de13ec
add esp, 0xc
cmp eax, 1
jne 0x73e2969f
add ebx, 0x3c
cmp byte [ebp - 0x389], 0
jne 0x73e294ee
lea ecx, [ebp - 0x278]
mov edx, 0x73db4cfc
lea esi, [eax + 0xb]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x73e292d5
add ecx, 4
add edx, 4
sub esi, 4
jae 0x73e292b3
mov esi, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x390]
jmp 0x73e29240
lea ecx, [ebp - 0x278]
mov edx, 0x73db4d10
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x73e29307
add ecx, 4
add edx, 4
sub esi, 4
jae 0x73e292e5
mov esi, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x390]
jmp 0x73e29240
lea ecx, [ebp - 0x278]
mov edx, 0x73db4d24
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x73e29339
add ecx, 4
add edx, 4
sub esi, 4
jae 0x73e29317
mov esi, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x390]
jmp 0x73e29240
lea ecx, [ebp - 0x278]
mov edx, 0x73db4d38
mov esi, 0xc
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x73e29372
add ecx, 4
add edx, 4
sub esi, 4
jae 0x73e29350
mov esi, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x390]
jmp 0x73e29240
lea ecx, [ebp - 0x278]
mov edx, 0x73db4d4c
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x73e293a4
add ecx, 4
add edx, 4
sub esi, 4
jae 0x73e29382
mov esi, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x390]
jmp 0x73e29240
lea ecx, [ebp - 0x278]
mov edx, 0x73db4d60
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x73e294e1
add ecx, 4
add edx, 4
sub esi, 4
jae 0x73e293b4
mov ecx, dword [edi + 0x80]
lea eax, [ebp - 0x394]
push eax
push dword [ebp + 0xc]
call fcn.73debbe0
test al, al
je 0x73e2969f
cmp dword [ebp - 0x394], 0
jne 0x73e294d0
push 0x73dbf874
push dword [ebp - 0x3a0]
call fcn.73de06fd
mov esi, eax
add esp, 8
mov dword [ebp - 0x394], esi
test esi, esi
je 0x73e296d9
mov edi, dword [ebp - 0x3a0]
test edi, edi
je 0x73e294ac
mov ecx, dword [ebp - 0x398]
test dword [ecx + 0x20], 0x800000
je 0x73e29469
mov eax, dword [ecx + 0x14]
add eax, dword [ecx + 0x18]
push edi
add eax, ebx
je 0x73e2944a
push eax
push esi
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
jmp 0x73e294a6
push 0
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__errno]
mov dword [eax], 0x16
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo]
jmp 0x73e294a6
mov eax, dword [ecx + 0x18]
push 0
add eax, ebx
push 0
push eax
push dword [ecx + 0xc]
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__lseeki64]
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x73e2962e
mov eax, dword [ebp - 0x398]
push edi
push esi
push dword [eax + 0xc]
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__read]
add esp, 0xc
cmp eax, edi
jne 0x73e2962e
mov esi, dword [ebp - 0x394]
mov edi, dword [ebp - 0x398]
push esi
push dword [ebp + 0xc]
mov ecx, dword [edi + 0x80]
call fcn.73decf70
test al, al
je 0x73e2969f
lea esp, [esp]
mov esi, dword [ebp - 0x388]
mov ecx, dword [ebp - 0x390]
jmp 0x73e29240
mov esi, dword [ebp - 0x388]
mov byte [ebp - 0x389], 1
push 0xffffffffffffffff
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x18]
push 0x11
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_strncpy_s]
add esp, 0x10
cmp byte [ebp - 0x18], 0x2f
jne 0x73e2955f
mov al, byte [ebp - 0x17]
cmp al, 0x20
je 0x73e29552
cmp al, 0x2f
je 0x73e29552
cmp dword [ebp - 0x394], 0
je 0x73e2969f
lea eax, [ebp - 0x18]
push 0x20
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
add esp, 8
test eax, eax
je 0x73e2969f
mov byte [eax], 0
lea eax, [ebp - 0x17]
push eax
call dword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_atoi]
add esp, 4
add eax, dword [ebp - 0x394]
jmp 0x73e2957b
lea eax, [ebp - 0x18]
push 0x20
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_strchr
jmp 0x73e2956a
lea eax, [ebp - 0x18]
push 0x2f
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_strrchr
add esp, 8
test eax, eax
je 0x73e2969f
mov byte [eax], 0
lea eax, [ebp - 0x18]
mov ecx, esi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x73e295a0
test dl, dl
je 0x73e2959c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x73e295a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x73e29580
xor eax, eax
jmp 0x73e295a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x73e29613
mov eax, dword [ebp - 0x390]
inc eax
mov dword [ebp - 0x390], eax
cmp eax, 1
jne 0x73e295c1
mov dword [ebp - 0x39c], ebx
push 0x14
lea eax, [ebp - 0x23c]
mov ecx, edi
push eax
push ebx
call fcn.73e2a480
test al, al
je 0x73e2969f
cmp word [ebp - 0x23c], 0
jne 0x73e294d6
mov eax, 0xffff
cmp word [ebp - 0x23a], ax
jne 0x73e294d6
cmp word [ebp - 0x238], 0
je 0x73e296ea
mov ecx, dword [ebp - 0x390]
jmp 0x73e29240
mov ecx, dword [ebp - 0x390]
test ecx, ecx
je 0x73e29240
mov eax, dword [ebp - 0x39c]
mov bl, 1
mov dword [edi + 0x18], eax
jmp 0x73e296a1
mov ebx, dword [ebp - 0x398]
mov dword [ebp - 0x3a4], 0x104
mov eax, dword [ebx + 0x80]
mov edi, dword [eax + 0x98]
mov eax, dword [edi]
mov esi, dword [eax + 0x80]
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x228]
mov ecx, esi
push eax
call dword [0x73f59474]
mov ecx, edi
call esi
test eax, eax
je 0x73e2969f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___doserrno]
mov eax, dword [eax]
test eax, eax
jle 0x73e29684
movzx eax, ax
or eax, 0x80070000
push 0
lea ecx, [ebp - 0x228]
push ecx
mov ecx, dword [ebx + 0x80]
push eax
mov ecx, dword [ecx + 0x17c]
call fcn.73debf30
xor bl, bl
mov esi, dword [ebp - 0x37c]
mov dword [ebp - 0x384], 0x73da54c0
test esi, esi
je 0x73e296c4
push esi
mov esi, dword [esi]
call fcn.73de0647
add esp, 4
test esi, esi
jne 0x73e296b5
pop esi
pop edi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.73ddffa0
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [edi + 0x80]
push 0
push 0
push 0x8007000e
jmp 0x73e29694
or dword [edi + 0x20], 0x20000
mov bl, 1
jmp 0x73e296a1
test ecx, ecx
je 0x73e2969f
mov eax, dword [ebp - 0x39c]
mov bl, 1
mov dword [edi + 0x18], eax
jmp 0x73e296a1
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop ebx
call fcn.73ddffa0
mov esp, ebp
pop ebp
ret 0xc