joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4d3008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x877ed8], 0
je 0x468f07
push str.access.dat
push 0x4d62e8
lea eax, [ebp - 0x108]
push str._s_s
push eax
call dword [0x4b528c]
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [0x4b5060]
mov dword [ebp - 0x114], eax
cmp eax, 0xffffffff
je 0x468f07
push 0
push dword [edi + 0x877ed8]
call dword [sym.imp.PAL.dll_PalListGetDataCount]
add esp, 8
test eax, eax
je 0x468ee4
mov esi, eax
shl esi, 5
add esi, eax
push 0
push esi
call dword [sym.imp.PAL.dll_PalMemoryAlloc]
mov ebx, eax
add esp, 8
mov dword [ebp - 0x10c], ebx
test ebx, ebx
je 0x468f07
push 0
push dword [edi + 0x877ed8]
call dword [sym.imp.PAL.dll_PalListFind]
mov edi, eax
add esp, 8
test edi, edi
je 0x468e62
push 0
push 0
push edi
call dword [sym.imp.PAL.dll_PalListGetData]
push 0x21
push eax
push ebx
call fcn.0047a5c0
push edi
add ebx, 0x21
call dword [sym.imp.PAL.dll_PalListFindNext]
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x468e35
mov ebx, dword [ebp - 0x10c]
mov ecx, esi
mov dword [ebp - 0x110], esi
and ecx, 3
je 0x468e79
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x110], eax
mov edi, dword [ebp - 0x10c]
mov cl, 4
mov edx, dword [ebp - 0x110]
mov eax, 0xff987dee
xor dword [edi], eax
mov eax, 0x84df873
xor dword [edi], eax
ror byte [edi], cl
add edi, 4
add cl, 1
and cl, 0xff
sub edx, 4
jne 0x468e87
push 0
lea eax, [ebp - 0x118]
push eax
push esi
mov esi, dword [ebp - 0x114]
push ebx
push esi
call dword [0x4b5188]
push ebx
call dword [sym.imp.PAL.dll_PalMemoryFree]
add esp, 4
push esi
call dword [0x4b5184]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047044a
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x114]
push esi
call dword [0x4b5184]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047044a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047044a
mov esp, ebp
pop ebp
ret

Function at 0x46e9b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], 0x84df873
mov dword [ebp - 0x14], 0xff987dee
and eax, 3
je 0x46e9da
sub edx, eax
mov dword [ebp - 8], edx
push edi
mov edi, dword [ebp - 0xc]
mov cl, byte [ebp - 4]
mov edx, dword [ebp - 8]
rol byte [edi], cl
add cl, 1
and cl, 0xff
mov eax, dword [ebp - 0x10]
xor dword [edi], eax
mov eax, dword [ebp - 0x14]
xor dword [edi], eax
add edi, 4
sub edx, 4
jne 0x46e9e4
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10001260
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x10021004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ebx
mov dword [ebp - 0x508], edx
push edi
mov dword [ebp - 0x50c], ecx
lea edx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10001290
push 0x400
xor edi, edi
lea eax, [ebp - 0x504]
push edi
push eax
sub esi, edx
call fcn.10007e80
add esp, 0xc
xor ecx, ecx
mov eax, ecx
mov byte [ebp + ecx - 0x104], cl
xor edx, edx
div esi
movzx eax, byte [edx + ebx]
mov dword [ebp + ecx*4 - 0x504], eax
inc ecx
cmp ecx, 0x100
jl 0x100012b2
xor esi, esi
nop word [eax + eax]
mov dl, byte [ebp + esi - 0x104]
mov ecx, dword [ebp + esi*4 - 0x504]
movzx eax, dl
add ecx, eax
add edi, ecx
and edi, 0x800000ff
jns 0x10001305
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], al
inc esi
mov byte [ebp + edi - 0x104], dl
cmp esi, 0x100
jl 0x100012e0
xor ebx, ebx
xor esi, esi
xor edi, edi
cmp dword [ebp - 0x508], ebx
jbe 0x1000139b
inc esi
and esi, 0x800000ff
jns 0x10001342
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [ebp + esi - 0x104]
movzx edx, cl
add edi, edx
and edi, 0x800000ff
jns 0x1000135e
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], al
mov byte [ebp + edi - 0x104], cl
movzx eax, byte [ebp + esi - 0x104]
mov ecx, dword [ebp - 0x50c]
add eax, edx
movzx eax, al
movzx eax, byte [ebp + eax - 0x104]
xor byte [ebx + ecx], al
inc ebx
cmp ebx, dword [ebp - 0x508]
jb 0x10001331
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006729
mov esp, ebp
pop ebp
ret
Function at 0x100013e0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xf0]
mov byte [edi], 0
mov eax, dword [esi + 0xb8]
mov dword [esi], vtable.CClientSocket.0
cmp eax, 0xffffffff
je 0x10001452
push 4
lea ecx, [ebp - 4]
mov dword [ebp - 4], 1
push ecx
push 0x80
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [esi + 0xb8]
call dword [sym.imp.KERNEL32.dll_CancelIo]
xor eax, eax
xchg dword [edi], eax
push dword [esi + 0xb8]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [esi + 0xbc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0xb8], 0xffffffff
mov eax, dword [esi + 0xb4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10001473
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0xb4]
call edi
push dword [esi + 0xbc]
call edi
lea eax, [esi + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esi + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 0x24], vtable.CBuffer.0
test eax, eax
je 0x100014ac
push 0x8000
push 0
push eax
call edi
mov eax, dword [esi + 0x18]
mov dword [esi + 0x14], vtable.CBuffer.0
test eax, eax
je 0x100014c4
push 0x8000
push 0
push eax
call edi
mov eax, dword [esi + 8]
mov dword [esi + 4], vtable.CBuffer.0
test eax, eax
je 0x100014dc
push 0x8000
push 0
push eax
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100014f0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create thread
Create udp socket
Get local ipv4 addresses
Get socket information
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x10021004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x34]
push edi
push 4
push eax
mov edi, ecx
mov dword [ebp - 0x34], 1
push 0x80
push 0xffff
push dword [edi + 0xb8]
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [edi + 0xb8]
call dword [sym.imp.KERNEL32.dll_CancelIo]
lea ebx, [edi + 0xf0]
xor eax, eax
xchg dword [ebx], eax
push dword [edi + 0xb8]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [edi + 0xbc]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [edi + 0xbc]
mov dword [edi + 0xb8], 0xffffffff
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 0xb8], eax
cmp eax, 0xffffffff
je 0x100016c3
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x100016c3
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push 0x1001e920
call fcn.10001220
add esp, 8
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [edi + 0xb8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x100016c3
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x10
push eax
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push dword [edi + 0xb8]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.WS2_32.dll_getsockname]
push 0x80
lea esi, [edi + 0x34]
push 0
push esi
call fcn.10007e80
add esp, 0xc
push dword [ebp - 0x2c]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
mov dword [ebp - 0x3c], 1
lea eax, [ebp - 0x3c]
push 4
push eax
push 8
push 0xffff
push dword [edi + 0xb8]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x10001691
push eax
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x10], 1
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0x2bf20
push eax
push 0x98000004
push dword [edi + 0xb8]
mov dword [ebp - 8], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 0
push 0
push edi
push 0x100016e0
push 0
push 0
mov byte [ebx], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xb4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10006729
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10006729
mov esp, ebp
pop ebp
ret 8
Function at 0x10001ea0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 4]
pop ebp
jmp fcn.10001bc0
Function at 0x100063f0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a8
mov eax, dword [0x10021004]
xor eax, esp
mov dword [esp + 0x2a4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x118]
push eax
push 0x202
mov dword [esp + 0x28], vtable.CClientSocket.0
mov dword [esp + 0x2c], vtable.CBuffer.0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], vtable.CBuffer.0
mov dword [esp + 0x48], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], vtable.CBuffer.0
mov dword [esp + 0x58], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [esp + 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
mov dword [esp + 0xe0], eax
mov byte [esp + 0x114], 0
mov dword [esp + 0xdc], 0xffffffff
mov dword [esp + 0xd8], 0
call fcn.1000b711
add esp, 4
push eax
call fcn.1000a155
mov esi, dword [ebp + 0xc]
add esp, 4
push esi
push edi
push str._s:_d_r_n
call fcn.10001220
add esp, 0xc
lea ecx, [esp + 0x20]
push esi
push edi
call fcn.100014f0
test al, al
jne 0x10006507
or edi, 0xffffffff
jmp 0x100065b6
push 0
push 0
lea eax, [esp + 0x28]
mov dword [esp + 0x14], vtable.CManager.0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push 1
push 0
mov dword [esp + 0x124], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xc]
push 1
lea eax, [esp + 0xf]
mov dword [esp + 0x10], vtable.CKernelManager.0
push eax
mov dword [esp + 0x20], 0
mov byte [esp + 0x13], 0xec
call fcn.10001ea0
push 0xffffffffffffffff
push dword [esp + 0xe0]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.end_r_n
call fcn.10001220
xor edi, edi
mov dword [esp + 0x10], vtable.CKernelManager.0
add esp, 4
cmp dword [esp + 0x18], edi
je 0x100065ae
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x100065ae
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.1000b9f4
add esp, 4
mov dword [esp + 0xc], vtable.CManager.0
lea ecx, [esp + 0x20]
call fcn.100013e0
mov ecx, dword [esp + 0x2ac]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.10006729
mov esp, ebp
pop ebp
ret
Function at 0x403288
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x404564]
test eax, eax
je 0x4032a1
call eax
test eax, eax
jne 0x4032a1
push 0xfffffffffffffffe
jmp 0x4032bb
push 1
push 0x404010
push 0x404008
call fcn.00403757
add esp, 0xc
test eax, eax
je 0x4032c1
push 0xfffffffffffffffd
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
push 0
push 0x404004
push section..data
call fcn.00403757
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
test esi, esi
jne 0x4032e7
mov esi, 0x4014eb
mov cl, 0x20
jmp 0x4032f0
cmp al, 0x20
ja 0x4032fa
inc esi
mov al, byte [esi]
test al, al
jne 0x4032eb
cmp al, 0x20
jbe 0x403311
mov al, byte [esi]
cmp al, 0x22
jne 0x403303
xor cl, 0x20
inc esi
mov al, byte [esi]
cmp al, cl
ja 0x4032fc
jmp 0x403311
cmp al, cl
ja 0x403317
inc esi
mov al, byte [esi]
test al, al
jne 0x40330c
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test eax, 0xa0d0a0d
sub eax, 0x54524357
sub eax, 0xa0d0a0d
test byte [ebp - 0x18], 1
je 0x403340
movzx eax, word [ebp - 0x14]
jmp 0x403343
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call fcn.00403722
pop ecx
pop esi
leave
ret

Function at 0x403722
Capabilities:
Terminate process

Disassembly:
call fcn.00403793
push 0
push 0x404018
push 0x404014
call fcn.00403757
push 0
push 0x404020
push 0x40401c
call fcn.00403757
add esp, 0x18
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4012b6
Capabilities:
Hide graphical window

Disassembly:
push ebp
push 0x10000
push 0x1000
push 1
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x403eb4], eax
push 0x64
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, 0x30
push eax
mov dword [eax], ecx
add eax, 0x4c
mov ebp, eax
mov eax, 0x400000
mov dword [0x403eb0], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x44], 0x401191
mov dword [ebp - 0x24], str.resiliency
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor eax, eax
push eax
push dword [0x403eb0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.abasement
push str.resiliency
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403eb8], eax
push eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_UpdateWindow]
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 0x401380
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
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 0x401367
mov eax, dword [0x403eb4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
pop ebp
ret 0x10
Function at 0x414df1
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], ecx
add edx, 4
cmp edx, esi
jne fcn.00414df1
ret

Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret
Function at 0x41eca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x41ecba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ecc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ecb0
mov eax, 1
add ebx, ebx
jne 0x41ecd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ecc8
jne 0x41ece4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ecc8
xor ecx, ecx
sub eax, 3
jb 0x41ecf8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ed6a
mov ebp, eax
add ebx, ebx
jne 0x41ed03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41ed10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41ed34
inc ecx
add ebx, ebx
jne 0x41ed20
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41ed15
jne 0x41ed31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ed15
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ed54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41ed45
jmp 0x41ecb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ed54
add edi, ecx
jmp 0x41ecb6
pop esi
mov edi, esi
mov ecx, 0x2ba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ed72
cmp byte [edi], 0xa
jne 0x41ed72
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ed77
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41edef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2118c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x212c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41eda4
mov ecx, edi
jns 0x41edd3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x212cc]
or eax, eax
je 0x41ede9
mov dword [ebx], eax
add ebx, 4
jmp 0x41edc1
call dword [esi + 0x212c8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41ee20
cmp al, 0xef
ja 0x41ee13
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41edf5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41ee02
mov ebp, dword [esi + 0x212d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41ee54
sub esp, 0xffffff80
jmp 0x402133
Function at 0x10001000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x78]
add ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x20]
add edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], 0
jmp 0x1000105a
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 0x18]
jae 0x10001098
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
movzx ecx, word [eax + edx*2]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4]
add ecx, dword [ebp + 8]
cmp ecx, dword [ebp + 0xc]
jne 0x1000108d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 8]
jmp 0x1000109a
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
jmp 0x10001051
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x407c50
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4824ab
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.00477398
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407cd2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004752aa
mov eax, dword [eax]
push 0x49fc98
push eax
call fcn.00467504
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00477623
test bl, bl
je 0x407cd2
push 0x49fc98
lea ecx, [esp + 0xc]
call fcn.004779b3
push 0x49fca4
lea ecx, [esp + 0xc]
call fcn.004779b3
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 0x407d0e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00477623
jmp 0x407dd9
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 0x407d92
lea edx, [esp + 0x7c]
push 0x49fca0
push edx
call fcn.00467504
add esp, 8
test eax, eax
je 0x407d92
lea eax, [esp + 0x7c]
push 0x49fc9c
push eax
call fcn.00467504
add esp, 8
test eax, eax
je 0x407d92
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 0x407d22
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.00477623
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 0x4085e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x408642
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc