Function at 0x40bda0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov dword [ebp - 0x4c], 0x17313
mov dword [ebp - 0x24], 0xe8de
mov dword [ebp - 0x44], 0x9d68
mov dword [ebp - 0x3c], 0x3ca2
mov dword [ebp - 0x40], 0x16dba
mov dword [ebp - 0x38], 0x267a
mov dword [ebp - 0x2c], 0x13247
mov dword [ebp - 0x54], 0x1649b
mov dword [ebp - 0x20], 0x4e1b
mov dword [ebp - 0x10], 0x891a
mov dword [ebp - 0x64], 0xf9b0
mov dword [ebp - 4], 0xe0ab
mov dword [ebp - 0xc], 0x1683c
mov dword [ebp - 0x14], 0x1182
mov dword [ebp - 0x30], 0x18042
mov dword [ebp - 0x68], 0x4c6b
mov dword [ebp - 0x58], 0x16957
mov dword [ebp - 0x7c], 0xe48
mov dword [ebp - 8], 0xb8d0
mov dword [ebp - 0x28], 0xd878
mov dword [ebp - 0x18], 0x12011
mov dword [ebp - 0x80], 0x1b4f
mov dword [ebp - 0x84], 0x156da
mov dword [ebp - 0x60], 0x1042e
mov dword [ebp - 0x1c], 0x2fc0
mov dword [ebp - 0x34], 0
jmp 0x40be6d
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x64]
sub ecx, 0xf9af
cmp dword [ebp - 0x34], ecx
jge 0x40bffe
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x6c]
cmp edx, dword [ebp - 0x70]
jge 0x40bff9
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x14]
jne 0x40bff9
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x58]
jne 0x40bff9
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x44]
jne 0x40bff9
mov eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 4]
jge 0x40bed8
mov dword [ebp - 0x48], 1
jmp 0x40bedf
mov dword [ebp - 0x48], 0
mov ecx, dword [ebp - 0x60]
imul ecx, dword [ebp - 4]
and ecx, dword [ebp - 0x48]
je 0x40bff9
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0xc]
jne 0x40bff9
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x28]
jne 0x40bff9
push 0x174ee
push 0x15935
push 0x856b
push 0xd28d
push 0x77f5
push 0x8cd9
push 0x10ff1
push 0xa11f
push 0xd824
call dword [sym.imp.KERNEL32.dll_CreateTapePartition]
add esp, 0x24
mov ecx, dword [ebp - 0x14]
imul ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x20]
imul edx, dword [ebp - 0x30]
and edx, dword [ebp - 8]
and edx, dword [ebp - 0x3c]
or ecx, edx
je 0x40bfc8
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x4c]
jge 0x40bf66
mov dword [ebp - 0x50], 1
jmp 0x40bf6d
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 4]
and ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x14]
and ecx, edx
je 0x40bfc8
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 4]
jge 0x40bfc8
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 4]
jne 0x40bfc8
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x54]
jne 0x40bfc8
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x20]
jne 0x40bfc8
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x58]
jne 0x40bfc8
push 0x16767
push 0x160a9
push 0x13d73
call sub.KERNEL32.dll_VerLanguageNameW
add esp, 0xc
mov edx, dword [ebp - 0xc]
sub edx, 1
mov dword [ebp - 0xc], edx
push 0x17a7a
push 0x5985
push 0xcab8
push 0x7298
push 0xce2a
push 0x6f6a
push 0xe568
push 0x14881
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
add esp, 0x20
jmp 0x40be64
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x78]
jge 0x40c02d
mov dword [ebp - 0x5c], 1
jmp 0x40c034
mov dword [ebp - 0x5c], 0
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 8]
or eax, dword [ebp - 0x5c]
je 0x40c097
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [ebp - 0x68]
jne 0x40c097
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ebp - 0x60]
jne 0x40c097
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x64]
jne 0x40c097
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x40]
jne 0x40c097
mov edx, dword [ebp - 0x40]
cmp edx, dword [ebp - 0x24]
jne 0x40c097
push 0x7623
push 0x11ba2
push 0xb34a
push 0x11a7e
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
add esp, 0x10
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x80]
add ecx, 0xee3a
push ecx
mov edx, dword [ebp - 0x28]
sub edx, 0xa31a
push edx
mov eax, dword [ebp - 0x20]
add eax, 0x1c7b
push eax
mov ecx, dword [ebp - 0x84]
sub ecx, 0xd108
push ecx
mov edx, dword [ebp - 0xc]
sub edx, 0xdb12
push edx
mov eax, dword [ebp - 0x14]
add eax, 0xa47e
push eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x12560
push ecx
mov edx, dword [ebp - 0x40]
add edx, 0x31c
push edx
mov eax, dword [ebp - 0x30]
sub eax, 0x132e
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x128e5
push ecx
call fcn.00419230
add esp, 0x28
mov edx, dword [ebp - 0x20]
add edx, 0x8f08
push edx
mov eax, dword [ebp - 0x24]
add eax, 0x2ffc
push eax
mov ecx, dword [ebp - 0x18]
sub ecx, 0x65d3
push ecx
mov edx, dword [ebp - 0x28]
sub edx, 0x6447
push edx
mov eax, dword [ebp - 0x2c]
sub eax, 0xdaef
push eax
mov ecx, dword [ebp - 0x30]
sub ecx, 0x3a6b
push ecx
mov edx, dword [ebp - 0xc]
sub edx, 0x11b0
push edx
mov eax, dword [ebp - 0x68]
add eax, 0x1b94
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0xe97
push ecx
call fcn.004190d0
add esp, 0x24
mov esp, ebp
pop ebp
ret