Function at 0x101929b0
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x101d8d2f
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
push 1
mov esi, ecx
push eax
call fcn.1019a470
mov edi, eax
or ebp, 0xffffffff
add esp, 8
cmp edi, ebp
jne 0x101929f0
push 0x1024c9ac
jmp 0x10192ef2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, ebp
mov dword [esp + 0x18], eax
jne 0x10192a1a
push 0x1024cd00
call fcn.10198e40
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10192efa
mov ecx, dword [esi + 0xa8]
add ecx, eax
cmp ecx, 0x6400000
jbe 0x10192a43
push 0x1024cce0
call fcn.10198e40
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10192efa
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi + 0x9c]
call fcn.101987a0
test eax, eax
jne 0x10192be5
mov ecx, dword [esi + 0x9c]
lea edx, [esp + 0x14]
push edx
call fcn.101986e0
mov eax, dword [eax]
push 0x1024cb5c
push eax
mov dword [esp + 0x2c], 0
call fcn.1009539f
add esp, 8
test eax, eax
je 0x10192abf
mov ecx, dword [esi + 0x9c]
lea eax, [esp + 0x10]
push eax
call fcn.101986e0
mov eax, dword [eax]
push str.text_html
push eax
call fcn.1009539f
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100ca200
test bl, bl
je 0x10192abf
mov bl, 1
jmp 0x10192ac1
xor bl, bl
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
call fcn.100ca200
test bl, bl
je 0x10192b12
mov ecx, dword [esi + 0x9c]
push 0x1024cb5c
call fcn.10198700
mov ecx, dword [esi + 0x9c]
push str.UTF_8
call fcn.101984e0
mov ecx, dword [esi + 0x9c]
push str.base64
call fcn.10198730
mov ecx, dword [esi + 0x9c]
push 0x10265328
call fcn.10197970
push 0x5c
call fcn.1006151c
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x24], 1
je 0x10192b37
mov ecx, eax
call fcn.10197310
mov ebx, eax
jmp 0x10192b39
xor ebx, ebx
push 0x1024cc18
mov ecx, ebx
mov dword [esp + 0x28], ebp
call fcn.10198700
push 0
push 0
mov ecx, ebx
call fcn.10197ef0
mov ecx, dword [esi + 0x9c]
push ecx
mov ecx, ebx
call fcn.101987b0
push 0x5c
call fcn.1006151c
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x24], 2
je 0x10192b87
mov ecx, eax
call fcn.10197310
mov edi, eax
jmp 0x10192b89
xor edi, edi
push str.multipart_mixed
mov ecx, edi
mov dword [esp + 0x28], ebp
call fcn.10198700
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
call fcn.10197e70
mov eax, dword [eax]
push 1
push eax
mov ecx, edi
mov dword [esp + 0x2c], 3
call fcn.10197ef0
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
call fcn.100ca200
push str.This_is_a_multi_part_message_in_MIME_format.
mov ecx, edi
call fcn.10197970
push ebx
mov ecx, edi
mov dword [esi + 0x9c], edi
call fcn.101987b0
jmp 0x10192ceb
mov ecx, dword [esi + 0x9c]
lea eax, [esp + 0x14]
push eax
call fcn.101986e0
mov eax, dword [eax]
push 0x1024cc18
push eax
call fcn.1009539f
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.100ca200
test bl, bl
je 0x10192cb5
mov ecx, dword [esi + 0x9c]
push 0x10265328
call fcn.10197970
push 0x5c
call fcn.1006151c
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x24], 4
je 0x10192c50
mov ecx, eax
call fcn.10197310
mov edi, eax
jmp 0x10192c52
xor edi, edi
push str.multipart_mixed
mov ecx, edi
mov dword [esp + 0x28], ebp
call fcn.10198700
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x9c]
call fcn.10197e70
mov eax, dword [eax]
push 1
push eax
mov ecx, edi
mov dword [esp + 0x2c], 5
call fcn.10197ef0
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], ebp
call fcn.100ca200
push str.This_is_a_multi_part_message_in_MIME_format.
mov ecx, edi
call fcn.10197970
mov edx, dword [esi + 0x9c]
mov ecx, edi
push edx
call fcn.101987b0
mov dword [esi + 0x9c], edi
jmp 0x10192ceb
mov ecx, dword [esi + 0x9c]
lea eax, [esp + 0x14]
push eax
call fcn.101986e0
mov eax, dword [eax]
push str.multipart_mixed
push eax
call fcn.1009539f
add esp, 8
lea ecx, [esp + 0x14]
test eax, eax
sete bl
call fcn.100ca200
test bl, bl
je 0x10192eed
push 0x5c
call fcn.1006151c
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov dword [esp + 0x24], 6
je 0x10192d14
mov ecx, eax
call fcn.10197310
mov ebx, eax
mov dword [esp + 0x10], ebx
jmp 0x10192d20
mov dword [esp + 0x10], 0
mov ebx, dword [esp + 0x10]
push str.application_octet_stream
mov ecx, ebx
mov dword [esp + 0x28], ebp
call fcn.10198700
push str.base64
mov ecx, ebx
call fcn.10198730
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.10198510
mov edi, dword [esp + 0x30]
test edi, edi
je 0x10192d67
push edi
call fcn.100951b6
add esp, 4
test eax, eax
je 0x10192d67
push 0
push edi
mov ecx, ebx
call fcn.101986b0
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10192ebc
push edi
call fcn.100951b6
add esp, 4
test eax, eax
je 0x10192ebc
push edi
mov ecx, ebx
call fcn.10198790
mov ecx, dword [esi + 0x9c]
call fcn.101987a0
xor ebp, ebp
mov dword [esp + 0x2c], eax
test eax, eax
jle 0x10192df6
mov ecx, dword [esi + 0x9c]
push ebp
call fcn.10198ac0
mov edi, eax
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.101986e0
mov eax, dword [eax]
push str.multipart_related
push eax
call fcn.1009539f
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
sete bl
call fcn.100ca200
test bl, bl
jne 0x10192de8
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, eax
jl 0x10192da1
jmp 0x10192df2
test edi, edi
mov ecx, edi
jne 0x10192eab
mov ebx, dword [esp + 0x10]
push 0x5c
call fcn.1006151c
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov dword [esp + 0x24], 7
je 0x10192e1b
mov ecx, eax
call fcn.10197310
mov ebp, eax
jmp 0x10192e1d
xor ebp, ebp
push str.multipart_related
mov ecx, ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.10198700
push 2
push 0
mov ecx, ebp
call fcn.10197ef0
mov eax, dword [esp + 0x2c]
lea edi, [eax - 1]
test edi, edi
jl 0x10192e95
mov ecx, dword [esi + 0x9c]
push edi
call fcn.10198ac0
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.10198740
mov eax, dword [eax]
push str.attachment
push eax
call fcn.1009539f
add esp, 8
lea ecx, [esp + 0x2c]
test eax, eax
setne bl
call fcn.100ca200
test bl, bl
je 0x10192e8e
mov ecx, dword [esi + 0x9c]
push ebp
push edi
call fcn.10198ad0
dec edi
jns 0x10192e47
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0x9c]
push ebp
push 0
call fcn.10198920
test ebp, ebp
mov ecx, ebp
jne 0x10192eaf
jmp 0x10192efa
mov ebx, dword [esp + 0x10]
push ebx
call fcn.101987b0
mov eax, 1
jmp 0x10192efc
push str.attachment
mov ecx, ebx
call fcn.10198760
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0xa8]
add ecx, edx
push ebx
mov dword [esi + 0xa8], ecx
mov ecx, dword [esi + 0x9c]
call fcn.101987b0
mov eax, 1
jmp 0x10192efc
push 0x1024cc0c
call fcn.10198e40
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc