Function at 0x1002a4e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8bc
mov eax, dword [0x100e7c94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push 0x208
mov dword [ebp - 0x87c], eax
mov ebx, ecx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x878], 0
push 0
push eax
call fcn.1003d670
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.1003d670
push 0x418
lea eax, [ebp - 0x874]
push 0
push eax
call fcn.1003d670
add esp, 0x24
cmp dword [ebx + 0x14], 0
je 0x1002a864
cmp dword [ebx + 0x1c], 0
je 0x1002a864
push esi
mov esi, dword [ebp + 0xc]
mov eax, 0x4d42
mov word [ebp - 0x434], ax
push edi
mov edi, dword [ebp + 0x10]
lea eax, [esi + 0x36]
mov dword [ebp - 0x42e], 0
mov dword [ebp - 0x432], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 0x42a], 0x36
mov dword [ebp - 0x45c], 0x28
mov dword [ebp - 0x458], edi
mov dword [ebp - 0x450], 0x180001
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xa
mov dword [ebp - 0x440], 0xa
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x416]
push eax
movzx eax, word [ebp - 0x418]
push eax
movzx eax, word [ebp - 0x41a]
push eax
movzx eax, word [ebp - 0x41c]
push eax
movzx eax, word [ebp - 0x41e]
push eax
movzx eax, word [ebp - 0x422]
push eax
movzx eax, word [ebp - 0x424]
push eax
push str._d__02d__02d__02d__02d__02d__d.bmp
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1002afe0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebx + 0x24]
push eax
push str._s_s
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1002afe0
push 0x100c5b58
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x878]
push eax
call fcn.100599c1
add esp, 0x48
test eax, eax
je 0x1002a6ad
push 0
push str.Twain_DLL
push str.Open_output_file_fail.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003acef
mov esp, ebp
pop ebp
ret 0x10
push dword [ebp - 0x878]
lea eax, [ebp - 0x434]
push 0xe
push 1
push eax
call fcn.1005932f
push dword [ebp - 0x878]
lea eax, [ebp - 0x45c]
push 0x28
push 1
push eax
call fcn.1005932f
push dword [ebp - 0x878]
push esi
push 1
push dword [ebp - 0x87c]
call fcn.1005932f
push dword [ebp - 0x878]
call fcn.10059af4
add esp, 0x34
lea eax, [ebp - 0x880]
mov ecx, ebx
push eax
push 0x104
lea eax, [ebp - 0x414]
push eax
call fcn.1002ab90
push 0
push dword [ebp - 0x880]
push dword [ebx + 0x1c]
call dword [sym.imp.COMCTL32.dll_ImageList_Add]
push dword [ebx + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x1003
push dword [ebx + 0x14]
mov dword [0x1304afc8], eax
call esi
mov eax, dword [0x1304afc8]
xorps xmm0, xmm0
mov dword [ebp - 0x8a0], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x8a8], eax
lea eax, [ebp - 0x8bc]
push eax
push 0
push 0x104d
push dword [ebx + 0x14]
movlpd qword [ebp - 0x8b8], xmm0
movlpd qword [ebp - 0x8b0], xmm0
mov dword [ebp - 0x8a4], 0
movlpd qword [ebp - 0x89c], xmm0
movlpd qword [ebp - 0x894], xmm0
movlpd qword [ebp - 0x88c], xmm0
mov dword [ebp - 0x884], 0
mov dword [ebp - 0x8bc], 3
call esi
mov dword [ebx + 0x20], eax
lea eax, [ebp - 0x20c]
push eax
push 0x100c5ba4
lea eax, [ebp - 0x874]
push 0x104
push eax
call fcn.1002afe0
lea eax, [ebp - 0x414]
push eax
push 0x100c5ba4
lea eax, [ebp - 0x66c]
push 0x104
push eax
call fcn.1002afe0
mov edx, dword [ebx + 0x230]
add esp, 0x20
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x464], edi
mov dword [ebp - 0x460], eax
cmp edx, dword [ebx + 0x234]
je 0x1002a82b
mov ecx, 0x106
lea esi, [ebp - 0x874]
mov edi, edx
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 0x230], 0x418
jmp 0x1002a83e
lea ecx, [ebp - 0x874]
push ecx
push edx
lea ecx, [ebx + 0x22c]
call fcn.10029d40
push dword [ebx + 0x20]
mov ecx, ebx
call fcn.1002aee0
mov ecx, ebx
call fcn.1002ad00
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1003acef
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop ebx
call fcn.1003acef
mov esp, ebp
pop ebp
ret 0x10