Function at 0x41fdc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1e0
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
mov byte [ebp - 0x1dc], 0
push 1
mov edx, str.AMLTJOM_MailBox
mov dword [ebp - 0x1b8], 0
lea ecx, [ebp - 0x1dc]
mov dword [ebp - 0x1b4], 1
call fcn.0041fc80
add esp, 4
test eax, eax
jne 0x42000b
mov eax, dword [ebp - 0x1b8]
push esi
test eax, eax
jne 0x41fe30
mov esi, 5
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x1b4], 1
je 0x41fe43
mov esi, 0xa
jmp 0x41ffc7
test ebx, ebx
je 0x41ff8d
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fe50
sub ecx, edx
mov edx, ebx
lea esi, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x41fe60
sub edx, esi
lea eax, [ecx + 1]
push eax
push ebx
lea eax, [edx + 1]
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.0044445e
mov ecx, ebx
add esp, 0x10
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fe86
push edi
sub ecx, edx
lea edi, [ebp - 0x1ac]
add edi, ecx
lea esi, [ebx + 0x12]
mov ecx, esi
mov byte [edi], 0x2c
inc edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fea4
sub ecx, edx
mov edx, esi
lea eax, [edx + 1]
mov dword [ebp - 0x1e0], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x41feb8
sub edx, dword [ebp - 0x1e0]
lea eax, [ecx + 1]
push eax
push esi
lea eax, [edx + 1]
push eax
push edi
call fcn.0044445e
add esp, 0x10
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x41fee0
sub esi, ecx
add edi, esi
lea esi, [ebx + 0x34]
mov ecx, esi
mov byte [edi], 0x2c
inc edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41fef7
sub ecx, edx
mov edx, esi
lea eax, [edx + 1]
mov dword [ebp - 0x1e0], eax
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x41ff10
sub edx, dword [ebp - 0x1e0]
lea eax, [ecx + 1]
push eax
push esi
lea eax, [edx + 1]
push eax
push edi
call fcn.0044445e
add esp, 0x10
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x41ff32
sub esi, ecx
add edi, esi
lea esi, [ebx + 0x56]
mov ecx, esi
mov byte [edi], 0x2c
inc edi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ff50
sub ecx, edx
mov edx, esi
lea ebx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x41ff60
sub edx, ebx
lea eax, [ecx + 1]
push eax
push esi
lea eax, [edx + 1]
push eax
push edi
call fcn.0044445e
add esp, 0x10
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x41ff80
sub esi, ecx
mov byte [edi + esi], al
pop edi
lea eax, [ebp - 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
lea ecx, [ebp - 0x1b0]
inc eax
push ecx
push eax
lea eax, [ebp - 0x1ac]
push eax
push dword [ebp - 0x1b8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [ebp - 0x1b8]
jne 0x41ffe4
mov esi, 3
test eax, eax
je 0x41ffd2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x420008
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x420008
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00434098
mov esp, ebp
pop ebp
ret