joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406efa
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movsx eax, word [0x4142f4]
push ebx
push esi
push edi
xor ebx, ebx
push eax
push 0x715dffff
mov byte [ebp - 1], bl
call fcn.00401c1e
mov byte [0x4142e3], al
push 0x4c1ffff
movsx eax, word [0x4142ec]
push eax
call fcn.00401c1e
mov byte [0x4142e4], al
mov ax, word [0x4142f0]
shl ax, 1
add esp, 0x10
dec eax
mov word [0x4142f0], ax
lea eax, [ebp - 0xc]
push eax
push ebx
push 8
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x13], bl
mov byte [ebp - 0x12], bl
mov byte [ebp - 0x11], bl
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xf], 5
call dword [0x4171fc]
push eax
call dword [0x417134]
test eax, eax
jne 0x406fcd
call dword [0x4171e4]
cmp eax, 0x3f0
jne 0x407090
movsx eax, byte [0x4142e3]
push eax
push 0x6e6bffff
call fcn.00401dcc
pop ecx
mov word [0x4142f8], ax
pop ecx
lea eax, [ebp - 0xc]
push eax
push 8
call dword [0x4171a8]
push eax
call dword [0x417130]
test eax, eax
je 0x407090
inc byte [0x4142e2]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
mov dword [0x414308], eax
lea eax, [ebp - 8]
inc dword [0x414308]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0xc]
call dword [0x41712c]
test eax, eax
jne 0x407090
call dword [0x4171e4]
cmp eax, 0x7a
jne 0x407090
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
add word [0x4142f2], ax
mov eax, dword [ebp - 8]
add eax, 3
and al, 0xfc
call fcn.0040edd0
mov esi, esp
cmp esi, ebx
je 0x407090
movsx eax, word [0x4142f6]
push eax
movsx eax, byte [0x4142e5]
push eax
call fcn.00401c1e
add word [0x4142ee], ax
pop ecx
pop ecx
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push esi
push 2
push dword [ebp - 0xc]
call dword [0x41712c]
test eax, eax
je 0x407090
mov al, byte [0x4142fc]
add byte [0x4142e7], al
mov ax, word [0x4142f2]
and ax, word [0x4142f4]
add word [0x4142fc], ax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x14]
push 2
push eax
call dword [0x417120]
test eax, eax
jne 0x407097
xor al, al
jmp 0x407134
inc word [0x4142fa]
xor edi, edi
cmp dword [esi], ebx
jbe 0x4070fb
lea ebx, [esi + 4]
push dword [ebp - 0x1c]
or byte [0x4142e0], 0xff
push dword [ebx]
call dword [0x417124]
test eax, eax
jne 0x4070e1
movsx eax, byte [0x4142e3]
push eax
push 0x52c7ffff
call fcn.00401ca7
add byte [0x4142e7], al
inc edi
pop ecx
add ebx, 8
cmp edi, dword [esi]
pop ecx
jb 0x4070a7
jmp 0x4070fb
add dword [0x414324], 0x605e0001
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov word [0x4142ea], ax
push 0xd5c7ffff
push 0x65e1ffff
call fcn.00401dcc
pop ecx
mov dword [0x414320], eax
pop ecx
push dword [ebp - 0x1c]
call dword [0x417128]
push dword [0x41431c]
push 0x665fffff
call fcn.00401d2a
pop ecx
mov dword [0x414300], eax
mov al, byte [ebp - 1]
pop ecx
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407dd0
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x40f79d
call fcn.0040ee68
sub esp, 0x18
mov al, byte [ebp + 0xb]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x24], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
movsx eax, byte [0x4142e4]
movsx ecx, word [0x4142ea]
imul eax, ecx
push 1
mov dword [0x414308], eax
pop edi
push 0x801
mov dword [ebp - 4], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov esi, eax
push ebx
mov word [0x4142ec], di
call dword [0x4171f0]
push 0x800
push esi
push ebx
call dword [0x4171d4]
mov dword [ebp - 0x10], eax
call dword [0x4171e4]
test eax, eax
jne 0x407e5e
movsx eax, byte [0x4142e2]
movsx ecx, byte [0x4142e9]
sub ecx, eax
mov dword [0x41431c], ecx
jmp 0x407ebe
call dword [0x4171e4]
cmp eax, 0x7a
jne 0x407ed0
push 0x2a2bffff
push dword [0x414318]
call fcn.00401ce9
push esi
mov dword [0x414320], eax
call fcn.0040edb0
mov eax, dword [ebp - 0x10]
inc eax
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov esi, eax
xor eax, eax
cmp byte [0x4142e4], bl
push dword [ebp - 0x10]
setne al
push esi
push ebx
mov word [0x4142fa], ax
call dword [0x4171d4]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
add dword [0x414324], eax
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
call fcn.0040edb0
movsx eax, word [0x4142f0]
push eax
push 0x9a9ffff
call fcn.00401dcc
mov esi, dword [ebp + 8]
add esp, 0xc
mov dword [0x414308], eax
mov al, byte [ebp - 0x24]
push ebx
mov ecx, esi
mov byte [esi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, esi
push dword [eax]
lea eax, [ebp - 0x24]
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov dword [ebp - 0x14], edi
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40a237
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x40fa1c
call fcn.0040ee68
push ecx
movsx eax, word [0x4142f4]
push ebx
push esi
push edi
push eax
push 0xbfc1ffff
call fcn.00401e67
mov esi, dword [ebp + 8]
mov dword [0x414308], eax
xor ebx, ebx
pop ecx
mov eax, dword [esi + 8]
pop ecx
cmp eax, ebx
jne 0x40a271
xor al, al
jmp 0x40a390
xor eax, eax
cmp dword [0x41430c], ebx
push ebx
setne al
add byte [0x4142e4], al
call dword [0x417198]
mov edi, eax
movsx eax, word [0x4142ec]
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
mov word [0x4142ec], ax
mov dword [ebp + 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add byte [0x4142e2], al
lea eax, [ebp + 8]
push eax
call fcn.004098a2
pop ecx
xor ecx, ecx
cmp byte [0x4142e2], bl
setne cl
add word [0x4142ee], cx
cmp eax, ebx
jl 0x40a34b
mov eax, dword [0x414320]
add dword [0x414308], 0x31ffff
imul eax, eax, 0xec5ffff
mov dword [0x414304], eax
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x40a2f7
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040a86f
call fcn.0040e9a3
mov esi, eax
push 0xccdbffff
movsx eax, word [0x4142f0]
push eax
call fcn.00401d79
add esp, 0x10
cmp si, bx
mov byte [0x4142e7], al
je 0x40a34b
push ecx
mov ecx, dword [ebp + 8]
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [eax], ecx
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x40a345
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
call fcn.0040a128
pop ecx
mov eax, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x40a35c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_IsCharAlphaA]
cmp edi, 0x80010106
mov byte [0x4142e9], al
je 0x40a377
call dword [0x41719c]
push dword [0x41431c]
push 0x8713ffff
call fcn.00401d2a
pop ecx
mov byte [0x4142e7], al
pop ecx
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x40abed
Capabilities:
Hash data with md5

Disassembly:
movsx eax, byte [0x4142e9]
push esi
mov esi, ecx
push dword [0x414320]
push eax
call fcn.00401e67
mov dword [0x414324], eax
push 8
lea eax, [esi + 0x10]
push 0
push eax
call sub.MSVCRT.dll_memset
movsx eax, byte [0x4142e7]
and eax, 0x6359ffff
add dword [0x41431c], eax
mov dword [esi], 0x67452301
movsx eax, byte [0x4142e7]
push eax
movsx eax, byte [0x4142e8]
push eax
call fcn.00401e67
add word [0x4142ec], ax
mov dword [esi + 4], 0xefcdab89
mov ax, word [0x4142f0]
push 0
sub word [0x4142f4], ax
pop eax
mov dword [esi + 8], 0x98badcfe
setne al
mov dword [0x414300], eax
mov dword [esi + 0xc], 0x10325476
push dword [0x414324]
push 0x9cb9ffff
call fcn.00401dcc
add esp, 0x24
mov byte [0x4142e3], al
pop esi
ret
Function at 0x40ded7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
movsx eax, word [0x4142ee]
push ebx
push esi
push edi
push eax
movsx eax, byte [0x4142e0]
push eax
call fcn.00401c74
push dword [0x414314]
mov word [0x4142f6], ax
push dword [0x414308]
call fcn.00401bcc
add esp, 0x10
push 1
pop eax
mov dword [0x414304], eax
mov dword [0x414324], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add byte [0x4142e9], al
xor ebx, ebx
xor eax, eax
mov byte [ebp + eax - 0x104], al
inc eax
cmp eax, 0x100
jb 0x40df2f
cmp word [0x4142fc], bx
jne 0x40df56
cmp word [0x4142ec], bx
mov byte [0x4142e4], bl
je 0x40df5d
mov byte [0x4142e4], 1
push 0x9b2dffff
push 0x2cc3ffff
mov byte [ebp - 1], bl
call fcn.00401ce9
mov dword [0x41431c], eax
push 0xc2bfffff
movsx eax, word [0x4142fc]
push eax
call fcn.00401e67
mov word [0x4142f6], ax
mov byte [ebp - 2], bl
movsx eax, byte [0x4142e7]
push eax
push dword [0x414324]
call fcn.00401e15
add byte [0x4142e5], al
add esp, 0x18
xor edi, edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [0x41431c], 0x557fffe
lea esi, [ebp + edi - 0x104]
mov al, byte [edx + eax]
add al, byte [esi]
add byte [ebp - 2], al
movsx eax, byte [0x4142e8]
push eax
push dword [0x414300]
call fcn.00401bcc
mov byte [0x4142e4], al
pop ecx
movzx eax, byte [ebp - 2]
mov dl, byte [ebp + eax - 0x104]
pop ecx
mov cl, byte [esi]
lea eax, [ebp + eax - 0x104]
mov byte [esi], dl
mov byte [eax], cl
movsx eax, byte [0x4142e9]
and eax, 0x1725ffff
inc edi
cmp edi, 0x100
mov dword [0x414324], eax
jb 0x40dfad
movsx eax, word [0x4142fa]
push eax
push dword [0x41430c]
call fcn.00401ce9
pop ecx
mov dword [0x414300], eax
pop ecx
mov ecx, dword [ebp + 0x18]
test ecx, ecx
jbe 0x40e0ca
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub eax, edi
mov dword [ebp + 0xc], ecx
mov dword [ebp + 8], eax
inc byte [ebp - 1]
push dword [0x414308]
movzx eax, byte [ebp - 1]
add bl, byte [ebp + eax - 0x104]
push 0xc5f3ffff
lea esi, [ebp + eax - 0x104]
mov word [0x4142ec], 1
call fcn.00401dcc
mov dword [0x414310], eax
pop ecx
movzx eax, bl
mov dl, byte [ebp + eax - 0x104]
pop ecx
mov cl, byte [esi]
lea eax, [ebp + eax - 0x104]
mov byte [esi], dl
mov byte [eax], cl
mov al, byte [eax]
add al, byte [esi]
mov cl, byte [0x4142f6]
add byte [0x4142e5], cl
mov ecx, dword [ebp + 8]
movzx eax, al
mov al, byte [ebp + eax - 0x104]
xor al, byte [ecx + edi]
mov byte [edi], al
inc edi
dec dword [ebp + 0xc]
mov byte [0x4142e7], 1
jne 0x40e04f
push dword [0x414310]
push 0xcc23ffff
call fcn.00401ce9
add word [0x4142f0], ax
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x402990
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405130], eax
mov ecx, ebp
add ecx, 8
mov dword [0x40507c], ecx
mov dword [0x4050b0], 0x30
mov dword [0x4050b4], 2
mov dword [0x4050bc], 0
mov dword [0x4050c0], 0
mov dword [0x4050b8], 0x402f20
jmp 0x4029e3
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4050c4], eax
mov dword [0x4050d0], 0xf
mov dword [0x4050d8], 0x4040ad
mov dword [0x405074], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x4050c8], eax
mov dword [0x4050dc], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x4050cc], eax
push 0x4050b0
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push dword [0x405074]
push 0
push 0
push 0x24e
push 0x281
push 0xfffff448
push 0xffffec78
push 0x40000
push 0x4040e6
push 0x4040ad
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x405128], eax
xor eax, eax
jmp 0x402a82
push 5
push dword [0x405128]
call dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x402ab6
push 0
push 0x24f
push 0x282
push 0xfffff447
push 0xffffec77
push dword [0x405128]
call dword [sym.imp.USER32.dll_MoveWindow]
push dword [0x405128]
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
push 0x4050e0
call dword [sym.imp.USER32.dll_GetMessageA]
or eax, eax
je 0x402aef
push 0x4050e0
call dword [sym.imp.USER32.dll_TranslateMessage]
push 0x4050e0
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x402ac2
mov eax, dword [0x4050e8]
jmp 0x402afc
call 0x40213f
ret
Function at 0x450820
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x549eeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0053a716
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4508a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00536c6f
mov eax, dword [eax]
push 0x6bcdc4
push eax
call fcn.00522484
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0053a9a1
test bl, bl
je 0x4508a2
push 0x6bcdc4
lea ecx, [esp + 0xc]
call fcn.0053ad31
push 0x6bcdd0
lea ecx, [esp + 0xc]
call fcn.0053ad31
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4508de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0053a9a1
jmp 0x4509a9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x450962
lea edx, [esp + 0x7c]
push 0x6bcdcc
push edx
call fcn.00522484
add esp, 8
test eax, eax
je 0x450962
lea eax, [esp + 0x7c]
push 0x6bcdc8
push eax
call fcn.00522484
add esp, 8
test eax, eax
je 0x450962
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4508f2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0053a9a1
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4
Function at 0x4511c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x549f6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6d124c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x4512f8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x451226
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0053a9a1
xor eax, eax
jmp 0x45136f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0053aade
push esi
lea ecx, [esp + 0xc]
call fcn.0053ad6d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6bce04
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x45134d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x6bcdfc
push SQLAllocStmt
call fcn.005020a0
test eax, eax
jne 0x45134d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x6bcde8
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SQLAllocStmt
mov ecx, edi
call fcn.005020a0
test eax, eax
jne 0x45134d
lea eax, [esp + 0x14]
push 0x6bcde0
push eax
call fcn.00523670
mov esi, eax
add esp, 8
test esi, esi
jne 0x45132c
lea ecx, [esp + 0x14]
push 0x6bcddc
push ecx
call fcn.005235f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x45132c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x45132f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0053aa8e
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x45123e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0053a9a1
xor eax, eax
jmp 0x45136f
mov byte [esi], 0
push 0x6bcdd8
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0053a9a1
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4

