Function at 0x43b8ab
Capabilities:
Write file on windows

Disassembly:
jmp fcn.0043ac30
jmp fcn.0043ac30
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x2038
call fcn.0047fc50
mov eax, dword [0x50a124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x2014], eax
push esi
push 0x2000000
push 3
push esi
push 7
push 0x100001
push dword [eax + 0xf4]
xor edi, edi
mov dword [ebp - 0x200c], esi
mov dword [ebp - 0x2010], edi
mov dword [ebp - 0x201c], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2018], eax
cmp eax, 0xffffffff
je 0x43a4a4
push 1
push esi
push esi
push 1
push 0x2000
lea ecx, [ebp - 0x2008]
push ecx
lea ecx, [ebp - 0x2034]
push ecx
push esi
push esi
push esi
push eax
call dword [0x797b70]
cmp eax, 0xc000000d
jne 0x43a222
mov eax, dword [ebp - 0x2014]
mov dword [eax + 0xf0], 0x10b
mov dword [eax + 0x48], 0xfffff02c
mov eax, dword [ebp - 0x2018]
jmp 0x43a4d9
test eax, eax
js 0x43a3f9
nop word [eax + eax]
lea ecx, [ebp - 0x2008]
xor esi, esi
nop dword [eax + eax]
mov eax, dword [ecx + esi]
add ecx, esi
mov dword [ebp - 0x202c], ecx
mov dword [ebp - 0x2020], eax
mov esi, dword [ecx + 0x3c]
shr esi, 1
je 0x43a39b
lea eax, [esi + 0x1f]
lea eax, [ecx + eax*2]
cmp word [eax], 0
jne 0x43a275
sub eax, 2
sub esi, 1
jne 0x43a262
jmp 0x43a39b
cmp esi, 1
jne 0x43a281
cmp word [ecx + 0x40], 0x2e
jmp 0x43a292
cmp esi, 2
jne 0x43a298
cmp word [ecx + 0x40], 0x2e
jne 0x43a298
cmp word [ecx + 0x42], 0x2e
je 0x43a39b
push 0
push 0
push 0
push 0
push esi
lea eax, [ecx + 0x40]
push eax
push 0
push 0xfde9
mov dword [ebp - 0x2028], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
mov dword [ebp - 0x2024], edi
test edi, edi
je 0x43a498
mov eax, dword [ebp - 0x201c]
cmp dword [ebp - 0x200c], eax
jb 0x43a309
test eax, eax
jne 0x43a2e1
mov eax, 0x20
jmp 0x43a2e3
add eax, eax
mov dword [ebp - 0x201c], eax
shl eax, 2
push eax
push dword [ebp - 0x2010]
call fcn.00425fc0
add esp, 8
test eax, eax
je 0x43a430
mov dword [ebp - 0x2010], eax
lea eax, [edi + 8]
push eax
call fcn.00425da0
mov edi, eax
add esp, 4
test edi, edi
je 0x43a430
mov eax, dword [ebp - 0x200c]
mov ecx, dword [ebp - 0x2010]
push 0
push 0
push dword [ebp - 0x2024]
mov dword [ecx + eax*4], edi
lea ecx, [edi + 4]
push ecx
push esi
push dword [ebp - 0x2028]
inc eax
push 0
push 0xfde9
mov dword [ebp - 0x200c], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x43a498
mov eax, dword [ebp - 0x2024]
mov ecx, dword [ebp - 0x202c]
mov byte [edi + eax + 4], 0
mov eax, dword [ecx + 0x38]
test al, 0x40
je 0x43a37f
mov dword [edi], 6
jmp 0x43a39b
test eax, 0x400
je 0x43a38e
mov dword [edi], 3
jmp 0x43a39b
test al, 0x10
mov eax, 0
setne al
inc eax
mov dword [edi], eax
mov esi, dword [ebp - 0x2020]
test esi, esi
jne 0x43a240
push esi
push esi
push esi
push 1
push 0x2000
lea eax, [ebp - 0x2008]
push eax
lea eax, [ebp - 0x2034]
push eax
push esi
push esi
push esi
push dword [ebp - 0x2018]
call dword [0x797b70]
test eax, eax
jne 0x43a3e7
cmp dword [ebp - 0x2030], eax
jne 0x43a230
mov eax, reloc.WS2_32.dll_getpeername
jmp 0x43a400
jns 0x43a230
mov esi, dword [ebp - 0x200c]
mov edi, dword [ebp - 0x2010]
cmp eax, reloc.WS2_32.dll_getsockname
je 0x43a458
push eax
call dword [0x797b84]
mov esi, dword [ebp - 0x2014]
push eax
mov dword [esi + 0xf0], eax
call fcn.0042bce0
mov dword [esi + 0x48], eax
add esp, 4
mov esi, dword [ebp - 0x200c]
mov eax, dword [ebp - 0x2018]
jmp 0x43a4d9
mov eax, dword [ebp - 0x2014]
mov esi, dword [ebp - 0x200c]
mov dword [eax + 0xf0], 0xe
mov dword [eax + 0x48], 0xfffff027
mov eax, dword [ebp - 0x2018]
jmp 0x43a4d9
push dword [ebp - 0x2018]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2014]
mov dword [eax + 0x4c], edi
test edi, edi
je 0x43a478
or dword [eax + 0xec], 8
mov dword [eax + 0x48], esi
mov dword [eax + 0x108], 0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047f334
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edi, dword [ebp - 0x2010]
mov esi, dword [ebp - 0x200c]
mov dword [ebp - 0x2010], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2014]
push eax
mov dword [ecx + 0xf0], eax
call fcn.0042bce0
add esp, 4
mov ecx, dword [ebp - 0x2014]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x2018]
cmp eax, 0xffffffff
je 0x43a4e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x2010]
test esi, esi
je 0x43a501
nop word [eax + eax]
push dword [edi + esi*4 - 4]
dec esi
call fcn.00425c40
add esp, 4
test esi, esi
jne 0x43a4f0
test edi, edi
je 0x43a50e
push edi
call fcn.00425c40
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0047f334
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
add ecx, 0xffffff28
mov eax, dword [ecx + 0x3c]
dec eax
cmp eax, 0x23
ja case.default.0x43b889
jmp dword [eax*4 + 0x43b9d8]
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004390b0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00437cc0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004395c0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0043b040
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00437e80
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0043a530
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0043a610
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00438760
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00438460
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00438500
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0043ade0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00438670
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004387c0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00437aa0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00437c60
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00438270
mov dword [ebp + 8], ecx
pop ebp
jmp 0x4384f0
mov dword [ebp + 8], ecx
pop ebp
jmp 0x438400
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0043ac90
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0043a120
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004387e0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00438840
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004388c0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0043a0d0
mov dword [ebp + 8], ecx
pop ebp
jmp 0x43a160
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00439a40
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00439480
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00437e50
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00438710
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0043ab90
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00439bb0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00439f70
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00437cb0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004383f0
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.00438700
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.0043a9c0
pop ebp
ret