joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c7d60
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
mov eax, dword [0x58d224]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x4c7dfe
push esi
mov esi, 0xff
push esi
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0050eb70
add esp, 0xc
lea eax, [ebp - 0x104]
push esi
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
pop esi
test eax, eax
je 0x4c7dfe
mov eax, dword [eax + 0xc]
push 4
push dword [eax]
lea eax, [ebp - 0x298]
push eax
call fcn.0050e070
mov ecx, dword [ebp - 0x298]
add esp, 0xc
movzx eax, cl
shl eax, 8
movzx ecx, ch
add eax, ecx
movzx ecx, byte [ebp - 0x296]
shl eax, 8
add eax, ecx
movzx ecx, byte [ebp - 0x295]
shl eax, 8
add eax, ecx
jmp 0x4c7e00
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d4e68
leave
ret

Function at 0x4c7ef9
Capabilities:
Hide graphical window

Disassembly:
push 0xa4
mov eax, 0x53f69e
call fcn.004d5b87
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x5a0], ebx
cmp dword [edi + 4], ebx
jne 0x4c7fb6
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 8
push eax
mov dword [ebp - 0x9c], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x4c7f8e
lea eax, [ebp - 0xb0]
mov ecx, edi
push eax
call fcn.004c7ae9
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xb0]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40030000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004863b3
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.0048bcf4
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.00485cdd
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00485f6d
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.0048358a
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.00482e21
test bl, bl
je 0x4c7fee
call fcn.004c7d60
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x598], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x598]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.004d5b31
ret 4

Function at 0x4cc668
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004910bb

Function at 0x4cc671
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.virtual_332
Function at 0x4cd679
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58d224]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x1c]
push edi
and dword [ebx + 0x780], 0
mov edi, dword [ebp + 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x18], ebx
mov dword [ebx + 0x77c], ecx
mov dword [ebx + 0x784], eax
test ecx, ecx
jne 0x4cd6e4
call fcn.004cd3d3
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test esi, esi
je 0x4cd6e4
call fcn.004cd3d3
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.004cd3d3
mov edx, ebx
lea ecx, [ebx + 0x10]
neg edx
mov esi, dword [eax]
sbb edx, edx
and edx, ecx
mov ecx, eax
push edx
call dword [esi]
mov ecx, dword [ebx + 0x77c]
test ecx, ecx
je 0x4cd70c
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edi, eax
mov ecx, edi
call fcn.004863b3
lea ecx, [ebp - 0x14]
mov ebx, eax
call fcn.00482cd6
push 0
sub esp, 0x10
mov esi, eax
mov edi, esp
push 0x88
movsd dword es:[edi], dword [esi]
push accept
push 0
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x18]
mov ecx, esi
call fcn.0048bcf4
mov edi, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4cd751
push edi
call ebx
mov edi, eax
push edi
call ebx
test eax, eax
jne 0x4cd74c
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d4e68
leave
ret 0x1c

Function at 0x4d32a7
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x58d224]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], ebx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov edi, eax
cmp esi, 0x21
jb 0x4d32f5
cmp esi, 0x28
jbe 0x4d32ef
lea eax, [esi - 0x2d]
cmp eax, 1
ja 0x4d32f5
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0050eb70
add esp, 0xc
shl edi, 0x10
lea eax, [ebp - 0x20c]
push 0x104
push eax
push edi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00482d1f
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004d4e68
leave
ret 0xc
Function at 0x4d35ca
Capabilities:
Hide graphical window

