joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410960
Capabilities:
Reference sql statements

Disassembly:
push ebx
push esi
lea esi, [edi + 0x11]
push esi
push str.SELECT_Name_FROM_EventSantaClaus_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x4109df
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4109df
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx eax, byte [edi + 0x1c]
push esi
push eax
push str.UPDATE_EventSantaClaus_SET_Status_d_WHERE_Name_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret
mov eax, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
movzx edx, byte [edi + 0x1c]
push edx
push esi
push str.INSERT_INTO_EventSantaClaus__Name_Status__VALUES___s__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0xc
push eax
call ebx
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop esi
pop ebx
ret

Function at 0x411530
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, eax
movzx eax, word [esi + 4]
mov ecx, dword [esi + 6]
mov edx, dword [esi + 0xa]
add esi, 6
mov dword [ebp - 0x16], ecx
mov cl, byte [esi + 0xa]
push edi
mov word [ebp - 0x18], ax
movzx eax, word [esi + 8]
mov byte [ebp - 0xc], cl
push esi
push str.SELECT__FROM_PcPointData_WHERE_AccountID_s
mov ecx, 0x4eb8c0
mov dword [ebp - 0x1c], 0x1918c1
mov dword [ebp - 0x12], edx
mov word [ebp - 0xe], ax
mov byte [ebp - 0xb], 0
call fcn.00412e90
add esp, 8
test al, al
je 0x4115c4
mov edx, dword [0x4eb8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4115c4
push str.PcPoint
mov ebx, 0x4eb8c0
call fcn.00413050
mov dword [ebp - 8], eax
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x41162e
mov edx, dword [0x4eb8cc]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push edx
call edi
mov eax, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push eax
call ebx
push esi
push str.INSERT_INTO_PcPointData__AccountID_PcPoint__VALUES___s_0_
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
jne 0x411614
mov ecx, dword [0x4eb8cc]
push ecx
call edi
mov edx, dword [0x4eb8cc]
push 2
push edx
call ebx
mov byte [ebp - 0xb], 1
jmp 0x41162e
mov eax, dword [0x4eb8cc]
push eax
call edi
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call ebx
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x1c]
push edx
push eax
mov ebx, 0x18
call fcn.00414a90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411650
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ax, word [ecx + 4]
mov edx, dword [ecx + 6]
mov word [ebp - 0x18], ax
lea eax, [ecx + 6]
mov cl, byte [ecx + 0x11]
mov dword [ebp - 0x16], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x12], edx
mov dx, word [eax + 8]
push ebx
mov word [ebp - 0xe], dx
mov dl, byte [eax + 0xa]
push eax
mov byte [ebp - 0xa], cl
push str.SELECT__FROM_PcPointData_WHERE_AccountID_s
mov ecx, 0x4eb8c0
mov bl, 1
mov dword [ebp - 0x1c], 0x11918c1
mov byte [ebp - 0xc], dl
mov byte [ebp - 0xb], 0
call fcn.00412e90
add esp, 8
test al, al
je 0x4116e8
mov edx, dword [0x4eb8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4116e8
push str.PcPoint
mov ebx, 0x4eb8c0
call fcn.00413050
mov dword [ebp - 8], eax
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x411706
mov edx, dword [0x4eb8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov byte [ebp - 0xb], bl
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
push edx
mov ebx, 0x18
call fcn.00414a90
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x411720
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov ax, word [ecx + 4]
mov edx, dword [ecx + 6]
mov word [ebp - 0x20], ax
lea eax, [ecx + 6]
mov dword [ebp - 0x1e], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1a], edx
mov dx, word [eax + 8]
mov word [ebp - 0x16], dx
mov dl, byte [eax + 0xa]
mov byte [ebp - 0x14], dl
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
push ebx
push eax
mov dword [ebp - 8], ecx
push str.SELECT__FROM_PcPointData_WHERE_AccountID_s
mov ecx, 0x4eb8c0
mov dword [ebp - 0x24], 0x21924c1
mov dword [ebp - 0xc], edx
call fcn.00412e90
add esp, 8
test al, al
je 0x4117be
mov edx, dword [0x4eb8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4117be
push str.PcPoint
mov ebx, 0x4eb8c0
call fcn.00413050
mov dword [ebp - 4], eax
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
jmp 0x4117e0
mov edx, dword [0x4eb8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x24]
push ecx
push edx
mov ebx, 0x24
call fcn.00414a90
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x411800
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
lea eax, [esi + 6]
push edi
push eax
push str.SELECT_PcPoint_FROM_PcPointData_WHERE_AccountID_s
mov ecx, 0x4eb8c0
mov dword [ebp - 4], eax
call fcn.00412e90
add esp, 8
test al, al
je 0x4118ae
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4118ae
push str.PcPoint
mov ebx, 0x4eb8c0
call fcn.00413050
mov ecx, dword [0x4eb8cc]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
mov ebx, eax
call edi
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
add eax, ebx
cmp eax, esi
jbe 0x411879
mov eax, esi
mov ecx, dword [ebp - 4]
push ecx
push eax
push str.UPDATE_PcPointData_SET_PcPoint_d_WHERE_AccountID_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov edx, dword [0x4eb8cc]
add esp, 0xc
push edx
call edi
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4eb8cc]
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
call edi
mov edx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push edx
call ebx
mov eax, dword [esi + 0x14]
mov esi, dword [esi + 0x18]
cmp eax, esi
jbe 0x4118da
mov eax, esi
push eax
mov eax, dword [ebp - 4]
push eax
push str.INSERT_INTO_PcPointData__AccountID_PcPoint__VALUES___s__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0xc
push ecx
call edi
mov edx, dword [0x4eb8cc]
push 2
push edx
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411910
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 6
push edi
push str.SELECT_PcPoint_FROM_PcPointData_WHERE_AccountID_s
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x4119bb
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x4119bb
push str.PcPoint
mov ebx, 0x4eb8c0
call fcn.00413050
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push ecx
mov esi, eax
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
cmp eax, esi
jbe 0x411986
xor esi, esi
jmp 0x411988
sub esi, eax
push edi
push esi
push str.UPDATE_PcPointData_SET_PcPoint_d_WHERE_AccountID_s
mov ecx, 0x4eb8c0
call fcn.00412e90
mov ecx, dword [0x4eb8cc]
add esp, 0xc
push ecx
call ebx
mov edx, dword [0x4eb8cc]
push 2
push edx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
pop edi
pop esi
pop ebx
pop ebp
ret 4
mov eax, dword [0x4eb8cc]
mov esi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
push eax
call esi
mov ecx, dword [0x4eb8cc]
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push 2
push ecx
call ebx
push 0
push 0
push 0
push edi
push str.INSERT_INTO_PcPointData__AccountID_PcPoint__VALUES___s__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov edx, dword [0x4eb8cc]
add esp, 0x14
push edx
call esi
mov eax, dword [0x4eb8cc]
push 2
push eax
call ebx
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x411a70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1030
call fcn.004165c0
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
cmp byte [ebx + 0x13], 0
mov cx, word [ebx + 6]
mov edx, dword [ebx + 8]
mov word [ebp - 0x1016], cx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1014], edx
mov dx, word [ebx + 0x10]
mov dword [ebp - 0x1010], ecx
mov cl, byte [ebx + 0x12]
mov eax, 0x14
mov dword [ebp - 0x1030], ebx
mov byte [ebp - 0x101c], 0xc2
mov word [ebp - 0x1019], 0x2a
mov dword [ebp - 0x1008], eax
mov word [ebp - 0x100c], dx
mov byte [ebp - 0x100a], cl
mov byte [ebp - 0x1009], 0
mov dword [ebp - 0x1020], 0
jbe 0x411c1e
push esi
push edi
lea edi, [ebp - 0xff0]
lea esi, [ebx + 0x18]
mov edx, dword [esi]
push edx
push str.SELECT_Time_FROM_PeriodicItem_WHERE_ItemSerial_d
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x411b82
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x411b82
mov cl, byte [esi - 4]
mov edx, dword [esi]
push str.Time
mov ebx, 0x4eb8c0
mov byte [ebp - 0x102c], cl
mov dword [ebp - 0x1028], edx
call fcn.00413050
mov dword [ebp - 0x1024], eax
mov eax, dword [0x4eb8cc]
push eax
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ebx, dword [ebp - 0x1030]
mov eax, dword [ebp - 0x1028]
mov ecx, dword [ebp - 0x1024]
jmp 0x411bdc
mov edx, dword [0x4eb8cc]
push edx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov ecx, dword [esi]
push 0
push ecx
push str.INSERT_INTO_PeriodicItem__ItemSerial_Time__VALUES___d__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov edx, dword [0x4eb8cc]
add esp, 0xc
push edx
call dword [sym.imp.ODBC32.dll_SQLCloseCursor]
mov eax, dword [0x4eb8cc]
push 2
push eax
call dword [sym.imp.ODBC32.dll_SQLFreeStmt]
mov cl, byte [esi - 4]
mov eax, dword [esi]
mov byte [ebp - 0x102c], cl
xor ecx, ecx
mov edx, dword [ebp - 0x102c]
add dword [ebp - 0x1008], 0xc
inc byte [ebp - 0x1009]
mov dword [edi], edx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x1020]
mov dword [edi + 8], ecx
movzx ecx, byte [ebx + 0x13]
inc eax
add edi, 0xc
add esi, 8
mov dword [ebp - 0x1020], eax
cmp eax, ecx
jl 0x411b02
mov eax, dword [ebp - 0x1008]
pop edi
pop esi
mov edx, eax
shr edx, 8
mov byte [ebp - 0x101b], dl
mov edx, dword [ebp - 0x1018]
mov byte [ebp - 0x101a], al
mov ecx, dword [ebp - 0x101c]
mov dword [ebp - 0x1004], ecx
mov ecx, dword [ebp - 0x1014]
mov dword [ebp - 0x1000], edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0xffc], ecx
mov ecx, dword [ebp - 0x100c]
mov dword [ebp - 0xff8], edx
lea edx, [ebp - 0x1004]
mov dword [ebp - 0xff4], ecx
mov ecx, dword [ebp + 8]
push edx
push ecx
mov ebx, eax
call fcn.00414a90
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00415bda
mov esp, ebp
pop ebp
ret 4
Function at 0x411c90
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x13], 0
mov dword [ebp - 4], 0
jbe 0x411d67
push ebx
mov ebx, dword [sym.imp.ODBC32.dll_SQLFreeStmt]
push edi
mov edi, dword [sym.imp.ODBC32.dll_SQLCloseCursor]
add esi, 0x14
lea ebx, [ebx]
mov eax, dword [esi]
push eax
push str.SELECT_ItemSerial_FROM_PeriodicItem_WHERE_ItemSerial_d
mov ecx, 0x4eb8c0
call fcn.00412e90
add esp, 8
test al, al
je 0x411d0d
mov ecx, dword [0x4eb8cc]
push ecx
call dword [sym.imp.ODBC32.dll_SQLFetch]
cmp ax, 0x64
je 0x411d0d
mov edx, dword [0x4eb8cc]
push edx
call edi
mov eax, dword [0x4eb8cc]
push 2
push eax
call ebx
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push ecx
push edx
push str.UPDATE_PeriodicItem_SET_Time_d_WHERE_ItemSerial_d
jmp 0x411d2c
mov edx, dword [0x4eb8cc]
push edx
call edi
mov eax, dword [0x4eb8cc]
push 2
push eax
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
push str.INSERT_INTO_PeriodicItem__ItemSerial_Time__VALUES___d__d_
mov ecx, 0x4eb8c0
call fcn.00412e90
mov eax, dword [0x4eb8cc]
add esp, 0xc
push eax
call edi
mov ecx, dword [0x4eb8cc]
push 2
push ecx
call ebx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
movzx ecx, byte [edx + 0x13]
inc eax
add esi, 8
mov dword [ebp - 4], eax
cmp eax, ecx
jl 0x411cc0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x411e70
Capabilities:
Get common file path
Get disk information
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
jmp 0x411e98
jmp 0x411eaa
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x411ed1
xor al, al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415bda
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov byte [ebp - 0x105], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x411ec0
push ebx
push esi
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebp - 0x11c]
movzx esi, word [ebp - 0x130]
movzx ebx, word [ebp - 0x10e]
mov ecx, eax
imul ecx, eax
shl edx, 0x10
or edx, eax
shr eax, 2
imul edx, edx, 0x14ce1989
shl esi, 0xe
or esi, eax
mov eax, dword [ebp - 0x110]
and eax, 0xf5fb
shl ebx, 0x10
or eax, ebx
xor eax, 0x15ca2020
push eax
push esi
push edx
sub ecx, 0x13b06451
push ecx
push 0x12ba1074
push 0x64
push 0x41f978
mov ecx, edi
call fcn.00412a10
push eax
add edi, 8
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
jmp 0x411f8f
jmp 0x411fa6
mov ecx, dword [ebp - 4]
pop esi
pop ebx
xor ecx, ebp
mov al, 1
pop edi
call fcn.00415bda
mov esp, ebp
pop ebp
ret
Function at 0x411fc0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
jmp 0x411fe6
jmp 0x411ff8
cmp dword [esi + 4], 0xffffffff
je 0x412012
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415bda
mov esp, ebp
pop ebp
ret 8
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x411ffe
mov ecx, dword [ebp + 0xc]
mov eax, 2
push ecx
mov word [ebp - 0x14], ax
call dword [sym.imp.WS2_32.dll_htons]
mov edi, dword [ebp + 8]
push edi
mov word [ebp - 0x12], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
jne 0x412071
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x412071
movsx edx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
push edx
push ecx
lea edx, [ebp - 0x10]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [esi + 4]
push 0x10
lea eax, [ebp - 0x14]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x412097
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x411ffe
jmp 0x4120a9
jmp 0x4120c0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.00415bda
mov esp, ebp
pop ebp
ret 8

Function at 0x4120e0
Capabilities:
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41f018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
jmp 0x412108
jmp 0x41211a
call fcn.00411e70
test al, al
jne 0x412136
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415bda
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
movzx edx, word [0x422758]
push eax
lea ecx, [esi + 8]
push ecx
push edx
push 0x90
push 0x41f8a0
mov ecx, esi
call fcn.00412a10
push eax
lea edx, [ebp - 0x108]
call fcn.00412b40
add esp, 0x10
push str.Content_type:_application_x_www_form_urlencoded
push 0x48
push 0x41f930
mov ecx, esi
call fcn.00412a10
push eax
push str._HTTP_1.1_r_nHost:__s_r_n_s_r_n_r_n
lea edx, [ebp - 0x20c]
call fcn.00412b40
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x108]
push 0x104
push ecx
call dword [sym.imp.MSVCR100.dll_strcat_s]
lea eax, [ebp - 0x108]
add esp, 0x18
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4121b0
sub eax, edx
push 0
push eax
mov eax, dword [esi + 4]
lea edx, [ebp - 0x108]
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x4121e3
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x412123
jmp 0x4121f5
jmp 0x41220c
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
pop esi
call fcn.00415bda
mov esp, ebp
pop ebp
ret 4
Function at 0x4125c0
Capabilities:
Terminate process

Disassembly:
push esi
push edi
push 0x2d
push 0
push 0x4eb880
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x10
xor eax, eax
push 0x18
push 0x41f9dc
mov ecx, 0x4eb878
mov dword [0x4eb8ad], eax
mov dword [0x4eb8b1], eax
mov dword [0x4eb8b5], eax
call fcn.00412a10
push eax
push 0x8c
push 0x41f9f8
mov ecx, 0x4eb878
call fcn.00412a10
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
call edi
push eax
call esi
jmp dword [pe_dos_header]

Function at 0x412630
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
jmp 0x41264e
jmp 0x412660
jmp 0x412672
push 0x10000000
pop dword [0x5b52d4]
jmp 0x41268b
cmp dword [0x5b52d4], 0x10000000
je 0x4126fd
xor eax, eax
mov dword [0x4183c8], eax
mov dword [0x4183cc], eax
mov dword [0x4183d0], eax
mov dword [str.Rwu__], eax
mov dword [0x4183d8], eax
mov dword [0x4183dc], eax
mov dword [0x4183e0], eax
mov dword [0x4183e4], eax
mov dword [0x4183e8], eax
mov dword [0x4183ec], eax
mov dword [str.p_H:], eax
mov dword [0x4183f4], eax
mov dword [0x4183f8], eax
mov dword [0x4183fc], eax
mov dword [0x418400], eax
mov dword [0x418404], eax
mov dword [0x418408], eax
mov dword [str.r_], eax
mov dword [0x418410], eax
mov dword [0x418414], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
push 0xc
lea eax, [ebp - 0x28]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleInformation]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
lea edx, [ebp - 0x10]
add ebx, eax
push edx
mov dword [ebp - 0x14], ebx
call fcn.004128b0
test al, al
je 0x4127f6
mov edi, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
mov eax, edi
call fcn.00412960
test al, al
je 0x4127f6
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x10
push edi
call ebx
mov ecx, 0x4183d8
mov eax, edi
sub ecx, edi
mov esi, 0x10
mov dl, byte [ecx + eax]
xor dl, 0x9f
mov byte [eax], dl
inc eax
dec esi
jne 0x412775
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push 0x10
push edi
call ebx
mov esi, dword [ebp - 0x18]
lea edx, [ebp - 0xc]
push edx
push 0x40
push 0x10
push esi
call ebx
mov ecx, 0x4183e8
mov eax, esi
sub ecx, esi
mov dword [ebp - 8], 0x10
lea esp, [esp]
mov dl, byte [ecx + eax]
xor dl, 0x9f
mov byte [eax], dl
inc eax
dec dword [ebp - 8]
jne 0x4127b0
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0xc]
push eax
push ecx
push 0x10
push esi
call ebx
mov ecx, dword [ebp - 0x1c]
mov edx, esi
sub edx, edi
sub edx, 0x10
push edx
add edi, 0x10
push edi
call fcn.00412830
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x10]
call fcn.004128b0
test al, al
jne 0x412740
jmp 0x412808
jmp 0x41281f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x412830
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
jmp 0x412849
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push edi
push esi
call ebx
xor eax, eax
test edi, edi
jle 0x41287f
mov ecx, eax
and ecx, 0xf
mov dl, byte [ecx + 0x4183c8]
xor dl, byte [eax + esi]
inc eax
add dl, 0x51
mov byte [eax + esi - 1], dl
cmp eax, edi
jl 0x412865
mov ecx, dword [ebp - 4]
lea eax, [ebp - 4]
push eax
push ecx
push edi
push esi
call ebx
jmp 0x41289d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x412a10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x412a25
push 0x104
push 0
push 0x5b50c8
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp + 0xc]
add esp, 0xc
xor eax, eax
test ecx, ecx
jle 0x412a62
push esi
mov esi, dword [ebp + 8]
jmp 0x412a50
mov dl, byte [esi + eax*4]
xor dl, 0x80
mov byte [eax + 0x5b50c8], dl
inc eax
cmp eax, ecx
jl 0x412a50
pop esi
jmp 0x412a74
mov eax, 0x5b50c8
pop ebp
ret 8