joyce8/EMBER2024-capa huggingface dataset:
Function at 0x515d20
Capabilities:
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, ecx
test esi, esi
je 0x515f23
mov word [ebp - 0x814], ax
mov dword [ebp - 0x812], eax
mov dword [ebp - 0x80e], eax
mov dword [ebp - 0x80a], eax
mov word [ebp - 0x806], ax
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x515d70
push 2
sub eax, edx
push eax
push esi
call sub.WSOCK32.dll_gethostbyaddr
push esi
test eax, eax
je 0x515da0
mov ecx, 2
mov word [ebp - 0x814], cx
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x810], eax
jmp 0x515de2
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x515dbd
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 8
mov dx, word [eax + 8]
mov word [ebp - 0x814], dx
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [ebp - 0x810]
push ecx
call fcn.0057c0d0
add esp, 0xc
push 0x3ff
lea edx, [ebp - 0x403]
push 0
push edx
call fcn.0057a7a0
push 0x3ff
lea eax, [ebp - 0x803]
push 0
push eax
mov byte [ebp - 0x804], 0
call fcn.0057a7a0
add esp, 0x18
mov word [ebp - 0x404], 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0x3f8]
push 0x45
push ecx
mov word [ebp - 0x400], ax
call fcn.0057a7a0
xor eax, eax
xor edx, edx
xor ecx, ecx
add esp, 0xc
add esi, 0xc
mov word [ebp - 0x824], dx
mov dword [ebp - 0x822], eax
mov dword [ebp - 0x81e], eax
mov dword [ebp - 0x81a], eax
mov word [ebp - 0x816], ax
mov word [ebp - 0x402], ax
mov word [ebp - 0x3fe], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
lea edx, [ebp - 0x404]
push edx
mov ecx, edi
mov dword [ebp - 0x3fc], eax
call fcn.00515bf0
mov edx, dword [edi + 4]
push 0x10
mov word [ebp - 0x402], ax
lea eax, [ebp - 0x814]
push eax
push 0
push esi
lea ecx, [ebp - 0x404]
push ecx
push edx
call sub.WSOCK32.dll_sendto
cmp eax, 0xffffffff
je 0x515da9
lea eax, [ebp - 0x828]
push eax
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x824]
push ecx
push 0
push 0x400
lea edx, [ebp - 0x804]
push edx
push eax
mov dword [ebp - 0x828], 0x10
call sub.WSOCK32.dll_recvfrom
cmp eax, 0xffffffff
je 0x515da9
lea ecx, [ebp - 0x824]
push ecx
push eax
lea edx, [ebp - 0x804]
push edx
mov ecx, edi
call fcn.00515c70
mov eax, dword [edi + 8]
test eax, eax
je 0x515f1d
mov ecx, 1
cmp dword [eax + 0x24], ecx
jg 0x515f1d
mov dword [eax + 0x24], ecx
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 8
Function at 0x51ede0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x20]
push esi
call ecx
test eax, eax
je 0x51ee32
push 0x7c9
mov ecx, 0x6d1870
call fcn.004d1c70
push eax
push 0x1d
push 0x6d1870
call fcn.004d3020
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6f2484]
mov dword [ebp - 0x210], 0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [eax]
lea edx, [ebp - 0x210]
push edx
push 0x5a8e30
push eax
mov eax, dword [ecx + 0x134]
call eax
test eax, eax
je 0x51ee21
cmp dword [esi + 0xc], 0
jne 0x51ee9d
push str.bdcap32.dll
mov ecx, esi
call fcn.0051f260
test eax, eax
jns 0x51ee81
push 0x7ca
jmp 0x51ee07
mov ecx, dword [esi]
mov edx, dword [ecx + 0xc]
push str.e5b68af6
push str.EYA_LUNAPLUS_20100218
push esi
call edx
cmp dword [esi + 0xc], 0
je 0x51ef65
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push 0x3c
push 0x1e
push esi
call ecx
mov ecx, esi
call fcn.0051ecf0
push 0
mov ecx, 0x6bfb98
call fcn.005612e0
push eax
lea edx, [ebp - 0x108]
push str._sScreenShot
push edx
call fcn.0057acb0
add esp, 0xc
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x51eefb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x51eefb
push 0x7cc
jmp 0x51ee07
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x5a8f28
push str.Capture
lea edx, [ebp - 0x108]
push edx
mov ecx, esi
call fcn.0051ea90
lea eax, [ebp - 0x20c]
push eax
push 0x7cd
mov ecx, 0x6d1870
call fcn.004d1c70
push eax
push 0x1d
push 0x6d1870
call fcn.004d3020
mov ecx, dword [ebp - 0x210]
add esp, 0x10
push ecx
push 4
push 0
lea edx, [ebp - 0x20c]
push edx
push esi
call fcn.0051eb10
test eax, eax
js 0x51ee21
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0057ad52
mov esp, ebp
pop ebp
ret
Function at 0x522d50
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff8
push esi
mov esi, ecx
cmp eax, 0x4e
ja case.0x522d6c.10
movzx eax, byte [eax + 0x522ed8]
jmp dword [eax*4 + 0x522ea4]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x522d6c.10
call fcn.005220c0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00522140
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005221c0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00522230
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x522d6c.10
call fcn.005222a0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005222b0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00521ff0
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je case.0x522d6c.10
push 8
call fcn.004405a0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005222f0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005224e0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x6b1410
call fcn.00440de0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov dword [esi + 0xc], 1
mov eax, 1
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0xc], 0
je case.0x522d6c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x522d6c.10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x522d6c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.00522c20
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x5250a0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x104]
mov ebx, ecx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x5250c4
movsx eax, byte [esi]
push eax
call fcn.0057dd4a
add esp, 4
test eax, eax
je 0x525155
lea ecx, [ebp - 0x104]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x525102
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [eax], edi
je 0x525154
lea esp, [esp]
movsx edx, word [esi + 0xa]
mov eax, dword [eax]
push edx
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0057c0d0
mov edx, dword [ebp - 0x110]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x104]
push 0x5999a4
push eax
call fcn.0057acb0
mov ecx, dword [esi + 0xc]
inc edi
lea eax, [ecx + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x525110
pop edi
lea edx, [ebp - 0x104]
push edx
push 0x20
push 0x6d6eac
call fcn.0057dc95
mov eax, dword [0x6d6ef0]
mov esi, dword [ebp + 0xc]
imul eax, eax, 0x58
add esp, 0xc
cmp si, word [eax + 0x6f1560]
jne 0x52519b
cmp dword [0x6d6ed0], 0
je 0x52519b
cmp dword [0x6d6eec], 0
jne 0x52519b
mov ecx, 0x6d6ed0
call fcn.005163c0
mov eax, dword [ebx + 0x114]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x104]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebx + 0x118], eax
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 8
Function at 0x525240
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov bl, 0x53
push edi
mov edi, ecx
mov dword [ebp - 0x30], eax
cmp byte [esi + 1], bl
jb 0x525279
push 0
push 0xb6
push str.MHNetwork.cpp
call fcn.00527020
add esp, 0xc
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x56734661
mov dword [ebp - 0x28], 0x31313561
mov byte [ebp - 0x24], 0x41
mov byte [ebp - 0x23], bl
mov dword [ebp - 0x22], 0x61637646
mov byte [ebp - 0x1e], 0x4d
mov byte [ebp - 0x1d], bl
mov byte [ebp - 0x1c], bl
mov dword [ebp - 0x1b], 0x40215e59
mov dword [ebp - 0x17], 0x5a767324
mov dword [ebp - 0x13], 0x26317241
mov dword [ebp - 0xf], 0x2a21405e
mov dword [ebp - 0xb], 0x786673
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x5252c8
sub eax, ecx
mov ecx, eax
mov eax, dword [ebp - 0x30]
xor edx, edx
lea ebx, [ecx - 1]
div ebx
lea ebx, [ecx - 1]
mov ecx, dword [ebp - 0x30]
mov eax, ecx
movzx edx, byte [ebp + edx - 0x2c]
xor byte [esi + 1], dl
xor edx, edx
div ebx
mov al, byte [ebp + edx - 0x2c]
xor byte [esi + 2], al
movzx edx, byte [edi + 0x11c]
mov byte [esi], dl
mov eax, dword [edi + 0x118]
inc byte [edi + 0x11c]
test eax, eax
je 0x525322
mov edi, dword [edi + 0x114]
mov edx, dword [edi]
push ecx
push esi
push eax
mov eax, dword [edx + 0x14]
push edi
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ad52
mov esp, ebp
pop ebp
ret 8
Function at 0x526a00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x1ff
lea eax, [ebp - 0x303]
push 0
push eax
mov byte [ebp - 0x304], 0
call fcn.0057a7a0
add esp, 0xc
test esi, esi
je 0x526a58
mov ecx, dword [ebp + 0xc]
push esi
push ecx
push edi
lea edx, [ebp - 0x304]
push str._s_line:_d__msg:_s_
push edx
call fcn.0057acb0
add esp, 0x14
jmp 0x526a71
mov eax, dword [ebp + 0xc]
push eax
push edi
lea ecx, [ebp - 0x304]
push str._s_line:_d_
push ecx
call fcn.0057acb0
add esp, 0x10
push 0xff
lea edx, [ebp - 0x103]
push 0
push edx
mov byte [ebp - 0x104], 0
call fcn.0057a7a0
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x30e]
movzx edx, word [ebp - 0x312]
movzx eax, word [ebp - 0x314]
push ecx
push edx
push eax
lea ecx, [ebp - 0x104]
push str.._Log_Debug__4d_02d_02d.txt
push ecx
call fcn.0057acb0
add esp, 0x14
cmp dword [0x6d7e40], 0
jne 0x526b75
push 0
lea edx, [ebp - 0x39c]
push edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x526b43
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x104]
push 0x5a94d4
push ecx
call fcn.0057ac52
mov esi, eax
add esp, 8
test esi, esi
je 0x526b75
call fcn.005261f0
push eax
lea edx, [ebp - 0x304]
push edx
push str._stime:_s_n
push esi
call fcn.0057bbe1
push esi
call fcn.0057a951
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x3a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x3a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x526af8
mov dword [0x6d7e40], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0057ad52
mov esp, ebp
pop ebp
ret
Function at 0x527020
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6d7c08], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
je 0x527087
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
push 0x5a9470
push 0x6d7b08
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x6d7b08
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x5271c5
int3
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x5270a7
push eax
push edx
push ecx
lea eax, [ebp - 0x204]
push str._s_line:_d__msg:_s_
push eax
call fcn.0057acb0
add esp, 0x14
jmp 0x5270bd
push edx
push ecx
lea eax, [ebp - 0x204]
push str._s_line:_d_
push eax
call fcn.0057acb0
add esp, 0x10
push 0xff
lea ecx, [ebp - 0x103]
push 0
push ecx
mov byte [ebp - 0x104], 0
call fcn.0057a7a0
add esp, 0xc
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x20e]
movzx ecx, word [ebp - 0x212]
movzx edx, word [ebp - 0x214]
push eax
push ecx
push edx
lea eax, [ebp - 0x104]
push str.._Log_Assert__4d_02d_02d.txt
push eax
call fcn.0057acb0
add esp, 0x14
cmp dword [0x6d7e68], 0
jne 0x5271c5
push esi
push edi
push 0
lea ecx, [ebp - 0x29c]
push ecx
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x527191
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x104]
push 0x5a94d4
push eax
call fcn.0057ac52
mov esi, eax
add esp, 8
test esi, esi
je 0x5271c3
call fcn.005261f0
push eax
lea ecx, [ebp - 0x204]
push ecx
push str._stime:_s_n
push esi
call fcn.0057bbe1
push esi
call fcn.0057a951
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x2a0]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x2a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xf4240
jbe 0x527146
mov dword [0x6d7e68], 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057ad52
mov esp, ebp
pop ebp
ret
Function at 0x5456b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x4c]
add ecx, 0x493e0
mov dword [ebp - 4], eax
cmp eax, ecx
jbe 0x545720
cmp dword [edi + 0x10], 0
jle 0x54570f
push esi
lea ecx, [edi + 4]
call fcn.00575710
mov esi, eax
test esi, esi
je 0x54570e
mov edx, dword [esi + 8]
push edx
call fcn.00540740
mov eax, dword [esi + 4]
add esp, 4
push eax
lea ecx, [edi + 0x20]
call fcn.004bf240
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
push 0x5abd38
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
mov dword [edi + 0x4c], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x548610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
cmp dword [eax], 0x10
je 0x54878f
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
push 0x94
mov dword [ebp + 8], esi
add esi, 0x364
push 0
push esi
call fcn.0057a7a0
add esp, 0xc
mov ecx, edi
call fcn.00546a40
push 0
mov ecx, edi
call fcn.00546a50
test eax, eax
je 0x548777
push ebx
jmp 0x548660
mov edi, dword [eax]
mov ecx, eax
call fcn.00546740
mov ecx, dword [ebp + 8]
mov bl, al
add bl, byte [ecx + 0x536]
mov ecx, 0x6f4188
mov byte [ebp - 4], bl
mov edx, dword [ebp - 4]
push edx
call fcn.00547f10
test eax, eax
je case.0x5486a4.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x5486a4.10
movzx ecx, byte [ecx + 0x5487dc]
jmp dword [ecx*4 + 0x548798]
movzx edx, word [edi + 0x30]
mov eax, dword [eax]
mov dword [esi + edx*4 - 4], eax
jmp case.0x5486a4.10
movzx ecx, word [edi + 0x30]
fld dword [eax + 8]
fstp dword [ebp - 8]
test cx, cx
je case.0x5486a4.10
fld dword [eax + 4]
fstp dword [esi + ecx*4 + 0x24]
fld dword [ebp - 8]
fstp dword [esi + ecx*4 + 0x3c]
jmp case.0x5486a4.10
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x5c], ecx
jmp case.0x5486a4.10
mov edx, dword [eax + 0x10]
mov dword [esi + 0x58], edx
jmp case.0x5486a4.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x5486a4.10
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x64], ecx
jmp case.0x5486a4.10
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x68], edx
jmp case.0x5486a4.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x5486a4.10
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x70], ecx
jmp case.0x5486a4.10
mov edx, dword [eax + 0x20]
mov dword [esi + 0x74], edx
jmp case.0x5486a4.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x5486a4.10
fld dword [eax + 0x24]
movzx ecx, bl
fstp dword [esi + 0x7c]
mov word [esi + 0x80], cx
jmp case.0x5486a4.10
fld dword [eax + 0x28]
fstp dword [esi + 0x84]
jmp case.0x5486a4.10
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x88], edx
jmp case.0x5486a4.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8c], eax
jmp case.0x5486a4.10
mov ecx, dword [eax + 0x34]
mov dword [esi + 0x90], ecx
mov ecx, dword [ebp + 0x10]
push 0
call fcn.00546a50
test eax, eax
jne 0x548660
pop ebx
mov ecx, dword [0x6c27bc]
call fcn.004497e0
mov ecx, dword [0x6c27bc]
call fcn.00449490
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x54a600
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0x1f4]
test ecx, ecx
jne 0x54a613
xor eax, eax
pop ebp
ret 8
pop ebp
jmp fcn.0054ec10
Function at 0x54bb10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x1f4], 0
push edi
je 0x54bbbd
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x54bbbd
push 0
push 1
push 0x6f4250
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x54bbbd
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [0x6f41fc], ecx
mov edx, dword [eax + 4]
mov dword [0x6f4200], edx
mov eax, dword [eax + 8]
mov dword [0x6f4204], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [0x6f41f0], ecx
mov edx, dword [eax + 4]
mov dword [0x6f41f4], edx
mov eax, dword [eax + 8]
mov edx, dword [ebp + 0x14]
mov dword [0x6f41f8], eax
mov ecx, dword [esi + 0x1f4]
lea eax, [ebp + 0x10]
push eax
push 0
push 0
push 0x54ba80
push 0
push 0
mov dword [0x6f424c], ecx
mov dword [0x6f4248], edi
mov dword [0x6bef28], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x54bbc5
push eax
push 0x6f4250
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x5612a0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0x12
jb 0x5612c0
push 0
push 0x72
push str.DirectoryManager.cpp
call fcn.00527020
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x5612d8
cmp esi, 0x11
je 0x5612d8
mov eax, dword [edi + esi*4 + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
pop ebp
ret 4
Function at 0x572d00
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x6c0558]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ecx, ecx
mov eax, 1
push edi
lea ecx, [ecx]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
lea esi, [eax + eax]
and edx, 0x1b
mov dword [ebp + ecx*4 - 0x804], eax
mov dword [ebp + eax*4 - 0x404], ecx
xor edx, esi
xor eax, edx
inc ecx
and eax, 0xff
cmp ecx, 0x100
jl 0x572d20
mov eax, 1
mov ecx, 0x6f5910
lea esp, [esp]
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov dword [ecx], eax
add eax, eax
and edx, 0x1b
xor eax, edx
add ecx, 4
and eax, 0xff
cmp ecx, 0x6f5938
jl 0x572d60
mov byte [0x6f5010], 0x63
mov byte [0x6f719b], 0
mov ebx, 1
jmp 0x572da0
mov ecx, dword [ebp + ebx*4 - 0x404]
add ecx, ecx
add ecx, ecx
lea edx, [ebp - 0x408]
sub edx, ecx
mov eax, dword [edx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, 0xff
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, 0xff
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, 0xff
xor eax, edx
mov byte [ebx + 0x6f5010], al
mov byte [eax + 0x6f7138], bl
inc ebx
cmp ebx, 0x100
jl 0x572da0
xor ecx, ecx
movzx esi, byte [ecx + 0x6f5010]
mov edx, esi
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
and edx, 0x1b
lea eax, [esi + esi]
xor edx, eax
and edx, 0xff
mov eax, edx
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, esi
shl eax, 8
xor eax, edx
mov dword [ecx*4 + 0x6f6d38], eax
rol eax, 8
mov dword [ecx*4 + 0x6f6938], eax
rol eax, 8
mov dword [ecx*4 + 0x6f6538], eax
rol eax, 8
mov dword [ecx*4 + 0x6f6138], eax
movzx eax, byte [ecx + 0x6f7138]
test eax, eax
je 0x572ee2
mov esi, dword [ebp + eax*4 - 0x404]
mov edx, dword [ebp - 0x3cc]
lea eax, [esi + edx]
cdq
mov edi, 0xff
idiv edi
mov eax, dword [ebp + edx*4 - 0x804]
mov edx, dword [ebp - 0x3e0]
mov dword [ebp - 0x808], eax
lea eax, [esi + edx]
cdq
idiv edi
mov eax, dword [ebp - 0x3d0]
add eax, esi
mov ebx, dword [ebp + edx*4 - 0x804]
cdq
idiv edi
mov edi, dword [ebp + edx*4 - 0x804]
mov edx, dword [ebp - 0x3d8]
lea eax, [esi + edx]
cdq
mov esi, 0xff
idiv esi
mov eax, dword [ebp - 0x808]
mov edx, dword [ebp + edx*4 - 0x804]
jmp 0x572eea
xor eax, eax
xor ebx, ebx
xor edi, edi
xor edx, edx
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ebx
shl edx, 8
xor edx, eax
mov dword [ecx*4 + 0x6f5d38], edx
rol edx, 8
mov dword [ecx*4 + 0x6f5938], edx
rol edx, 8
mov dword [ecx*4 + 0x6f5510], edx
rol edx, 8
mov dword [ecx*4 + 0x6f5110], edx
inc ecx
cmp ecx, 0x100
jl 0x572e14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057ad52
mov esp, ebp
pop ebp
ret