Disassembly:
push 0x98
mov eax, 0x53e37c
call fcn.004d5b87
mov ebx, ecx
mov eax, dword [ebp + 8]
mov dword [ebx + 0x10], eax
test eax, eax
je 0x4d36da
lea eax, [ebp - 0xa4]
push eax
call fcn.004d2df5
mov ecx, dword [ebx + 0x10]
lea esi, [ebp - 0xa4]
xor eax, eax
push eax
sub esp, 0x10
mov edi, esp
push eax
movsd dword es:[edi], dword [esi]
push 0x40000080
push eax
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004863b3
push eax
mov ecx, ebx
call fcn.0048bcf4
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d36da
mov esi, dword [ebx + 0x10]
mov ecx, esi
call fcn.00485cdd
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00485f6d
push 1
push dword [eax]
push 0x30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x10]
movzx eax, word [ecx + 0x7b6]
push eax
movzx eax, word [ecx + 0x7b4]
mov ecx, ebx
push eax
call fcn.004d3af0
lea eax, [ebp - 0x94]
mov ecx, ebx
push eax
call fcn.004d30f9
mov ecx, dword [ebx + 0x10]
and dword [ebp - 4], 0
add ecx, 0x1cc
push eax
call fcn.00482ea4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00482e21
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x114]
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [ebx + 0x18], 1
call fcn.004d5b31
ret 4

Function at 0x4d7d6a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x52cb69
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0052c9df
Function at 0x40ffd9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x40ffe8
pop dword [ebp - 0x3c]
mov eax, 0xe6dfd99f
add eax, 0x19612649
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3d8e0
push 0
mov eax, 0x5a96f6c7
add eax, 0xa5ab5b51
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x46dd
xor ebx, ebx
add ebx, eax
mov edi, 0x435400
add edi, dword [ebp - 0x3c]
mov edx, 0x288a1b77
sub dword [ebp - 0x2c], 0x53b4a994
mov esi, dword [edi]
xor dword [ebp - 4], 0x502653ef
xor esi, edx
xor dword [ebp - 0x1c], 0xbfc77ade
mov dword [ebx], esi
sub dword [ebp - 0x2c], 0xd0abd7a6
add ebx, 0xbcd7f0d8
sub ebx, 0xbcd7f0d4
add edi, 0x513628e4
add edi, 0xaec9d720
loop 0x410037
add eax, 0xd0a8c63f
add eax, 0x2f584808
mov ebx, eax
add eax, 0xd19325b6
sub eax, 0xd19325b1
mov ecx, 0x4c5dd411
add ecx, 0xb3e22bef
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10024ea4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10024eb3
pop dword [ebp - 0x1c]
mov eax, 0x10024eb3
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x3a2b4
push 0
mov eax, 0xafbf0618
sub eax, 0x9fbc951c
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x44ea
xor edx, edx
add edx, eax
mov ebx, 0xcde40bc1
add ebx, 0x421fce3f
add ebx, dword [ebp - 0x1c]
mov edi, 0x35f6f9c7
mov dword [ebp - 8], 0xdf028492
mov esi, dword [ebx]
add dword [ebp - 0x14], ebx
xor esi, edi
xor dword [ebp - 0x18], eax
mov dword [edx], esi
xor dword [ebp - 0x14], edx
add edx, 0x78a5043b
add edx, 0x875afbc9
add ebx, 4
loop 0x10024f03
add eax, 0x1fb03b62
sub eax, 0x1faf34e7
mov ebx, eax
add eax, 0x92ba7285
add eax, 0x6d458d80
mov ecx, 0xcbfabe38
add ecx, 0x440541c8
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10001980
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc4
mov eax, dword [0x1000e010]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc8]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
lea ecx, [esp + 0x18]
push ecx
mov esi, edx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 2
push 0
push 2
mov dword [esp + 0x4c], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x48], 1
call sub.WINSPOOL.DRV_EnumPrintersA
mov eax, dword [esp + 0x20]
push eax
mov edi, eax
call fcn.1000220a
mov ebp, eax
add esp, 4
test ebp, ebp
mov dword [esp + 0x24], ebp
je 0x10001b61
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
push ecx
push edi
push ebp
push 2
push 0
push 2
call sub.WINSPOOL.DRV_EnumPrintersA
test eax, eax
je 0x10001b58
test ebx, ebx
jle 0x10001b58
mov eax, dword [esp + 0xdc]
sub eax, esi
mov dword [esp + 0x1c], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, esi
mov dword [esp + 0x28], eax
jmp 0x10001a34
mov eax, dword [esp + 0x28]
cmp dword [eax + ebp], 1
jne 0x10001b46
cmp dword [esp + 0x14], 0
jne 0x10001b46
xor edi, edi
cmp dword [esp + 0x18], edi
jle 0x10001b46
mov esi, dword [esp + 0x24]
add esi, 0xc
lea esp, [esp]
mov edx, dword [ebp]
push edx
push str.Brother__s
lea eax, [esp + 0x54]
push 0x1e
push eax
call fcn.100022cd
mov edx, dword [esi + 4]
push eax
lea ecx, [esp + 0x60]
push ecx
push edx
call fcn.100023ca
add esp, 0x1c
test eax, eax
jne 0x10001b1a
mov eax, dword [esi]
push eax
push str.SYSTEMCurrentControlSetControlPrintMonitorsStandard_TCP_IP_PortPorts_s
lea ecx, [esp + 0x74]
push 0x64
push ecx
call fcn.100022cd
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x78]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x10001b1a
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push str.IPAddress
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x38]
push 0x2e
push edx
call fcn.10002060
add esp, 8
test eax, eax
je 0x10001b2c
mov eax, dword [ebp]
mov ecx, dword [esp + 0x30]
push eax
lea edx, [esp + 0x3c]
call fcn.100015e0
add esp, 4
cmp eax, 1
je 0x10001b33
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 1
add esi, 0x54
cmp edi, dword [esp + 0x18]
jl 0x10001a60
jmp 0x10001b46
mov edx, dword [esp + 0x10]
push edx
jmp 0x10001b40
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebp, 4
sub dword [esp + 0x1c], 1
jne 0x10001a30
mov ebp, dword [esp + 0x24]
push ebp
call fcn.1000212d
add esp, 4
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000211e
add esp, 0xc4
ret
Function at 0x1000211e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e010]
jne 0x10002128
repz ret
jmp fcn.10002778

