Function at 0x11f0e070
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x11fc55cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
push ebx
push ebp
mov ebp, dword [esp + 0xe4]
push esi
xor esi, esi
push edi
cmp word [ebp + 0xa], si
mov dword [esp + 0x60], esi
jne 0x11f0ea6c
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x8d]
mov byte [esp + 0x8c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x54]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0xf8]
xor edx, edx
lea ecx, [esp + 0x9c]
push 0x40
mov dl, byte [eax + 0x17]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x30]
push ecx
push edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x90], esi
call fcn.11f1a300
mov edi, eax
add esp, 0x24
cmp edi, esi
mov dword [esp + 0x74], edi
je 0x11f0ea82
push edi
call fcn.11ee93d0
mov ebx, eax
add esp, 4
cmp ebx, esi
mov dword [esp + 0x64], ebx
je 0x11f0ea98
cmp edi, 9
mov eax, 1
je 0x11f0e157
cmp edi, 0xc
je 0x11f0e157
cmp edi, 0xe
je 0x11f0e157
cmp edi, 0xf
je 0x11f0e157
cmp edi, 0x10
je 0x11f0e157
cmp edi, 0x11
jne 0x11f0e159
xor eax, eax
mov ecx, dword [esp + 0xdc]
mov word [ebp + 8], ax
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x4c]
mov edi, eax
mov eax, dword [esp + 0xe0]
push edx
push edi
push eax
call fcn.11f30ad0
add esp, 0xc
test eax, eax
je 0x11f0eaae
mov edx, dword [ebx]
push 0x1000
mov ecx, ebx
call dword [edx + 8]
mov cx, word [ebp + 8]
xor edx, edx
cmp cx, si
jne 0x11f0e1af
mov edx, eax
jmp 0x11f0e1c3
cmp cx, 1
jne 0x11f0e1ba
lea edx, [eax + 4]
jmp 0x11f0e1c3
cmp cx, 2
jne 0x11f0e1c3
lea edx, [eax + 8]
mov eax, dword [esp + 0xfc]
mov ebx, dword [esp + 0xe4]
mov dword [esp + 0x38], edx
mov dword [eax], 1
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x11f0e1eb
mov eax, dword [ebx + 0x24]
or al, 0x10
mov dword [ebx + 0x24], eax
cmp dword [esp + 0x58], esi
je 0x11f0e1f9
mov eax, dword [ebx + 0x24]
or al, 0x20
mov dword [ebx + 0x24], eax
cmp dword [esp + 0xdc], 0xffffffff
jne 0x11f0e222
mov dword [0x12135738], 1
mov dword [0x1213573c], 0x29bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135740], eax
mov eax, dword [esp + 0xe8]
xor ecx, ecx
xor edx, edx
xor esi, esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x4c]
or edx, edi
or eax, esi
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], eax
mov edx, dword [ebp + 0x10]
mov esi, eax
mov eax, edx
and eax, 0xfff
mov edi, eax
or edi, ecx
je 0x11f0e285
test esi, esi
ja 0x11f0e261
cmp edx, 0x1000
jbe 0x11f0e269
mov edi, eax
mov dword [esp + 0x7c], ecx
jmp 0x11f0e26f
mov edi, edx
mov dword [esp + 0x7c], esi
mov eax, edx
mov ecx, esi
sub eax, edi
mov edi, dword [esp + 0x7c]
sbb ecx, edi
add eax, 0x1000
adc ecx, 0
jmp 0x11f0e289
mov eax, edx
mov ecx, esi
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x24], esi
mov esi, dword [esp + 0xe8]
mov dword [ebp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [ebp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
lea edx, [esi + 0x38]
mov dword [esi + 0x34], ecx
push edx
lea ecx, [esp + 0x90]
push eax
push ecx
call fcn.11f2fe00
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x104]
add esp, 0xc
mov dword [esi + 0x4c], edx
xor edi, edi
call fcn.11e925e0
test eax, eax
jbe 0x11f0e2da
mov edi, 1
mov ecx, dword [esp + 0x100]
call fcn.11e925e0
test eax, eax
jbe 0x11f0e2eb
inc edi
mov ecx, dword [esp + 0xf8]
call fcn.11e925e0
mov ecx, dword [esp + 0x100]
mov esi, eax
call fcn.11e925e0
add esi, eax
xor eax, eax
cmp eax, esi
lea ecx, [edi + edi*4]
sbb eax, eax
mov edx, dword [esp + 0xe8]
and eax, esi
lea eax, [eax + ecx*8 + 0xd8]
xor ecx, ecx
mov dword [esp + 0x78], eax
add eax, 0xfff
shr eax, 0xc
shl eax, 0xc
mov dword [esp + 0x88], eax
mov dword [edx + 0x24], eax
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], eax
xor eax, eax
mov ax, word [ebp + 8]
mov dword [ebp + 0x30], ecx
sub eax, ecx
mov dword [ebp + 0x34], 0x1000
je 0x11f0e36d
dec eax
je 0x11f0e366
dec eax
jne 0x11f0e36f
mov ecx, 8
jmp 0x11f0e36f
mov ecx, 4
jmp 0x11f0e36f
xor ecx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov word [ebp + 6], cx
mov ecx, dword [esp + 0xdc]
push 0
push 0
push 0
push ecx
call edi
mov edx, dword [esp + 0xe0]
push 0
push 0
push 0
push edx
call edi
mov edx, dword [ebx + 0x24]
mov ecx, dword [esp + 0x100]
or edx, 1
mov dword [ebx + 0x24], edx
call fcn.11e925e0
mov esi, eax
mov dword [0x12135738], 0
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0xe0]
mov dword [0x12135740], eax
lea eax, [esp + 0x20]
push 1
push eax
push 0
push ecx
mov dword [esp + 0x30], 0
call edi
mov edx, dword [esp + 0xe0]
push 0
push 0
push 0
push edx
mov dword [esp + 0x3c], eax
call edi
mov ecx, dword [0x12107284]
mov eax, ebx
test esi, esi
mov dword [eax], ecx
mov edx, dword [0x12107288]
mov dword [esp + 0x1c], 0
mov dword [eax + 4], edx
mov ecx, dword [0x1210728c]
mov dword [eax + 8], ecx
mov edx, dword [0x12107290]
mov word [ebx + 0x30], 0x40
mov dword [eax + 0xc], edx
je 0x11f0e439
mov dword [ebx + 0x20], 0x40001
jmp 0x11f0e440
mov dword [ebx + 0x20], 0x40002
mov esi, 0x50
push 0x40
push ebx
mov word [ebx + 0x3e], si
mov dword [ebx + 0x34], 0
call fcn.11f2fde0
push ebx
mov dword [ebx + 0x34], eax
call fcn.11f1d040
add esp, 0xc
test eax, eax
je 0x11f0e4bd
mov eax, dword [ebx + 0x20]
cmp eax, 0x40001
je 0x11f0e479
cmp eax, 0x40002
jne 0x11f0e4bd
cmp word [ebx + 0x3e], si
jne 0x11f0e4bd
mov esi, dword [ebx + 0x34]
mov dword [ebx + 0x34], 0
push esi
push 0x40
push ebx
call fcn.11f2fd90
add esp, 0xc
mov dword [ebx + 0x34], esi
test eax, eax
je 0x11f0e4bd
mov esi, dword [esp + 0xe0]
push 0x40
push ebx
push esi
call fcn.11f0db50
add esp, 0xc
test eax, eax
je 0x11f0e4c4
mov dword [esp + 0x1c], 1
jmp 0x11f0e4c4
mov esi, dword [esp + 0xe0]
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x20]
push 0
push eax
push ecx
push esi
call edi
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x11f0e514
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0x10
mov dword [0x12135738], edi
mov dword [0x1213573c], 0x17b8
call esi
mov dword [0x12135740], eax
mov dword [0x12135738], edi
mov dword [0x1213573c], 0x12f9
call esi
jmp 0x11f0eade
mov edx, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
or edx, dword [ebp + 0x14]
jne 0x11f0e54d
mov eax, dword [esp + 0xe8]
push 0
push 0
mov ecx, dword [eax + 0x24]
push ecx
push esi
call edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x14], 0
jmp 0x11f0e938
mov esi, dword [0x12107280]
mov ebx, esi
push esi
shr ebx, 0xc
imul ebx, dword [esp + 0x3c]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
call fcn.11e679bc
push ebx
mov dword [esp + 0x3c], eax
call fcn.11e679bc
mov edx, dword [esp + 0xf0]
mov ecx, dword [esp + 0xe8]
add esp, 8
mov dword [esp + 0x28], eax
xor eax, eax
push eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [edx + 0x24]
push eax
push ecx
call edi
mov edi, dword [esp + 0x34]
mov ecx, esi
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push 0
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0xe4]
and ecx, 3
mov dword [esp + 0x4c], 0
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x4c]
push eax
push esi
push ecx
push edx
call fcn.11f2f1e0
add esp, 0x18
test eax, eax
je 0x11f0e899
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x11f0e8af
mov eax, ecx
shr eax, 0xc
test ecx, 0xfff
mov dword [esp + 0x1c], eax
je 0x11f0e620
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x68], eax
lea edx, [esp + 0x40]
mov dword [esp + 0x10], ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x78]
push 0x1000
push ebx
lea edx, [esp + 0xa8]
push ecx
mov cx, word [ebp + 8]
push edx
xor esi, esi
push eax
push ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x5c], esi
call fcn.11f172a0
add esp, 0x2c
cmp eax, esi
jne 0x11f0e798
mov ax, word [ebp + 8]
mov ecx, dword [esp + 0x30]
xor esi, esi
and eax, 0xffff
sub eax, esi
mov edi, ecx
je 0x11f0e6e6
dec eax
je 0x11f0e6cc
dec eax
jne 0x11f0e6e8
mov eax, dword [esp + 0x10]
push ecx
mov esi, eax
add eax, 8
push eax
call fcn.11f2fde0
mov dword [esi + 4], eax
add esp, 8
lea esi, [edi + 8]
jmp 0x11f0e6e8
mov eax, dword [esp + 0x10]
push ecx
mov esi, eax
add eax, 4
push eax
call fcn.11f2fde0
mov dword [esi], eax
add esp, 8
lea esi, [edi + 4]
jmp 0x11f0e6e8
mov esi, ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
add ecx, esi
test eax, eax
mov dword [esp + 0x48], ecx
jne 0x11f0e706
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], 1
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], 0
test eax, eax
je 0x11f0e727
push eax
call fcn.11e679b1
add esp, 4
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x68]
dec eax
mov dword [esp + 0x68], eax
je 0x11f0e81c
lea edx, [esp + 0x40]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push edx
add ebx, 0x1000
push eax
mov eax, dword [esp + 0x78]
push 0x1000
push ebx
lea edx, [esp + 0xa8]
push ecx
mov cx, word [ebp + 8]
push edx
add edi, esi
push eax
push ecx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x5c], 0
call fcn.11f172a0
add esp, 0x2c
test eax, eax
je 0x11f0e696
xor esi, esi
cmp eax, esi
jge 0x11f0e7f3
push 0x12119948
lea ecx, [esp + 0x40]
call fcn.11e7eae0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x74]
push 0x1342
push edx
push eax
push ecx
lea edx, [esp + 0x4c]
push str.Error:_Encrypt_Data_Failed__File__Algrithm_d__DataLen_lu_KeyLen_lu__LINE_d
push edx
mov dword [esp + 0xec], esi
call fcn.11e82200
mov eax, dword [esp + 0x54]
push eax
call fcn.11f32b20
add esp, 0x1c
lea ecx, [esp + 0x3c]
mov dword [esp + 0xd4], 0xffffffff
call fcn.11e7f280
mov dword [0x12135738], 0x11
mov dword [0x1213573c], 0x1346
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135740], eax
mov dword [esp + 0x14], 1
jmp 0x11f0e822
mov dword [esp + 0x2c], esi
xor esi, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], esi
cmp eax, esi
jne 0x11f0e8f6
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x70]
push 0
push ecx
push esi
push edx
push eax
mov dword [esp + 0x84], 0
call fcn.11f2f2e0
add esp, 0x14
test eax, eax
je 0x11f0e8b9
cmp dword [esp + 0x70], esi
jb 0x11f0e8cf
mov eax, dword [ebp + 0x28]
test eax, eax
jne 0x11f0e876
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x2c], ecx
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
add eax, edx
mov dword [ebp + 0x28], eax
mov eax, dword [esp + 0x2c]
mov dword [ebp + 0x30], eax
jmp 0x11f0e5a3
mov dword [0x12135738], 0xd
mov dword [0x1213573c], 0x1321
jmp 0x11f0e8e3
mov dword [esp + 0x20], 1
jmp 0x11f0e8f6
mov dword [0x12135738], 0xe
mov dword [0x1213573c], 0x1372
jmp 0x11f0e8e3
mov dword [0x12135738], 0xe
mov dword [0x1213573c], 0x137a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135740], eax
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x11f0e907
push eax
call fcn.11e679b1
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x11f0e918
push eax
call fcn.11e679b1
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x11f0e931
push eax
call fcn.11e679b1
add esp, 4
mov dword [esp + 0x18], 0
mov ebx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x11f0eae3
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x11f0eae3
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xe0]
push edx
push eax
push ecx
mov dword [esp + 0x6c], 1
call fcn.11f20e00
mov edi, dword [esp + 0x104]
add esp, 0xc
mov ecx, edi
xor esi, esi
call fcn.11e925e0
test eax, eax
je 0x11f0e9a0
mov ecx, edi
call fcn.11e92ce0
mov esi, eax
mov edi, dword [ebx + 0x24]
test esi, esi
jne 0x11f0e9ac
and edi, 0xffffffb1
jmp 0x11f0e9c4
push esi
or edi, 8
call fcn.11f1bad0
add esp, 4
test eax, eax
je 0x11f0e9c1
and edi, 0xffffffbf
jmp 0x11f0e9c4
or edi, 0x40
cmp edi, dword [ebx + 0x24]
je 0x11f0e9cc
mov dword [ebx + 0x24], edi
mov edi, dword [esp + 0x100]
xor esi, esi
mov ecx, edi
call fcn.11e925e0
test eax, eax
je 0x11f0e9e9
mov ecx, edi
call fcn.11e92ce0
mov esi, eax
mov edx, dword [ebx + 0x24]
mov ecx, edx
and ch, 0xfe
test esi, esi
je 0x11f0ea25
mov al, byte [esi + 6]
cmp al, 1
je 0x11f0ea09
test al, al
je 0x11f0ea09
xor eax, eax
mov ah, byte [esi + 5]
mov edi, eax
jmp 0x11f0ea0b
xor edi, edi
xor eax, eax
mov al, byte [esi + 4]
add eax, edi
mov edi, dword [esi]
lea eax, [eax + eax*4]
lea eax, [eax*4 + 8]
cmp edi, eax
jb 0x11f0ea25
or ch, 1
cmp ecx, edx
je 0x11f0ea2c
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0xf4]
push ecx
mov ecx, dword [esp + 0xf4]
push edx
mov edx, dword [esp + 0xf0]
push eax
mov eax, dword [esp + 0xec]
push ecx
push ebp
push edx
push ebx
push eax
call fcn.11f10750
add esp, 0x20
test eax, eax
je 0x11f0eac4
jmp 0x11f0eae3
mov dword [0x12135738], 1
mov dword [0x1213573c], 0x128c
jmp 0x11f0ead8
mov dword [0x12135738], 0xb
mov dword [0x1213573c], 0x12a2
jmp 0x11f0ead8
mov dword [0x12135738], 0xc
mov dword [0x1213573c], 0x12aa
jmp 0x11f0ead8
mov dword [0x12135738], 0x25
mov dword [0x1213573c], 0x12bc
jmp 0x11f0ead8
mov dword [0x12135738], 0x10
mov dword [0x1213573c], 0x13b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x12135740], eax
mov ecx, dword [esp + 0xcc]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc8
ret