joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404e50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov edx, eax
xor ecx, ecx
xor eax, eax
mov ebp, esp
push esi
push ebx
sub esp, 0x24c
mov dword [ebp + eax - 0x220], ecx
add eax, 4
cmp eax, 0x18
jb 0x404e61
mov eax, dword [0x40e33c]
lea esi, [ebp - 0x208]
mov dword [esp + 0x20], edx
mov dword [ebp - 0x218], esi
mov ebx, dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x214], 0x100
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0x7d2
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], str.SysTabControl32
mov dword [esp], 0
call ebx
sub esp, 0x30
mov dword [0x40e30c], eax
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x40e33c]
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0x100
mov dword [esp + 4], 0xfa
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
lea eax, [ebp - 0x224]
sub esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [0x40e30c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0x133e
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
mov eax, dword [0x40e33c]
sub esp, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [0x40e30c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000002
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40f020
mov dword [esp], 0x200
call ebx
mov dword [0x40e310], eax
sub esp, 0x30
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x405a50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
xor ecx, ecx
mov ebp, esp
push edi
xor edi, edi
push esi
mov esi, eax
push ebx
mov ebx, edx
lea edx, [ebp - 0x21e]
mov eax, ebx
sub esp, 0x22c
mov word [ebp - 0x20e], cx
mov dword [ebp - 0x21e], 0x790074
mov dword [ebp - 0x21a], 0x650070
mov dword [ebp - 0x216], 0x650064
mov dword [ebp - 0x212], 0x200066
mov dword [ebp - 0x22c], 0x750070
mov dword [ebp - 0x228], 0x6c0062
mov dword [ebp - 0x224], 0x630069
mov word [ebp - 0x220], di
call sym._AddToTLDataStrW
mov eax, dword [0x411c58]
cmp dword [esi], eax
je 0x405b78
mov edx, 0x40f190
mov eax, ebx
lea edi, [ebp - 0x20c]
call sym._AddToTLDataStrW
mov edx, str.uuid
mov eax, ebx
call sym._AddToTLDataStrW
mov edx, 0x40f194
mov eax, ebx
call sym._AddToTLDataStrW
mov dword [esp + 8], 0x100
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
sub esp, 0xc
cmp word [ebp - 0x20c], 0
je 0x405be0
mov eax, edi
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x405b28
sub eax, edi
sar eax, 1
dec eax
xor edx, edx
mov word [ebp + eax*2 - 0x20c], dx
lea edx, [ebp - 0x20a]
mov eax, ebx
call sym._AddToTLDataStrW
mov edx, 0x40f198
mov eax, ebx
call sym._AddToTLDataStrW
cmp dword [esi + 0x28], 6
je 0x405bc0
mov edx, 0x40f1a2
mov eax, ebx
call sym._AddToTLDataStrW
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [0x411c5c]
cmp dword [esi + 4], eax
jne 0x405ad2
mov eax, dword [0x411c60]
cmp dword [esi + 8], eax
jne 0x405ad2
mov eax, dword [0x411c64]
cmp dword [esi + 0xc], eax
jne 0x405ad2
cmp dword [esi + 0x28], 6
jne 0x405b6b
mov edx, 0x40f190
mov eax, ebx
call sym._AddToTLDataStrW
jmp 0x405bcc
mov edx, 0x40f19c
mov eax, ebx
call sym._AddToTLDataStrW
lea edx, [ebp - 0x22c]
mov eax, ebx
call sym._AddToTLDataStrW
jmp 0x405b5f
mov eax, 0xffffffff
jmp 0x405b36
Function at 0x405bf0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x40
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
cmp eax, 5
je 0x405c30
cmp eax, 0x4e
je 0x405d80
cmp eax, 1
je 0x405ce0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp dword [sym.imp.user32.dll_DefWindowProcW]
mov eax, dword [0x40e308]
movzx esi, bx
mov edi, dword [sym.imp.user32.dll_MoveWindow]
shr ebx, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x28
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call edi
lea eax, [ebx - 0x2b]
sub ebx, 0x57
sub esp, 0x18
mov dword [esp + 0x10], eax
lea eax, [esi - 6]
sub esi, 0x1a
mov dword [esp + 0xc], eax
mov eax, dword [0x40e30c]
mov dword [esp + 0x14], 1
mov dword [esp + 8], 0x28
mov dword [esp + 4], 3
mov dword [esp], eax
call edi
mov eax, dword [0x40e310]
sub esp, 0x18
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x22
mov dword [esp + 4], 0xa
mov dword [esp], eax
call edi
sub esp, 0x18
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
xor eax, eax
mov dword [ebp - 0x1a], 0x740053
mov word [ebp - 0xe], ax
mov eax, dword [0x40e33c]
mov dword [ebp - 0x16], 0x740061
mov dword [esp + 0x28], eax
lea eax, [ebp - 0x1a]
mov dword [ebp - 0x12], 0x630069
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x50000000
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
mov dword [0x40e308], eax
sub esp, 0x30
mov eax, esi
call sym._CreateTabCtrl
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
cmp edx, 0x7d2
jne 0x405cd3
cmp dword [ebx + 8], 0xfffffdd9
jne 0x405cd3
mov eax, dword [0x40e310]
mov dword [esp + 4], 0
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
mov dword [esp], eax
call ebx
mov eax, dword [0x40e30c]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x130b
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
test eax, eax
jne 0x405cd3
mov eax, dword [0x40e310]
mov dword [esp + 4], 5
mov dword [esp], eax
call ebx
sub esp, 8
jmp 0x405cd3
Function at 0x407500
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ecx, 0x32
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x4d4]
mov esi, 0x40e0c0
push ebx
mov ebx, eax
sub esp, 0x504
mov dword [ebp - 0x4dc], edx
mov edx, dword [sym.imp.user32.dll_LoadStringW]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40c]
mov dword [esp], eax
lea edi, [ebp - 0x20c]
mov dword [ebp - 0x4d8], edx
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], esi
mov dword [esp + 4], 1
call edx
mov edx, dword [ebp - 0x4d8]
sub esp, 0x10
mov dword [esp + 0xc], 0x100
mov dword [esp + 8], edi
mov dword [esp + 4], 2
mov dword [esp], ebx
call edx
sub esp, 0x10
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xcf0000
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], 0
call dword [sym.imp.user32.dll_CreateWindowExW]
sub esp, 0x30
test eax, eax
je 0x407738
mov esi, eax
mov dword [esp + 4], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp], 0x50000000
call dword [sym.imp.comctl32.dll_CreateStatusWindowW]
lea ecx, [ebp - 0x4d4]
sub esp, 0x10
mov dword [0x40e328], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x30], 0x14
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x28], 0x10
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x20], 0x10
mov dword [esp + 0x1c], 0xa
mov dword [esp + 0x14], 4
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], 0x50000000
call sym._CreateToolbarEx_52
mov edi, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x34
mov dword [0x40e32c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x6f
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov eax, dword [0x40e32c]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x71
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov eax, dword [0x40e32c]
sub esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x74
mov dword [esp + 4], 0x401
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x4dc]
mov dword [0x40e320], esi
sub esp, 0x10
mov dword [0x40e33c], ebx
mov dword [esp], esi
mov dword [0x40e340], 1
mov dword [0x40e344], 5
mov dword [esp + 4], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.user32.dll_UpdateWindow]
mov eax, 1
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x40d940
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40d998
cmp byte [esi + ebx - 1], 0xa
je 0x40d96c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x40e5f8], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x40da40
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop

Function at 0x40dbc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x58
call sym.___main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x40dc3d
cmp al, 9
je 0x40dc30
cmp al, 0x20
je 0x40dc30
mov dword [ebp - 0x54], 0
xor edi, edi
nop
cmp al, 0x5c
je 0x40dc90
cmp al, 0x22
je 0x40dca0
mov dword [ebp - 0x54], 0
movzx eax, byte [ebx + 1]
inc ebx
test al, al
je 0x40dc3d
cmp al, 9
sete cl
cmp al, 0x20
mov esi, ecx
sete cl
mov edx, esi
or dl, cl
je 0x40dbf0
test edi, 1
jne 0x40dbf0
lea esi, [esi]
movzx eax, byte [ebx + 1]
inc ebx
cmp al, 9
je 0x40dc30
cmp al, 0x20
je 0x40dc30
lea eax, [ebp - 0x50]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x24], 1
jne 0x40dc58
mov word [ebp - 0x20], 1
movzx esi, word [ebp - 0x20]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._WinMain_16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
inc dword [ebp - 0x54]
jmp 0x40dc07
and dword [ebp - 0x54], 1
jne 0x40dc00
xor edi, 1
jmp 0x40dc07
Function at 0x45409f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x4fcaa0
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x40
cmp dword [0x52a270], 1
jge 0x4fcb0f
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
je 0x4fcae5
mov edx, dword [ebx + 8]
movzx eax, word [edx]
movzx ecx, word [ebx + 0xc]
cmp eax, ecx
je 0x4fcae5
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x4fcac2
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x4fcafb
mov eax, dword [ebx + 8]
mov dword [ebp - 4], eax
jmp 0x4fcb02
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
jmp 0x4fcbff
movzx ecx, word [ebx + 0xc]
movd xmm0, ecx
movaps xmmword [ebp - 0x30], xmm0
pshuflw xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
pshufd xmm0, xmmword [ebp - 0x30], 0
movaps xmmword [ebp - 0x30], xmm0
mov edx, dword [ebx + 8]
and edx, 0xfff
cmp edx, 0xff0
ja 0x4fcbd0
mov eax, dword [ebx + 8]
movups xmm0, xmmword [eax]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pxor xmm0, xmmword [ebp - 0x20]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pcmpeqw xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x40]
pcmpeqw xmm0, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x20]
por xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
movaps xmm0, xmmword [ebp - 0x20]
pmovmskb ecx, xmm0
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x4fcbc5
bsf edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
add eax, dword [ebx + 8]
mov dword [ebx + 8], eax
mov ecx, dword [ebx + 8]
movzx edx, word [ecx]
movzx eax, word [ebx + 0xc]
cmp edx, eax
jne 0x4fcbb9
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xc], ecx
jmp 0x4fcbc0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
jmp 0x4fcbff
mov edx, dword [ebx + 8]
add edx, 0x10
mov dword [ebx + 8], edx
jmp 0x4fcbfa
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
movzx edx, word [ebx + 0xc]
cmp ecx, edx
jne 0x4fcbe3
mov eax, dword [ebx + 8]
jmp 0x4fcbff
mov eax, dword [ebx + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4fcbf1
xor eax, eax
jmp 0x4fcbff
mov edx, dword [ebx + 8]
add edx, 2
mov dword [ebx + 8], edx
jmp 0x4fcb2f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret

Function at 0x45625a
Capabilities:
Query environment variable

Disassembly:
jmp 0x4dc972
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4dc986
xor edi, edi
jmp 0x4dc9ca
push ebx
push esi
call fcn.004dc869
sub eax, esi
sar eax, 1
push 0x40
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
lea ebx, [eax + eax]
push ebx
call fcn.00454c25
mov edi, eax
add esp, 0x14
test edi, edi
je 0x4dc9b7
push ebx
push esi
push edi
call fcn.00453f2d
add esp, 0xc
push 2
push 0
call fcn.00453910
pop ecx
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x4d6ea0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.004534a1
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4d6ede
cmp dword [ebp + 8], 0
je 0x4d6ecc
lea eax, [ebp + 8]
push eax
call fcn.00456115
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4d6ede
mov eax, 4
jmp 0x4d700e
call fcn.004544cd
movzx edx, al
test edx, edx
jne 0x4d6f0c
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4d6efd
mov dword [ebp - 0xc], 4
jmp 0x4d6f04
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x4d700e
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4d6fb5
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x4d7360
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.00455594
lea ecx, [ebp - 8]
call fcn.0045377b
movzx edx, al
test edx, edx
jne 0x4d6f77
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.004545d1
mov eax, dword [ebp - 0x10]
jmp 0x4d700e
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00455d5f
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x4d6fa2
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.004545d1
mov eax, dword [ebp - 0x14]
jmp 0x4d700e
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.004545d1
mov eax, dword [ebp - 0x18]
jmp 0x4d700e
call fcn.0045346a
movzx ecx, al
test ecx, ecx
jne 0x4d6fee
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.00454513
add esp, 0x10
jmp 0x4d700e
call fcn.004562a5
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004563f4
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x4d7070
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
call fcn.004534a1
mov byte [ebp - 1], al
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4d70ae
cmp dword [ebp + 8], 0
je 0x4d709c
lea eax, [ebp + 8]
push eax
call fcn.0045516b
add esp, 4
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4d70ae
mov eax, 4
jmp 0x4d71de
call fcn.004544cd
movzx edx, al
test edx, edx
jne 0x4d70dc
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4d70cd
mov dword [ebp - 0xc], 4
jmp 0x4d70d4
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
jmp 0x4d71de
movzx eax, byte [ebp - 1]
test eax, eax
je 0x4d7185
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x4d73c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
lea ecx, [ebp - 8]
call fcn.00455594
lea ecx, [ebp - 8]
call fcn.0045377b
movzx edx, al
test edx, edx
jne 0x4d7147
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
call fcn.004545d1
mov eax, dword [ebp - 0x10]
jmp 0x4d71de
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.00455d5f
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x4d7172
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 8]
call fcn.004545d1
mov eax, dword [ebp - 0x14]
jmp 0x4d71de
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 8]
call fcn.004545d1
mov eax, dword [ebp - 0x18]
jmp 0x4d71de
call fcn.0045346a
movzx ecx, al
test ecx, ecx
jne 0x4d71be
mov edx, dword [ebp + 0x10]
or edx, 0x200000
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0045472a
add esp, 0x10
jmp 0x4d71de
call fcn.004562a5
mov dword [ebp - 0x24], eax
lea ecx, [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00454a3b
add esp, 0x10
mov esp, ebp
pop ebp
ret
Function at 0x405ef0
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0xf0000040
push 1
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 1], bl
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x405f7c
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, 1
jne 0x405f72
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0xc], 0x10
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, 1
jne 0x405f69
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp eax, 1
jne 0x405f69
cmp dword [ebp - 0xc], 0x10
jne 0x405f69
mov byte [ebp - 1], al
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop ebx
leave
ret 0xc

Function at 0x405f84
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x423188]
cmp eax, 0x270
jl 0x405ebc
push esi
push edi
xor edx, edx
mov esi, bind
mov ecx, edx
mov eax, dword [ecx*4 + 0x4227bc]
xor eax, dword [ecx*4 + 0x4227b8]
and eax, esi
xor eax, dword [ecx*4 + 0x4227b8]
mov edi, eax
shr eax, 1
and edi, 1
xor eax, dword [edi*4 + section..data]
xor eax, dword [ecx*4 + 0x422dec]
inc edx
mov dword [ecx*4 + 0x4227b8], eax
cmp edx, 0xe3
jl 0x405e15
cmp edx, 0x26f
jge 0x405e8e
lea ecx, [edx*4 + 0x4227b8]
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, esi
xor eax, dword [ecx]
mov edi, eax
and edi, 1
mov edi, dword [edi*4 + section..data]
xor edi, dword [ecx - 0x38c]
shr eax, 1
xor edi, eax
mov dword [ecx], edi
add ecx, 4
cmp ecx, 0x423174
jl 0x405e62
mov ecx, dword [0x423174]
mov eax, dword [0x4227b8]
xor eax, ecx
and eax, esi
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + section..data]
pop edi
xor eax, dword [0x422de8]
pop esi
mov dword [0x423174], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x4227b8]
inc eax
mov dword [0x423188], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x4227b0]
je 0x405fcb
xor ecx, ecx
mov dword [0x4227b0], eax
mov dword [0x4227b8], eax
inc ecx
mov eax, 0x4227b8
push esi
mov edx, dword [eax]
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, ecx
mov dword [eax + 4], esi
add eax, 4
inc ecx
cmp eax, 0x423174
jl 0x405fa5
mov dword [0x423188], ecx
pop esi
jmp 0x405dfc