Function at 0x10003bc2
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x1000e2c0]
je 0x10003bdd
inc edi
cmp edi, 0x17
jb 0x10003bce
cmp edi, 0x17
jae 0x10003d5d
push ebp
push 3
call fcn.1000616b
cmp eax, 1
pop ecx
je 0x10003d29
push 3
call fcn.1000616b
test eax, eax
pop ecx
jne 0x10003c11
cmp dword [0x1000ef98], 1
je 0x10003d29
cmp ebx, 0xfc
je 0x10003d5c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x1000f468
push ebp
call fcn.100022e9
add esp, 0xc
test eax, eax
je 0x10003c47
push esi
push esi
push esi
push esi
push esi
call fcn.10003fb3
add esp, 0x14
push 0x104
mov esi, 0x1000f481
push esi
push 0
mov byte [0x1000f585], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10003c8b
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.100022e9
add esp, 0xc
test eax, eax
je 0x10003c8b
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.10003fb3
add esp, 0x14
push esi
call fcn.100060e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10003cd0
push esi
call fcn.100060e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x1000f77c
push 0x1000b88c
sub ecx, eax
push ecx
push eax
call fcn.10006026
add esp, 0x14
test eax, eax
je 0x10003cd0
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.10003fb3
add esp, 0x14
jmp 0x10003cd2
xor esi, esi
push 0x1000b888
push ebx
push ebp
call fcn.10005fb5
add esp, 0xc
test eax, eax
je 0x10003cf2
push esi
push esi
push esi
push esi
push esi
call fcn.10003fb3
add esp, 0x14
push dword [edi*8 + 0x1000e2c4]
push ebx
push ebp
call fcn.10005fb5
add esp, 0xc
test eax, eax
je 0x10003d14
push esi
push esi
push esi
push esi
push esi
call fcn.10003fb3
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.10005df8
add esp, 0xc
jmp 0x10003d5c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10003d5c
cmp ebp, 0xffffffff
je 0x10003d5c
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x1000e2c4]
push dword [esi]
call fcn.100060e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10005df8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100043f7
xor ebx, ebx
cmp dword [0x1000f8d8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10005ece
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10005fae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000ba30
push edi
call esi
cmp eax, ebx
je 0x10005fae
push eax
call fcn.10004389
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000f8d8], eax
call esi
push eax
call fcn.10004389
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000f8dc], eax
call esi
push eax
call fcn.10004389
mov dword [0x1000f8e0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1000396f
test eax, eax
pop ecx
pop ecx
je 0x10005e9c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10003fb3
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10005ece
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10004389
cmp eax, ebx
pop ecx
mov dword [0x1000f8e8], eax
je 0x10005ece
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10004389
pop ecx
mov dword [0x1000f8e4], eax
mov eax, dword [0x1000f8e4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x10005f53
cmp dword [0x1000f8e8], ecx
je 0x10005f53
push eax
call fcn.10004400
push dword [0x1000f8e8]
mov esi, eax
call fcn.10004400
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x10005f53
cmp edi, ebx
je 0x10005f53
call esi
cmp eax, ebx
je 0x10005f20
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10005f20
test byte [ebp - 0x18], 1
jne 0x10005f53
lea eax, [ebp - 0x10]
push eax
call fcn.100039a6
test eax, eax
pop ecx
je 0x10005f3b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.10003fb3
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x10005f4a
or dword [ebp + 0x10], 0x200000
jmp 0x10005f8e
or dword [ebp + 0x10], 0x40000
jmp 0x10005f8e
mov eax, dword [0x1000f8dc]
cmp eax, dword [ebp - 8]
je 0x10005f8e
push eax
call fcn.10004400
cmp eax, ebx
pop ecx
je 0x10005f8e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10005f8e
mov eax, dword [0x1000f8e0]
cmp eax, dword [ebp - 8]
je 0x10005f8e
push eax
call fcn.10004400
cmp eax, ebx
pop ecx
je 0x10005f8e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1000f8d8]
call fcn.10004400
cmp eax, ebx
pop ecx
je 0x10005fae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10005fb0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007519
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x10007554
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x1000753b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x1000754c
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x10007556
inc edi
add eax, 0x28
cmp edi, esi
jb 0x10007531
xor eax, eax
pop edi
pop esi
ret

Function at 0x10008438
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [esi]
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.100074e9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000749e
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.100074d9
add dword [ebx - 0x2b], eax
mov bh, 0x68
add al, 1
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.100074d9
sbb byte [esi], ch
lodsd eax, dword [esi]
clc
and byte [ebp - 0x20], 0
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.100074e9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000749e
add esp, 0xc
mov dword [ebp - 0x370], eax
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45b030]
jne 0x401116
repz ret
jmp fcn.00401d41

Function at 0x40a6cc
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.00406ace
and dword [ebp - 4], 0
cmp dword [0x45d894], 0
mov ebx, eax
jne 0x40a77d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a82e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a82e
push eax
call fcn.00406a5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45d894], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45d898], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45d89c], eax
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x45d8a4], eax
test eax, eax
je 0x40a77d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x45d8a0], eax
mov eax, dword [0x45d8a0]
cmp eax, ebx
je 0x40a7d5
cmp dword [0x45d8a4], ebx
je 0x40a7d5
push eax
call fcn.00406ad7
push dword [0x45d8a4]
mov esi, eax
call fcn.00406ad7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a7d5
test edi, edi
je 0x40a7d5
call esi
test eax, eax
je 0x40a7cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a7cc
test byte [ebp - 0xc], 1
jne 0x40a7d5
or dword [ebp + 0x10], 0x200000
jmp 0x40a80e
mov eax, dword [0x45d898]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a80e
mov eax, dword [0x45d89c]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d894]
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a82e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a830
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cb60
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x45b030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2b161a4]
push ebx
mov ebx, dword [0x2b15ff0]
push esi
mov esi, dword [0x45c060]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40cba1
push str.lefovuweceh
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2b161a4]
mov dword [0x45d9fc], esi
cmp eax, 0x114e
jne 0x40cbcb
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.durinarusunavabaxomoyowev
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
mov eax, dword [0x2b161a4]
cmp eax, 0x2f
jne 0x40cbed
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
call fcn.0040cad0
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret