joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50ca70
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 [0x6a9068]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, ecx
test edi, edi
je 0x50cc61
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, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x50cac0
push 2
sub eax, edx
push eax
push edi
call sub.WSOCK32.dll_gethostbyaddr
push edi
test eax, eax
je 0x50caf0
mov ecx, 2
mov word [ebp - 0x814], cx
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x810], eax
jmp 0x50cb32
call sub.WSOCK32.dll_gethostbyname
test eax, eax
jne 0x50cb0d
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
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.0056f3d0
add esp, 0xc
push 0x3ff
lea edx, [ebp - 0x403]
push 0
push edx
mov byte [ebp - 0x404], 0
call fcn.0056d420
push 0x3ff
lea eax, [ebp - 0x803]
push 0
push eax
mov byte [ebp - 0x804], 0
call fcn.0056d420
mov edi, dword [ebp + 0xc]
add esp, 0x18
push edi
lea ecx, [ebp - 0x404]
push ecx
mov ecx, esi
call fcn.0050c8f0
xor eax, eax
xor edx, edx
xor ecx, ecx
add edi, 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 edi
lea edx, [ebp - 0x404]
push edx
mov ecx, esi
mov dword [ebp - 0x3fc], eax
call fcn.0050c940
mov edx, dword [esi + 4]
push 0x10
mov word [ebp - 0x402], ax
lea eax, [ebp - 0x814]
push eax
push 0
push edi
lea ecx, [ebp - 0x404]
push ecx
push edx
call sub.WSOCK32.dll_sendto
cmp eax, 0xffffffff
je 0x50caf9
lea eax, [ebp - 0x828]
push eax
mov eax, dword [esi + 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 0x50caf9
lea ecx, [ebp - 0x824]
push ecx
push eax
lea edx, [ebp - 0x804]
push edx
mov ecx, esi
call fcn.0050c9c0
mov eax, dword [esi + 8]
test eax, eax
je 0x50cc5b
mov ecx, 1
cmp dword [eax + 0x24], ecx
jg 0x50cc5b
mov dword [eax + 0x24], ecx
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x24]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret 8
Function at 0x514940
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x6a9068]
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 0x514992
push 0x7c9
mov ecx, 0x6bb178
call fcn.004cae20
push eax
push 0x1d
push 0x6bb178
call fcn.004cc0a0
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6e42dc]
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 0x59ae98
push eax
mov eax, dword [ecx + 0x134]
call eax
test eax, eax
je 0x514981
cmp dword [esi + 0xc], 0
jne 0x5149fd
push str.bdcap32.dll
mov ecx, esi
call fcn.00514dc0
test eax, eax
jns 0x5149e1
push 0x7ca
jmp 0x514967
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 0x514ac5
mov eax, dword [esi]
mov ecx, dword [eax + 0x40]
push 0x3c
push 0x1e
push esi
call ecx
mov ecx, esi
call fcn.00514850
push 0
mov ecx, 0x6e6de8
call fcn.005544e0
push eax
lea edx, [ebp - 0x108]
push str._sScreenShot
push edx
call fcn.0056d930
add esp, 0xc
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x514a5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x514a5b
push 0x7cc
jmp 0x514967
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x59af90
push str.Capture
lea edx, [ebp - 0x108]
push edx
mov ecx, esi
call fcn.005145f0
lea eax, [ebp - 0x20c]
push eax
push 0x7cd
mov ecx, 0x6bb178
call fcn.004cae20
push eax
push 0x1d
push 0x6bb178
call fcn.004cc0a0
mov ecx, dword [ebp - 0x210]
add esp, 0x10
push ecx
push 4
push 0
lea edx, [ebp - 0x20c]
push edx
push esi
call fcn.00514670
test eax, eax
js 0x514981
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret

Function at 0x5151e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push esi
test eax, eax
jne 0x515234
mov eax, dword [ebp + 8]
push 0x59b004
push eax
call fcn.0056d8d2
mov esi, eax
add esp, 8
test esi, esi
je 0x515268
mov edx, dword [ebp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x515210
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x515210
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.0056d79c
push esi
call fcn.0056d5d1
add esp, 0x14
pop edi
xor eax, eax
pop esi
pop ebp
ret 0xc
cmp eax, 1
jne 0x515268
mov ecx, dword [ebp + 8]
push 0x59b000
push ecx
call fcn.0056d8d2
mov esi, eax
add esp, 8
test esi, esi
je 0x515268
mov edx, dword [ebp + 0xc]
push edx
push 0x59affc
push esi
call fcn.0056e861
push esi
call fcn.0056d5d1
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x518450
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.0x51846c.10
movzx eax, byte [eax + 0x5185d8]
jmp dword [eax*4 + 0x5185a4]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x51846c.10
call fcn.005177f0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00517870
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005178f0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00517960
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x51846c.10
call fcn.005179d0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005179e0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00517720
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x38]
test ecx, ecx
je case.0x51846c.10
push 8
call fcn.0043f4d0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00517a20
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00517c10
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x6b8870
call fcn.0043fcd0
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.0x51846c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x51846c.10
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x51846c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.00518320
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x51a620
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x6a9068]
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 0x51a644
movsx eax, byte [esi]
push eax
call fcn.0057104a
add esp, 4
test eax, eax
je 0x51a6d5
lea ecx, [ebp - 0x104]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x51a682
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0xc]
push edi
xor edi, edi
cmp dword [eax], edi
je 0x51a6d4
lea esp, [esp]
movsx edx, word [esi + 0xa]
mov eax, dword [eax]
push edx
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.0056f3d0
mov edx, dword [ebp - 0x110]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [ebp - 0x104]
push 0x58b99c
push eax
call fcn.0056d930
mov ecx, dword [esi + 0xc]
inc edi
lea eax, [ecx + edi*4]
add esp, 0xc
cmp dword [eax], 0
jne 0x51a690
pop edi
lea edx, [ebp - 0x104]
push edx
push 0x20
push 0x6c7ff4
call fcn.00570f95
mov eax, dword [0x6c8038]
mov esi, dword [ebp + 0xc]
imul eax, eax, 0x58
add esp, 0xc
cmp si, word [eax + 0x6e3390]
jne 0x51a71b
cmp dword [0x6c8018], 0
je 0x51a71b
cmp dword [0x6c8034], 0
jne 0x51a71b
mov ecx, 0x6c8018
call fcn.0050d100
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.0056d9d2
mov esp, ebp
pop ebp
ret 8
Function at 0x51a7c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x6a9068]
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 0x51a7f9
push 0
push 0xb6
push str.MHNetwork.cpp
call fcn.0051c440
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 0x51a848
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 0x51a8a2
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.0056d9d2
mov esp, ebp
pop ebp
ret 8
Function at 0x51bee0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a0
mov eax, dword [0x6a9068]
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.0056d420
add esp, 0xc
test esi, esi
je 0x51bf38
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.0056d930
add esp, 0x14
jmp 0x51bf51
mov eax, dword [ebp + 0xc]
push eax
push edi
lea ecx, [ebp - 0x304]
push str._s_line:_d_
push ecx
call fcn.0056d930
add esp, 0x10
push 0xff
lea edx, [ebp - 0x103]
push 0
push edx
mov byte [ebp - 0x104], 0
call fcn.0056d420
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.0056d930
add esp, 0x14
cmp dword [0x6c9c70], 0
jne 0x51c055
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 0x51c023
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x104]
push 0x59b53c
push ecx
call fcn.0056d8d2
mov esi, eax
add esp, 8
test esi, esi
je 0x51c055
call fcn.0051b6d0
push eax
lea edx, [ebp - 0x304]
push edx
push str._stime:_s_n
push esi
call fcn.0056e861
push esi
call fcn.0056d5d1
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
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 0x51bfd8
mov dword [0x6c9c70], 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret
Function at 0x51c440
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x6a9068]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x6c9a38], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
je 0x51c4a7
push eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
push 0x59b4d8
push 0x6c9938
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x6c9938
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x51c5e5
int3
mov edx, dword [ebp + 0xc]
test eax, eax
je 0x51c4c7
push eax
push edx
push ecx
lea eax, [ebp - 0x204]
push str._s_line:_d__msg:_s_
push eax
call fcn.0056d930
add esp, 0x14
jmp 0x51c4dd
push edx
push ecx
lea eax, [ebp - 0x204]
push str._s_line:_d_
push eax
call fcn.0056d930
add esp, 0x10
push 0xff
lea ecx, [ebp - 0x103]
push 0
push ecx
mov byte [ebp - 0x104], 0
call fcn.0056d420
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.0056d930
add esp, 0x14
cmp dword [0x6c9c98], 0
jne 0x51c5e5
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 0x51c5b1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x104]
push 0x59b53c
push eax
call fcn.0056d8d2
mov esi, eax
add esp, 8
test esi, esi
je 0x51c5e3
call fcn.0051b6d0
push eax
lea ecx, [ebp - 0x204]
push ecx
push str._stime:_s_n
push esi
call fcn.0056e861
push esi
call fcn.0056d5d1
add esp, 0x14
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
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 0x51c566
mov dword [0x6c9c98], 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret
Function at 0x53a060
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x4c]
add eax, 0x493e0
cmp edi, eax
jbe 0x53a08d
mov ecx, esi
call fcn.0053a020
push 0x59dda0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret

Function at 0x53ce50
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 0x53cfcf
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.0056d420
add esp, 0xc
mov ecx, edi
call fcn.0053b310
push 0
mov ecx, edi
call fcn.0053b320
test eax, eax
je 0x53cfb7
push ebx
jmp 0x53cea0
mov edi, dword [eax]
mov ecx, eax
call fcn.0053b010
mov ecx, dword [ebp + 8]
mov bl, al
add bl, byte [ecx + 0x536]
mov ecx, 0x6e6038
mov byte [ebp - 4], bl
mov edx, dword [ebp - 4]
push edx
call fcn.0053c700
test eax, eax
je case.0x53cee4.10
movzx ecx, word [edi + 0x2c]
add ecx, 0xfffffffd
cmp ecx, 0x75
ja case.0x53cee4.10
movzx ecx, byte [ecx + 0x53d01c]
jmp dword [ecx*4 + 0x53cfd8]
movzx edx, word [edi + 0x30]
mov eax, dword [eax]
mov dword [esi + edx*4 - 4], eax
jmp case.0x53cee4.10
movzx ecx, word [edi + 0x30]
fld dword [eax + 8]
fstp dword [ebp - 8]
test cx, cx
je case.0x53cee4.10
fld dword [eax + 4]
fstp dword [esi + ecx*4 + 0x24]
fld dword [ebp - 8]
fstp dword [esi + ecx*4 + 0x3c]
jmp case.0x53cee4.10
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x5c], ecx
jmp case.0x53cee4.10
mov edx, dword [eax + 0x10]
mov dword [esi + 0x58], edx
jmp case.0x53cee4.10
mov eax, dword [eax + 0x14]
mov dword [esi + 0x60], eax
jmp case.0x53cee4.10
mov ecx, dword [eax + 0x18]
mov dword [esi + 0x64], ecx
jmp case.0x53cee4.10
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x68], edx
jmp case.0x53cee4.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x6c], eax
jmp case.0x53cee4.10
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x70], ecx
jmp case.0x53cee4.10
mov edx, dword [eax + 0x20]
mov dword [esi + 0x74], edx
jmp case.0x53cee4.10
mov eax, dword [eax + 0x20]
mov dword [esi + 0x78], eax
jmp case.0x53cee4.10
fld dword [eax + 0x24]
movzx ecx, bl
fstp dword [esi + 0x7c]
mov word [esi + 0x80], cx
jmp case.0x53cee4.10
fld dword [eax + 0x28]
fstp dword [esi + 0x84]
jmp case.0x53cee4.10
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x88], edx
jmp case.0x53cee4.10
mov eax, dword [eax + 0x30]
mov dword [esi + 0x8c], eax
jmp case.0x53cee4.10
mov ecx, dword [eax + 0x34]
mov dword [esi + 0x90], ecx
mov ecx, dword [ebp + 0x10]
push 0
call fcn.0053b320
test eax, eax
jne 0x53cea0
pop ebx
mov ecx, dword [0x6ab2e4]
call fcn.00447090
mov ecx, dword [0x6ab2e4]
call fcn.00446d50
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x53ee40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0x1f4]
test ecx, ecx
jne 0x53ee53
xor eax, eax
pop ebp
ret 8
pop ebp
jmp fcn.00542a60
Function at 0x540340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x1f4], 0
push edi
je 0x5403ed
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x5403ed
push 0
push 1
push 0x6e6100
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x5403ed
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [0x6e60ac], ecx
mov edx, dword [eax + 4]
mov dword [0x6e60b0], edx
mov eax, dword [eax + 8]
mov dword [0x6e60b4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [0x6e60a0], ecx
mov edx, dword [eax + 4]
mov dword [0x6e60a4], edx
mov eax, dword [eax + 8]
mov edx, dword [ebp + 0x14]
mov dword [0x6e60a8], eax
mov ecx, dword [esi + 0x1f4]
lea eax, [ebp + 0x10]
push eax
push 0
push 0
push 0x5402b0
push 0
push 0
mov dword [0x6e60fc], ecx
mov dword [0x6e60f8], edi
mov dword [0x6a7b84], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x5403f5
push eax
push 0x6e6100
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 0x5544a0
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 0x5544c0
push 0
push 0x72
push str.DirectoryManager.cpp
call fcn.0051c440
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x5544d8
cmp esi, 0x11
je 0x5544d8
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 0x565b00
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 [0x6a9068]
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 0x565b20
mov eax, 1
mov ecx, 0x6e7910
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, 0x6e7938
jl 0x565b60
mov byte [0x6e7010], 0x63
mov byte [0x6e919b], 0
mov ebx, 1
jmp 0x565ba0
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 + 0x6e7010], al
mov byte [eax + 0x6e9138], bl
inc ebx
cmp ebx, 0x100
jl 0x565ba0
xor ecx, ecx
movzx esi, byte [ecx + 0x6e7010]
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 + 0x6e8d38], eax
rol eax, 8
mov dword [ecx*4 + 0x6e8938], eax
rol eax, 8
mov dword [ecx*4 + 0x6e8538], eax
rol eax, 8
mov dword [ecx*4 + 0x6e8138], eax
movzx eax, byte [ecx + 0x6e9138]
test eax, eax
je 0x565ce2
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 0x565cea
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 + 0x6e7d38], edx
rol edx, 8
mov dword [ecx*4 + 0x6e7938], edx
rol edx, 8
mov dword [ecx*4 + 0x6e7510], edx
rol edx, 8
mov dword [ecx*4 + 0x6e7110], edx
inc ecx
cmp ecx, 0x100
jl 0x565c14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056d9d2
mov esp, ebp
pop ebp
ret