joyce8/EMBER2024-capa huggingface dataset:
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 0x401031
Capabilities:
Create process on windows

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x403220], eax
call sub.kernel32.dll_GetCommandLineA
mov dword [0x403224], eax
push 0xa
push dword [0x403224]
push 0
push dword [0x403220]
call 0x401031
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov eax, dword [ebp + 0x10]
inc eax
mov dl, byte [eax]
cmp dl, 0x20
jne 0x401044
jmp 0x401046
jmp 0x40103a
inc eax
push eax
push 0x403123
call fcn.00401110
push 0xfa
push 0x403029
push 0xffffffffffffffff
push 0x403123
push 0
push 0
call sub.kernel32.dll_MultiByteToWideChar
mov dword [0x403228], 0x44
mov dword [0x403254], 1
mov word [0x403258], 0
push 0x40326c
push 0x403228
push 0
push 0
push 0
push 0x403029
push 0
push 0
push 0x403025
push 0
push str.mima1
call sub.advapi32.dll_CreateProcessWithLogonW
push 0xffffffffffffffff
push dword [0x40326c]
call sub.kernel32.dll_WaitForSingleObject
push dword [0x40326c]
call sub.kernel32.dll_CloseHandle
push dword [0x403270]
call sub.kernel32.dll_CloseHandle
push 0
call sub.kernel32.dll_ExitProcess
mov eax, dword [ebp - 0x44]
leave
ret 0x10

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 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 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x56f25093
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x423b3102
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x298052f3
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x29841842
call fcn.29802291
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x40], ebx
je 0x298053f7
cmp byte [esi + 0x45], bl
je 0x298053f7
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x29805328
xor al, al
jmp 0x298053f9
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.2980d23d
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x14]
cmp edi, 0x10
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, ebx
lea ecx, [ebp - 0x28]
cmovae ecx, ebx
add eax, edx
push eax
push ecx
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0x48]
push eax
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x29805380
dec eax
je 0x29805384
dec eax
dec eax
je 0x298053e1
xor bl, bl
jmp 0x298053e3
mov byte [esi + 0x45], 0
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edi, 0x10
mov ecx, dword [ebp - 0x30]
cmovae eax, ebx
sub ecx, eax
mov dword [ebp - 0x2c], ecx
je 0x298053c3
push dword [esi + 0x50]
cmp edi, 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, ebx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
mov ecx, dword [ebp - 0x2c]
add esp, 0x10
cmp ecx, eax
jne 0x2980537c
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
cmp byte [esi + 0x45], 0
je 0x298053e1
test ecx, ecx
jne 0x29805349
push ecx
push 8
lea ecx, [ebp - 0x28]
call fcn.2980d23d
jmp 0x29805343
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.2980d23d
mov al, bl
jmp 0x298053f9
mov al, 1
call fcn.29802ba0
ret
Function at 0x29805ed7
Capabilities:
Write file on windows

Disassembly:
push 0x2c
mov eax, 0x298419c9
call fcn.29802291
mov edi, ecx
mov ebx, dword [ebp + 8]
or esi, 0xffffffff
cmp ebx, esi
jne 0x29805ef6
xor eax, eax
jmp 0x29806008
call dword [sym.imp.MSVCP120.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x29805f28
mov eax, dword [edi + 0x30]
mov ecx, edi
mov edx, dword [edi + 0x20]
mov esi, dword [eax]
add esi, dword [edx]
call dword [sym.imp.MSVCP120.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
cmp eax, esi
jae 0x29805f25
mov ecx, edi
call dword [sym.imp.MSVCP120.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
jmp 0x29806006
or esi, 0xffffffff
cmp dword [edi + 0x50], 0
jne 0x29805f35
mov eax, esi
jmp 0x29806008
mov ecx, edi
call fcn.298054c7
xor eax, eax
cmp dword [edi + 0x40], eax
jne 0x29805f55
push dword [edi + 0x50]
push ebx
call fcn.2980d23d
test al, al
pop ecx
pop ecx
cmovne esi, ebx
jmp 0x29805f2e
push eax
push 8
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.2980d23d
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
add eax, edx
push eax
push ecx
mov ecx, dword [edi + 0x40]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x2b]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [edi + 0x48]
push eax
call dword [sym.imp.MSVCP120.dll_public:_int___thiscall_std::codecvt_char__char__int_::out_int___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x29805ff5
cmp eax, 1
jg 0x2980603d
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov ebx, dword [ebp - 0x34]
cmovae eax, edx
sub ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 8]
je 0x29806010
push dword [edi + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x30]
cmovae eax, edx
push 1
push eax
call dword [sym.imp.MSVCR120.dll_fwrite]
mov ecx, dword [ebp - 0x30]
add esp, 0x10
cmp ecx, eax
je 0x29806013
mov ebx, esi
push 0
push 1
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.2980d23d
mov eax, ebx
call fcn.29802ba0
ret 4
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov byte [edi + 0x45], 1
cmp dword [ebp - 0x38], eax
jne 0x29805ff7
test ecx, ecx
jne 0x29805f74
cmp dword [ebp - 0x18], 0x20
jae 0x29805ff5
push ecx
push 8
lea ecx, [ebp - 0x28]
call fcn.2980d23d
jmp 0x29805f74
cmp eax, 3
jne 0x29805ff5
push dword [edi + 0x50]
push dword [ebp - 0x2c]
call fcn.2980d23d
pop ecx
pop ecx
test al, al
mov ecx, esi
cmovne ecx, ebx
mov ebx, ecx
jmp 0x29805ff7
Function at 0x2980d23d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x2980d24c
pop dword [ebp - 0x34]
mov eax, 0x411e0426
sub eax, 0x179d31da
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x3681c47e
add dword [ebp - 0x44], 0x17d080cd
mov dword [ebp - 0x40], 0xdf4138e2
add dword [ebp - 0x40], 0x52f21363
mov dword [ebp - 0x3c], 0x5c381895
add dword [ebp - 0x3c], 0xf0142b99
mov dword [ebp - 0x38], 0x574f289a
sub dword [ebp - 0x38], 0x574f289a
lea eax, [ebp - 0x44]
push eax
mov eax, 0x58156bb4
add eax, 0xd16ef4fc
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x81d4c90e
add dword [ebp - 0x44], 0xf29da048
mov dword [ebp - 0x40], 0x8bb0d233
sub dword [ebp - 0x40], 0x4a4470be
mov dword [ebp - 0x3c], 0x57836ae5
add dword [ebp - 0x3c], 0xbec0187
mov dword [ebp - 0x38], 0xbf733280
sub dword [ebp - 0x38], 0xbf733280
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xe94f39be
sub eax, 0xbfcad912
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x420a0
push 0
call eax
mov ecx, 0xd9399d8b
sub ecx, 0xd939635a
xor esi, esi
add esi, eax
mov edx, 0x2987f000
add edx, dword [ebp - 0x34]
mov edi, 0xb01b3209
sub edi, 0xe585fcc4
mov ebx, dword [edx]
add dword [ebp - 0x2c], esi
xor ebx, edi
xor dword [ebp - 0x1c], edx
mov dword [esi], ebx
add dword [ebp - 0x14], eax
add esi, 0xb87a6eb6
sub esi, 0xb87a6eb2
add edx, 4
loop 0x2980d36a
add eax, 0xd88719c8
add eax, 0x2779c1cf
mov ebx, eax
add eax, 0xb5b5b0f2
sub eax, 0xb5b5b0ed
mov ecx, 0xe92efc11
add ecx, 0x405103ef
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x29820bb2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x29843a83
call fcn.29840da1
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
test edi, edi
je 0x29820d90
push edi
call dword [sym.imp.MSVCR120.dll_wcslen]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.2980d23d
add esp, 0x10
test eax, eax
js 0x29820d8a
mov esi, dword [ebp - 0x41c]
cmp esi, 0x400
jg 0x29820c4e
push esi
call fcn.29821d9a
pop ecx
test al, al
je 0x29820c4e
mov eax, esi
call fcn.29841250
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x29820c5a
push esi
lea ecx, [ebp - 0x428]
call fcn.2980d23d
push 3
push esi
push edi
push eax
call fcn.2980d23d
mov esi, eax
test esi, esi
je 0x29820d8a
push 0x60
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x41c], edi
test edi, edi
jne 0x29820ca6
push 2
push ebx
push esi
call dword [sym.imp.kernel32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x41c], eax
test edi, edi
jne 0x29820ca6
call fcn.2981e72e
mov esi, eax
jmp 0x29820d6f
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x29820cc9
call fcn.2981e72e
jmp 0x29820d62
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x29820cbf
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x29820cf9
mov esi, 0x8007000e
jmp 0x29820d64
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2980d23d
jmp 0x29820d1f
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x29820cf2
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.2980d23d
mov eax, dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
add esp, 0x10
mov byte [eax + esi], bl
push dword [ebp + 0x14]
push dword [ebp - 0x418]
call fcn.2980d23d
mov esi, eax
test edi, edi
je 0x29820d6f
push edi
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x29820daa
lea ecx, [ebp - 0x418]
call fcn.2981f38a
jmp 0x29820daa
mov ebx, dword [ebp - 0x418]
lea eax, [ebp - 0x414]
cmp ebx, eax
je 0x29820da5
lea ecx, [ebp - 0x418]
call fcn.2981f38a
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.2981d929
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.29840d5c
ret 0x10
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 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 0x401000
Capabilities:
Accept command line arguments
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 4], 2
mov esi, eax
jne 0x40103a
push edi
mov edi, dword [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401039
or eax, 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10015217
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x1002d711
call fcn.10017005
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x10015234
xor eax, eax
jmp 0x10015311
xor edi, edi
push edi
push 2
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x1001530f
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push esi
call sub.kernel32.dll_Process32FirstW
jmp 0x100152e5
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x244]
call fcn.1000128b
push ebx
lea ecx, [ebp - 0x240]
mov dword [ebp - 4], edi
call fcn.1000128b
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 1
call fcn.10001cc6
lea ecx, [ebp - 0x240]
call fcn.10001cc6
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.1002b663
pop ecx
pop ecx
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
test al, al
jne 0x100152ef
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.10001eb4
lea eax, [ebp - 0x23c]
push eax
push esi
call sub.kernel32.dll_Process32NextW
test eax, eax
jne 0x10015264
jmp 0x10015308
mov edi, dword [ebp - 0x234]
call fcn.10001eb4
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.10001eb4
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, edi
call fcn.10016faf
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 0x1001aeee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1001aefd
pop dword [ebp - 0x28]
mov eax, 0xfc0db7e8
add eax, 0x13f3f715
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0xd24204fe
sub dword [ebp - 0x38], 0x83efbfb3
mov dword [ebp - 0x34], 0x3fb4453e
add dword [ebp - 0x34], 0xf27f0707
mov dword [ebp - 0x30], 0xe3d1a286
add dword [ebp - 0x30], 0x687aa1a8
mov dword [ebp - 0x2c], 0x7c41a499
add dword [ebp - 0x2c], 0x83be5b67
lea eax, [ebp - 0x38]
push eax
mov eax, 0x71697e25
add eax, 0x9e98425b
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0xcc5e9c43
sub dword [ebp - 0x38], 0x57ec32ed
mov dword [ebp - 0x34], 0xcb0e1b50
add dword [ebp - 0x34], 0x765e4625
mov dword [ebp - 0x30], 0x3e1029d9
sub dword [ebp - 0x30], 0xdaa0bd6d
mov dword [ebp - 0x2c], 0x811355bf
add dword [ebp - 0x2c], 0x7eecaa41
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0x12283b12
sub eax, 0x2267b12
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x337ee
push 0
call eax
mov ecx, 0xc997dc38
add ecx, 0x36685c0c
mov ebx, eax
mov esi, 0xe852c350
add esi, 0x27afa4b0
add esi, dword [ebp - 0x28]
mov edx, 0xb0f61f8f
add edx, 0xc75b06bf
xor dword [ebp - 0x10], eax
mov edi, dword [esi]
add dword [ebp - 0x10], 0x6898c20b
add edi, edx
xor dword [ebp - 0xc], 0x197ea4a5
mov dword [ebx], edi
xor dword [ebp - 0x14], 0xe7e19eba
add ebx, 0x2a149e95
sub ebx, 0x2a149e91
add esi, 0x847f4f29
sub esi, 0x847f4f25
loop 0x1001b01f
add eax, 0x99278ce1
add eax, 0x66d94702
mov ebx, eax
add eax, 0x491d2114
sub eax, 0x491d210f
mov ecx, 0xa31a3a20
sub ecx, 0x931a3a20
invalid
Function at 0x401340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.SetEvent
mov esi, ecx
push str.KERNEL32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov ebp, eax
mov al, 0x69
mov byte [esp + 0x12], al
mov byte [esp + 0x18], al
mov al, 0x65
mov cl, 0x74
mov byte [esp + 0x1c], al
mov byte [esp + 0x20], al
lea eax, [esp + 0x10]
mov byte [esp + 0x10], 0x57
push eax
push str.KERNEL32.dll
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1b], cl
mov byte [esp + 0x1c], 0x46
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], 0x53
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x67
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x25], 0x4f
mov byte [esp + 0x26], 0x62
mov byte [esp + 0x27], 0x6a
mov byte [esp + 0x29], 0x63
mov byte [esp + 0x2a], cl
mov byte [esp + 0x2b], 0
call edi
push eax
call ebx
mov edi, eax
mov al, byte [esi + 0x44]
test al, al
jne 0x4013f9
mov ecx, esi
call fcn.004015d0
test al, al
jne 0x4013f9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov ebx, dword [esp + 0x28]
test ebx, ebx
jne 0x40140d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4
mov ecx, dword [esi + 0x28]
push ecx
call ebp
mov edx, dword [esi + 0x24]
push 0xffffffffffffffff
push edx
call edi
mov eax, dword [esi + 4]
pop edi
mov dword [ebx], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + ecx*4 + 8]
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x4015d0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c5f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
push str.ResumeThread
push str.KERNEL32.dll
mov dword [ebp - 0x1c], ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.CreateThread
push str.KERNEL32.dll
mov dword [ebp - 0x34], eax
call esi
push eax
call edi
push str.waveInOpen
push str.WINMM.dll
mov dword [ebp - 0x20], eax
call esi
push eax
call edi
push str.waveInGetNumDevs
push str.WINMM.dll
mov dword [ebp - 0x24], eax
call esi
push eax
call edi
push str.waveInPrepareHeader
push str.WINMM.dll
mov dword [ebp - 0x18], eax
call esi
push eax
call edi
push str.waveInAddBuffer
push str.WINMM.dll
mov dword [ebp - 0x28], eax
call esi
push eax
call edi
push str.waveInStart
push str.WINMM.dll
mov dword [ebp - 0x30], eax
call esi
push eax
call edi
mov dword [ebp - 0x38], eax
call dword [ebp - 0x18]
test eax, eax
jne 0x40169a
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 4
push ebx
push 0x401790
push 0
push 0
call dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push 0x20000
push 0
lea edx, [ebx + 0x46]
push ecx
lea edi, [ebx + 0x18]
push edx
push 0xffff
push edi
mov dword [ebx + 0x2c], eax
call dword [ebp - 0x24]
test eax, eax
je 0x4016e9
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea esi, [ebx + 0x30]
mov dword [ebp - 0x18], 2
mov eax, dword [esi]
mov ecx, dword [esi - 0x28]
push 0x20
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [ebx + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi]
xor eax, eax
mov dword [ecx + 0x10], eax
mov edx, dword [esi]
mov dword [edx + 0x14], eax
mov eax, dword [esi]
mov ecx, dword [edi]
push eax
push ecx
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add esi, 4
dec eax
mov dword [ebp - 0x18], eax
jne 0x4016f3
lea edx, [ebp - 0x2c]
push 0x41e4c8
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0x4b
call sub.MSVCRT.dll__CxxThrowException
mov esi, dword [ebp - 0x1c]
push 0x20
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + eax*4 + 0x30]
push ecx
push edx
call dword [ebp - 0x30]
mov eax, dword [esi + 0x2c]
push eax
call dword [ebp - 0x34]
mov ecx, dword [esi + 0x18]
push ecx
call dword [ebp - 0x38]
mov eax, 0x401769
ret
Function at 0x4019c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], esp
mov dword [ecx], 0x41d4ac
mov al, 0x69
xor ebx, ebx
mov byte [ebp - 0x2e], al
mov byte [ebp - 0x28], al
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0x24], al
mov byte [ebp - 0x20], al
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
push str.KERNEL32.dll
mov byte [ebp - 0x30], 0x57
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2d], cl
mov byte [ebp - 0x2c], 0x46
mov byte [ebp - 0x2b], 0x6f
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x53
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x26], 0x67
mov byte [ebp - 0x25], 0x6c
mov byte [ebp - 0x23], 0x4f
mov byte [ebp - 0x22], 0x62
mov byte [ebp - 0x21], 0x6a
mov byte [ebp - 0x1f], 0x63
mov byte [ebp - 0x1e], cl
mov byte [ebp - 0x1d], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x18]
push 0x41e4c8
push ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0x11
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp - 0x14]
mov byte [0x424260], 0
push 0xffffffffffffffff
mov eax, dword [edx + 0x14]
push eax
call dword [ebp - 0x1c]
mov eax, 0x401a89
ret

Function at 0x402040
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x41c68a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 4]
call fcn.00401c90
lea ecx, [esi + 0x2c]
mov dword [esp + 0x1a4], 0
call fcn.00401c90
lea ecx, [esi + 0x54]
mov byte [esp + 0x1a4], 1
call fcn.00401c90
lea ecx, [esi + 0x7c]
mov byte [esp + 0x1a4], 2
call fcn.00401c90
lea eax, [esp + 0xc]
mov dword [esi], 0x41d4c0
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xac], eax
mov al, 0x41
mov byte [esp + 4], al
mov byte [esp + 5], 0x5a
mov byte [esp + 6], 0x56
mov byte [esp + 7], al
mov edx, dword [esp + 4]
lea ecx, [esi + 0xb0]
mov al, 0x5a
mov byte [esi + 0xb5], 0
mov dword [ecx], edx
mov dword [esi + 0xa8], 0xffffffff
mov byte [ecx + 4], al
mov ecx, dword [esp + 0x19c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1a4
ret