Function at 0x45dfb6
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x45dfde
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret
Function at 0x4685d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x46863e
cmp si, 0x69
ja 0x46863e
add esi, 0xffd0
cmp si, 0x11
je 0x46860e
push 0x11
call edi
test ax, ax
jge 0x46860e
or esi, 0x2000
cmp si, 0x10
je 0x468623
push 0x10
call edi
test ax, ax
jge 0x468623
or esi, 0x4000
cmp si, 0x12
je 0x468638
push 0x12
call edi
test ax, ax
jge 0x468638
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x46864b
mov esi, 0xbd
jmp 0x4685ff
cmp si, 0x6e
jne 0x468658
mov esi, 0xbe
jmp 0x4685ff
cmp si, 0x6f
jne 0x4685f9
mov esi, 0xbf
jmp 0x4685ff

Function at 0x46abb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6e2a78]
xor edx, edx
cmp eax, edx
jne 0x46abd6
xor eax, eax
mov byte [eax + 0x6e2978], al
inc eax
cmp eax, 0x100
jl 0x46abbe
mov dword [0x6e2a78], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6e2978
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x46ac67
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x46ac3a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x46ac08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x46ace0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x46ad33
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x46ad1a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x472090
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x472228
cmp ebp, ebx
jle 0x472228
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4720ee
dec eax
or eax, 0xfffffff8
inc eax
je 0x4720f5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.ODBC32.dll_SQLAllocConnect
jns 0x472104
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x47210b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0053a6e2
add esp, 4
cmp eax, ebx
je 0x47212c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0053a6e2
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x47221e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x472205
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4721f1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4721e6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4721f4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4721f4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x472190
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x472181
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret