Function at 0x2755bfb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a8a83
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
mov eax, dword [0x275ba2ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x14]
xor ebx, ebx
push edi
lea ecx, [ebp + 0x14]
mov dword [ebp - 0x38], ebx
call fcn.275391c0
mov esi, eax
mov eax, dword [esi]
push 0x2e
push eax
call fcn.27580355
add esp, 8
cmp eax, ebx
jne 0x2755c004
or esi, 0xffffffff
jmp 0x2755c00a
sub eax, dword [esi]
sar eax, 1
mov esi, eax
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2755c029
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jle 0x2755c04e
lea edi, [edi + esi*2]
xor esi, esi
mov ecx, dword [esi + 0x275b958c]
push ecx
push edi
call fcn.27580de3
add esp, 8
test eax, eax
je 0x2755c07f
add esi, 4
cmp esi, 0x10
jb 0x2755c032
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ebx
lea ecx, [ebp + 0x18]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
mov dword [ebp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x275bc8c4
mov dword [ebp - 0x1c], ebx
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x275bc8c4
mov dword [ebp - 4], ebx
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
add ecx, eax
xor dl, dl
cmp eax, ecx
mov byte [ebp - 4], 1
mov byte [ebp + 0x17], dl
mov dword [ebp - 0x44], ecx
jae 0x2755c710
mov edi, dword [ebp + 8]
jmp 0x2755c0d5
mov dl, byte [ebp + 0x17]
cmp dword [ebp - 0x1c], 6
ja case.0x2755c0e2.4
mov eax, dword [ebp - 0x1c]
jmp dword [eax*4 + 0x2755c768]
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0x7b
jne 0x2755c0fd
mov dword [ebp - 0x1c], 1
jmp case.0x2755c0e2.4
cmp dl, bl
jne case.0x2755c0e2.4
mov eax, dword [ebp + 0xc]
push ebx
lea edx, [ebp - 0x18]
push edx
push 1
push eax
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp case.0x2755c0e2.4
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x7b
je 0x2755c148
cmp dl, bl
jne 0x2755c140
push ebx
lea ecx, [ebp - 0x18]
push ecx
push 2
add eax, 0xffffffff
push eax
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x1c], ebx
jmp case.0x2755c0e2.4
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x2755c166
push ebx
lea ecx, [ebp - 0x10]
call fcn.2753a760
mov edx, dword [ebp - 0x10]
cmp dword [edx - 8], ebx
jl 0x2755c75e
mov dword [edx - 0xc], ebx
mov edx, dword [ebp - 0x10]
mov byte [edx], bl
mov dword [ebp - 0x1c], 2
jmp case.0x2755c0e2.4
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
cmp al, 0x7d
jne 0x2755c1bf
lea ecx, [ebp - 0x10]
call fcn.27559da0
mov ecx, eax
call fcn.27559df0
mov ecx, dword [ebp - 0x10]
push 0x27517508
push ecx
call fcn.27581781
add esp, 8
test eax, eax
jne 0x2755c1b3
mov byte [ebp + 0x17], bl
mov dword [ebp - 0x1c], 6
jmp case.0x2755c0e2.4
cmp al, 0x28
jne 0x2755c1fb
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
mov dword [ebp - 0x1c], 3
or ecx, eax
jge 0x2755c1e2
push ebx
lea ecx, [ebp - 0x14]
call fcn.2753a760
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], ebx
jl 0x2755c75e
mov dword [eax - 0xc], ebx
mov edx, dword [ebp - 0x14]
mov byte [edx], bl
jmp case.0x2755c0e2.4
mov byte [ebp - 0x48], al
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x10]
call fcn.27559e90
jmp case.0x2755c0e2.4
mov ecx, dword [ebp + 0xc]
mov al, byte [ecx]
cmp al, 0x29
lea ecx, [ebp - 0x14]
je 0x2755c22c
mov byte [ebp - 0x4c], al
mov edx, dword [ebp - 0x4c]
push edx
call fcn.27559e90
jmp case.0x2755c0e2.4
mov dword [ebp - 0x1c], 5
call fcn.27559da0
mov ecx, eax
call fcn.27559df0
mov eax, dword [ebp - 0x10]
push 0x27517504
push eax
call fcn.27581781
add esp, 8
test eax, eax
jne 0x2755c39c
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
call fcn.275390e0
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 2
call eax
add eax, 0x10
mov dword [ebp + 0x10], eax
mov edx, dword [ebp - 0x30]
lea ecx, [ebp + 0x10]
push ecx
push edx
mov byte [ebp - 4], 3
call fcn.2759c080
mov ecx, eax
call fcn.2759bdd0
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x2755c34d
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x275bc8c4
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
mov byte [ebp - 4], 4
jle 0x2755c2e0
push 0x3f
push eax
call fcn.2757f5f4
add esp, 8
cmp eax, ebx
je 0x2755c2e0
sub eax, dword [ebp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
jne 0x2755c2f2
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
push 0x275070dc
lea ecx, [ebp + 0x10]
push ecx
jmp 0x2755c302
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
push eax
push 0x275070cc
lea edx, [ebp + 0x10]
push edx
call fcn.2753ec20
mov eax, dword [ebp + 0x10]
add esp, 0xc
push eax
lea ecx, [ebp - 0x18]
call fcn.2753d420
mov esi, dword [ebp - 0x18]
push ebx
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x3c], ebx
mov eax, dword [esi - 0xc]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x2755c34d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2755c370
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg case.0x2755c0e2.4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp case.0x2755c0e2.4
mov ecx, dword [ebp - 0x10]
push 0x275174fc
push ecx
call fcn.27581781
add esp, 8
test eax, eax
jne 0x2755c415
mov edx, dword [ebp - 0x14]
push edx
call fcn.27581d81
mov esi, eax
add esp, 4
cmp esi, ebx
je case.0x2755c0e2.4
lea ecx, [ebp + 8]
call fcn.2753b8d0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 4]
lea eax, [ebp + 8]
push eax
push edx
push esi
mov byte [ebp - 4], 5
call fcn.2755bdd0
test al, al
je 0x2755c404
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x2755c404
push ebx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.2753a510
jmp case.0x2755c0e2.4
mov eax, dword [ebp - 0x10]
push 0x275174f4
push eax
call fcn.27581781
add esp, 8
test eax, eax
jne 0x2755c48e
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.27581d81
mov esi, eax
add esp, 4
cmp esi, ebx
je case.0x2755c0e2.4
lea ecx, [ebp - 0x20]
call fcn.2753b8d0
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x20]
push edx
push ecx
push esi
mov byte [ebp - 4], 6
call fcn.2755b630
test al, al
je 0x2755c47d
mov eax, dword [ebp - 0x20]
cmp dword [eax - 0xc], ebx
je 0x2755c47d
push ebx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.2753a510
jmp case.0x2755c0e2.4
mov eax, dword [ebp - 0x10]
push 0x275174f0
push eax
call fcn.27581781
add esp, 8
test eax, eax
jne 0x2755c507
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.27581d81
mov esi, eax
add esp, 4
cmp esi, ebx
je case.0x2755c0e2.4
lea ecx, [ebp - 0x2c]
call fcn.2753b8d0
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x2c]
push edx
push ecx
push esi
mov byte [ebp - 4], 7
call fcn.2755ae20
test al, al
je 0x2755c4f6
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], ebx
je 0x2755c4f6
push ebx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.2753a510
jmp case.0x2755c0e2.4
mov eax, dword [ebp - 0x10]
push 0x275174ec
push eax
call fcn.27581781
add esp, 8
test eax, eax
jne 0x2755c5a7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
push ecx
mov ecx, dword [eax + 8]
lea edx, [ebp - 0x40]
push edx
call fcn.2755aca0
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.2753b950
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.275400b0
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd4]
cmp eax, ecx
je 0x2755c572
push eax
call fcn.2757eb0d
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.2753a510
mov eax, dword [ebp - 0x34]
cmp dword [eax - 0xc], ebx
je 0x2755c59a
push ebx
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x34]
call fcn.2753a510
jmp case.0x2755c0e2.4
mov eax, dword [ebp - 0x10]
push 0x275174e8
push eax
call fcn.27581781
add esp, 8
test eax, eax
jne 0x2755c605
mov ecx, dword [ebp - 0x14]
push 0x275174e0
push ecx
call fcn.27581781
add esp, 8
test eax, eax
jne 0x2755c5eb
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
call fcn.27563520
test al, al
sete byte [ebp + 0x17]
jmp case.0x2755c0e2.4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
push eax
call fcn.2755ac60
test al, al
sete byte [ebp + 0x17]
jmp case.0x2755c0e2.4
mov edx, dword [ebp - 0x10]
push 0x275174d8
push edx
call fcn.27581781
add esp, 8
test eax, eax
jne 0x2755c670
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 0x18]
push eax
lea ecx, [ebp - 0x28]
push ecx
mov ecx, dword [edx + 8]
call fcn.2755aca0
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], ebx
mov byte [ebp + 0x17], 1
je 0x2755c663
push 0x27511780
push eax
call fcn.27580de3
add esp, 8
test eax, eax
je 0x2755c660
mov eax, dword [ebp - 0x28]
push 0x275174cc
push eax
call fcn.27580de3
add esp, 8
test eax, eax
jne 0x2755c663
mov byte [ebp + 0x17], bl
lea ecx, [ebp - 0x28]
call fcn.2753a510
jmp case.0x2755c0e2.4
mov ecx, dword [ebp - 0x10]
push 0x275174c0
push ecx
call fcn.27581781
add esp, 8
test eax, eax
jne case.0x2755c0e2.4
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 8]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.2755aca0
mov eax, dword [ebp - 0x24]
cmp dword [eax - 0xc], ebx
mov byte [ebp + 0x17], 1
je 0x2755c6cb
push 0x27511780
push eax
call fcn.27580de3
add esp, 8
test eax, eax
je 0x2755c6ce
mov edx, dword [ebp - 0x24]
push 0x275174cc
push edx
call fcn.27580de3
add esp, 8
test eax, eax
je 0x2755c6ce
mov byte [ebp + 0x17], bl
lea ecx, [ebp - 0x24]
call fcn.2753a510
jmp case.0x2755c0e2.4
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x7d
jne case.0x2755c0e2.4
mov dword [ebp - 0x1c], 6
jmp case.0x2755c0e2.4
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx]
sub dl, 0x7d
neg dl
sbb edx, edx
and edx, 5
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
add eax, 1
cmp eax, dword [ebp - 0x44]
mov dword [ebp + 0xc], eax
jb 0x2755c0d2
lea eax, [esi - 0x10]
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2755c72f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x2755c068
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x2755c068
push 0x80070057
call fcn.27538a70
jmp 0x467d1d2d