joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444480
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp + 0xc], ebx
nop
lea esi, [esi]
mov cl, byte [edx]
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov byte [esi], cl
mov bl, byte [eax]
mov byte [esi + 1], bl
mov cl, byte [edi]
mov byte [esi + 2], cl
mov cl, byte [edx + 2]
mov byte [esi + 3], cl
mov cl, byte [eax]
mov byte [esi + 4], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 5], cl
mov cl, byte [edx + 4]
mov byte [esi + 6], cl
mov cl, byte [eax + 2]
mov byte [esi + 7], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 8], cl
mov cl, byte [edx + 6]
mov byte [esi + 9], cl
mov cl, byte [eax + 2]
mov byte [esi + 0xa], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 0xb], cl
mov cl, byte [edx + 8]
mov byte [esi + 0xc], cl
mov cl, byte [eax + 4]
mov byte [esi + 0xd], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0xa]
mov byte [esi + 0xf], cl
mov cl, byte [eax + 4]
mov byte [esi + 0x10], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0x11], cl
mov cl, byte [edx + 0xc]
mov byte [esi + 0x12], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x13], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x14], cl
mov cl, byte [edx + 0xe]
mov byte [esi + 0x15], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x16], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x17], cl
mov cl, byte [edx + 0x10]
add esi, dword [esp + 0x30]
mov byte [esi], cl
mov cl, byte [eax]
mov byte [esi + 1], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 2], cl
mov cl, byte [edx + 0x12]
mov byte [esi + 3], cl
mov cl, byte [eax]
mov byte [esi + 4], cl
mov ecx, edi
mov cl, byte [ecx]
mov byte [esi + 5], cl
mov cl, byte [edx + 0x14]
mov byte [esi + 6], cl
mov cl, byte [eax + 2]
mov byte [esi + 7], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 8], cl
mov cl, byte [edx + 0x16]
mov byte [esi + 9], cl
mov cl, byte [eax + 2]
mov byte [esi + 0xa], cl
mov ecx, edi
mov cl, byte [ecx + 2]
mov byte [esi + 0xb], cl
mov cl, byte [edx + 0x18]
mov byte [esi + 0xc], cl
mov cl, byte [eax + 4]
mov byte [esi + 0xd], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0xe], cl
mov cl, byte [edx + 0x1a]
mov byte [esi + 0xf], cl
mov cl, byte [eax + 4]
mov byte [esi + 0x10], cl
mov ecx, edi
mov cl, byte [ecx + 4]
mov byte [esi + 0x11], cl
mov cl, byte [edx + 0x1c]
mov byte [esi + 0x12], cl
mov cl, byte [eax + 6]
mov byte [esi + 0x13], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x14], cl
mov cl, byte [edx + 0x1e]
add edx, 0x20
mov byte [esi + 0x15], cl
mov cl, byte [eax + 6]
add eax, 0x10
mov byte [esi + 0x16], cl
mov ecx, edi
mov cl, byte [ecx + 6]
mov byte [esi + 0x17], cl
mov ecx, dword [esp + 8]
inc ecx
add dword [esp + 0xc], 0x10
add esi, dword [esp + 0x30]
mov dword [esp + 4], esi
cmp ecx, 4
mov dword [esp + 8], ecx
jl 0x4444b0
add esp, 0x10
pop ebx
pop esi
pop edi
ret
Function at 0x460d0b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x460d2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0046303f
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x460d4c
test byte [esp + 8], 2
je 0x460d4c
mov dword [0x47b4c8], 0xd
mov dword [0x47b4cc], 5
jmp 0x460d27
xor eax, eax
ret

Function at 0x469b35
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x47a318
cmp edx, dword [eax]
je 0x469b57
add eax, 8
inc ecx
cmp eax, 0x47a3a8
jl 0x469b48
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x47a318]
jne 0x469c85
mov eax, dword [0x47b51c]
cmp eax, 1
je 0x469c5f
test eax, eax
jne 0x469b88
cmp dword [0x477e44], 1
je 0x469c5f
cmp edx, 0xfc
je 0x469c85
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x469bbf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004630b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00466ee0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x469c02
lea eax, [ebp - 0x1a4]
push eax
call fcn.00466ee0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x472a90
push edi
call fcn.00461270
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004630b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004630c0
lea eax, [ebp - 0xa0]
push 0x472a70
push eax
call fcn.004630c0
push dword [esi + 0x47a31c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004630c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0046ca4f
add esp, 0x2c
pop edi
jmp 0x469c85
lea eax, [ebp + 8]
lea esi, [esi + 0x47a31c]
push 0
push eax
push dword [esi]
call fcn.00466ee0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x2e001992
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2e03da4c]
jne 0x2e00199c
repz ret
jmp fcn.2e027a26

Function at 0x2e010c88
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x2e028d1f
call fcn.2e001440
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call fcn.2e01e818
test ax, ax
je 0x2e010d3c
lea eax, [ebp - 0x14]
push eax
push str.softwaremicrosoftwindows_shell_associationsurlassociationshttpuserchoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e010d3c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
mov edi, str.progid
push edi
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x2e010d30
mov eax, dword [ebp - 0x18]
inc eax
push eax
call fcn.2e01e818
pop ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push ebx
push edi
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call esi
test eax, eax
jne 0x2e010d24
push dword [ebp - 0x10]
call sub.MSVCR100.dll_strlen
pop ecx
mov ecx, dword [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call fcn.2e01e818
push dword [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x1c]
mov eax, esi
call fcn.2e001489
ret

Function at 0x2e010d44
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x2e028d4a
call fcn.2e0276dc
mov eax, ecx
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov byte [ebp - 0x2d], 0
cmp dword [eax + 0x10], edi
jbe 0x2e010e1f
push eax
lea ecx, [ebp - 0x2c]
call fcn.2e01e818
push esi
mov dword [ebp - 4], edi
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.2e01e818
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x2e010d90
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x34]
push ecx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x2e010e0f
lea eax, [ebp - 0x38]
push eax
push edi
mov esi, 0x2e02b538
push esi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e010e06
mov eax, dword [ebp - 0x38]
inc eax
push eax
call fcn.2e01e818
mov edi, eax
pop ecx
mov dword [ebp - 0x3c], edi
lea eax, [ebp - 0x38]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e010dfb
push edi
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push edi
mov ecx, ebx
call fcn.2e01e818
mov byte [ebp - 0x2d], 1
push edi
mov byte [ebp - 4], 0
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.2e01e818
mov al, byte [ebp - 0x2d]
call fcn.2e02774b
ret 8
Function at 0x2e010e2a
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x2e028d77
call fcn.2e001440
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor ebx, ebx
push 0x80000001
call esi
cmp eax, ebx
je 0x2e010e62
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push 0x80000002
call esi
cmp eax, ebx
jne 0x2e010ecd
lea eax, [ebp + 8]
push eax
push ebx
mov esi, 0x2e02b538
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x2e010ec4
mov eax, dword [ebp + 8]
cmp eax, ebx
jl 0x2e010ec4
inc eax
push eax
call fcn.2e01e818
mov edi, eax
pop ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp + 8]
push eax
push edi
push ebx
push ebx
push esi
push dword [ebp - 0x10]
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e010eb9
push edi
call sub.MSVCR100.dll_strlen
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call fcn.2e01e818
mov bl, 1
or dword [ebp - 4], 0xffffffff
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.2e001489
ret 8
Function at 0x2e01e818
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x2e01e827
pop dword [ebp - 0x44]
mov eax, 0x58972e7b
add eax, 0xd56ab9ac
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xf4016de
sub dword [ebp - 0x54], 0xc0edd193
mov dword [ebp - 0x50], 0x4426eb3e
sub dword [ebp - 0x50], 0x11f39ef9
mov dword [ebp - 0x4c], 0xa4cfc0c1
sub dword [ebp - 0x4c], 0x58837c93
mov dword [ebp - 0x48], 0x2e9720c0
sub dword [ebp - 0x48], 0x2e9720c0
lea eax, [ebp - 0x54]
push eax
mov eax, 0x6ae0bcca
add eax, 0xc321f376
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x3648e8f6
add dword [ebp - 0x54], 0x3e298060
mov dword [ebp - 0x50], 0x391518d6
sub dword [ebp - 0x50], 0xf7a8b761
mov dword [ebp - 0x4c], 0xb33a468c
add dword [ebp - 0x4c], 0xb03525e0
mov dword [ebp - 0x48], 0x367bba61
add dword [ebp - 0x48], 0xc984459f
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x40ff1
push 0
call eax
mov ecx, 0x50be
mov esi, eax
mov edx, 0xeaead1e1
sub edx, 0xbce5e9e1
add edx, dword [ebp - 0x44]
mov edi, 0x66c72807
sub dword [ebp - 0x40], edx
mov ebx, dword [edx]
mov dword [ebp - 0x38], 0x52c996ad
sub ebx, edi
xor dword [ebp - 0x14], eax
mov dword [esi], ebx
add dword [ebp - 8], 0xe77c51ac
add esi, 4
add edx, 4
loop 0x2e01e938
add eax, 0x135cb
mov ebx, eax
add eax, 0x933acbaf
add eax, 0x6cc53456
mov ecx, 0x5de32bd7
add ecx, 0xd01cd429
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x1001ec1a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1001ec29
pop dword [ebp - 8]
mov eax, 0x6bce9ceb
add eax, 0xa4334f3e
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x4670e98
sub dword [ebp - 0x18], 0xb614c94d
mov dword [ebp - 0x14], 0x7124392d
add dword [ebp - 0x14], 0xc10f1318
mov dword [ebp - 0x10], 0x4c8e74a
sub dword [ebp - 0x10], 0xb87ca31c
mov dword [ebp - 0xc], 0x39c7e309
sub dword [ebp - 0xc], 0x39c7e309
lea eax, [ebp - 0x18]
push eax
mov eax, 0xbf99aa4b
sub eax, 0xaf97aa47
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x60e22de8
add dword [ebp - 0x18], 0x13903b6e
mov dword [ebp - 0x14], 0x48336900
add dword [ebp - 0x14], 0xf938f875
mov dword [ebp - 0x10], 0xb9450ac6
sub dword [ebp - 0x10], 0x55d59e5a
mov dword [ebp - 0xc], 0xd7cfc18
sub dword [ebp - 0xc], 0xd7cfc18
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3b97e
push 0
call eax
mov ecx, 0x5d4be5bb
add ecx, 0xa2b45e48
mov esi, eax
mov edi, 0x1002bc00
add edi, dword [ebp - 8]
mov edx, 0xc05bc558
sub edx, 0xb8f1909f
xor dword [ebp - 4], 0xa1813735
mov ebx, dword [edi]
sub dword [ebp - 4], ebx
xor ebx, edx
add dword [ebp - 4], 0xa9094ab3
mov dword [esi], ebx
xor dword [ebp - 4], eax
add esi, 4
add edi, 0x3a11f015
add edi, 0xc5ee0fef
loop 0x1001ed40
add eax, 0x8433512
add eax, 0xf7bdcdcd
xor ebx, ebx
add ebx, eax
add eax, 0x64c2edb0
add eax, 0x9b3d1255
mov ecx, 0x10000000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x593bca0f
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
ret 8

Function at 0x593bca29
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.vsansi.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop esi
ret 0xc

Function at 0x593bca55
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.vsansi.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x593bca60
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x593c9efe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x593c9f0d
pop dword [ebp - 0x2c]
mov eax, 0x8ae5b101
sub eax, 0x31a911f4
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x9e90b31d
add dword [ebp - 0x3c], 0xafc1922e
mov dword [ebp - 0x38], 0x65f566a0
sub dword [ebp - 0x38], 0x33c21a5b
mov dword [ebp - 0x34], 0x6fc468f
add dword [ebp - 0x34], 0x454ffd9f
mov dword [ebp - 0x30], 0xa8afdb7c
add dword [ebp - 0x30], 0x57502484
lea eax, [ebp - 0x3c]
push eax
mov eax, 0xf3530f0
sub eax, 0xb5fa208c
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x2a118213
add dword [ebp - 0x3c], 0x4a60e743
mov dword [ebp - 0x38], 0xb4f4b2c5
sub dword [ebp - 0x38], 0x73885150
mov dword [ebp - 0x34], 0xd29f816
add dword [ebp - 0x34], 0x56457456
mov dword [ebp - 0x30], 0xa2cdbb1
sub dword [ebp - 0x30], 0xa2cdbb1
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x30b6b1d7
add eax, 0x28845ea5
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x37174
push 0
call eax
mov ecx, 0x8a7f6fc5
sub ecx, 0x8a7f2eae
xor ebx, ebx
add ebx, eax
mov esi, 0x593e2000
add esi, dword [ebp - 0x2c]
mov edx, 0x6c666985
mov edi, dword [esi]
xor dword [ebp - 0x14], eax
sub edi, edx
mov dword [ebp - 8], 0x74bce178
mov dword [ebx], edi
add dword [ebp - 8], eax
add ebx, 0xeaedaf60
add ebx, 0x151250a4
add esi, 0xb801d6de
add esi, 0x47fe2926
loop 0x593ca025
add eax, 0xf72f
xor ebx, ebx
add ebx, eax
add eax, 0x80fda28e
sub eax, 0x80fda289
mov ecx, 0xefb943fe
sub ecx, 0x967e43fe
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x593d249a
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov edi, ecx
call dword [sym.imp.vsansi.dll_GetWindowTextLengthW]
mov esi, eax
lea eax, [esi + 1]
push eax
push esi
mov ecx, edi
call fcn.593d1d54
push eax
push dword [esp + 0x14]
call dword [sym.imp.vsansi.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.593d1ef0
pop edi
mov eax, esi
pop esi
ret 4

Function at 0x593d339b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push esi
mov esi, ecx
call fcn.593d3384
and byte [esi + 0xc], 0
mov eax, 0x593b0000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x1c]
push 0
push eax
mov dword [esi], 0x3c
call sub.MSVCR70.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xc], 2
jne 0x593d33f5
cmp dword [ebp - 0x18], 5
jb 0x593d340d
jmp 0x593d3409
cmp dword [ebp - 0xc], 1
jne 0x593d340d
cmp dword [ebp - 0x18], 4
ja 0x593d3409
jne 0x593d340d
cmp dword [ebp - 0x14], 0
jbe 0x593d340d
mov byte [esi + 0xc], 1
lea eax, [esi + 0x18]
push eax
mov dword [esi + 0x10], 0x700
mov dword [esi + 0x14], 0x593d5070
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
add ebp, 0x78
leave
ret
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x402b95
Capabilities:
Parse pe header

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x402ba9
mov dword [esi + 0x10], 8
xor al, al
pop esi
ret
and dword [esi + 0x10], 0
mov eax, dword [esi + 8]
push edi
test eax, eax
je 0x402c05
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402bfc
mov edi, dword [eax + 0x3c]
add edi, eax
cmp dword [edi], 0x4550
jne 0x402bf3
movzx eax, word [edi + 4]
mov ecx, 0x14c
cmp ax, cx
je 0x402be4
mov ecx, 0x8664
cmp ax, cx
jne 0x402bf3
push dword [edi + 0x58]
mov ecx, esi
call main
mov dword [edi + 0x58], eax
jmp 0x402c0c
mov dword [esi + 0x10], 7
jmp 0x402c0c
mov dword [esi + 0x10], 6
jmp 0x402c0c
mov dword [esi + 0x10], 1
xor eax, eax
cmp dword [esi + 0x10], eax
pop edi
sete al
pop esi
ret

Function at 0x402d01
Capabilities:
Parse pe header

Disassembly:
and dword [ecx + 0x10], 0
mov edx, dword [ecx + 8]
push esi
test edx, edx
je 0x402d57
mov eax, 0x5a4d
cmp word [edx], ax
jne 0x402d4e
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x402d45
movzx edx, word [eax + 4]
mov esi, 0x14c
cmp dx, si
jne 0x402d3b
and dword [ecx + 0x10], 0
mov eax, dword [eax + 0x58]
pop esi
ret
mov esi, 0x8664
cmp dx, si
je 0x402d32
mov dword [ecx + 0x10], 7
jmp 0x402d5e
mov dword [ecx + 0x10], 6
jmp 0x402d5e
mov dword [ecx + 0x10], 1
xor eax, eax
pop esi
ret

Function at 0x405633
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x405642
pop dword [ebp - 0x48]
mov eax, 0x962cfaec
add eax, 0x6a135b56
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x3517ce62
add dword [ebp - 0x58], 0x193a76e9
mov dword [ebp - 0x54], 0x76256be5
add dword [ebp - 0x54], 0xbc0de060
mov dword [ebp - 0x50], 0x72179c8e
sub dword [ebp - 0x50], 0x25cb5860
mov dword [ebp - 0x4c], 0x7d6550e9
sub dword [ebp - 0x4c], 0x7d6550e9
lea eax, [ebp - 0x58]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x8d91fef4
sub dword [ebp - 0x58], 0x191f959e
mov dword [ebp - 0x54], 0xec11ae31
add dword [ebp - 0x54], 0x555ab344
mov dword [ebp - 0x50], 0x1fd931cf
add dword [ebp - 0x50], 0x43963a9d
mov dword [ebp - 0x4c], 0xe69a37f7
sub dword [ebp - 0x4c], 0xe69a37f7
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x5d5f91a3
sub eax, 0x5d1cf14b
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3ec62
push 0
call eax
mov ecx, 0xe7a2a6d7
add ecx, 0x185d9bda
xor edx, edx
add edx, eax
mov edi, 0x54ac00
add edi, dword [ebp - 0x48]
mov esi, 0x511071dd
add dword [ebp - 4], edi
mov ebx, dword [edi]
add dword [ebp - 0x30], esi
xor ebx, esi
xor dword [ebp - 8], esi
mov dword [edx], ebx
add edx, 0x2a98de29
sub edx, 0x2a98de25
add edi, 0xa4d14a81
add edi, 0x5b2eb583
loop 0x405755
add eax, 0x1ca6844c
add eax, 0xe35a794b
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x401100
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5a02e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0xc]
jae 0x40112a
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005268a0
mov esp, ebp
pop ebp
ret 4
push ebx
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
push esi
test eax, eax
jns 0x40113c
fadd qword [0x57c618]
fmul qword [0x57c610]
sub esp, 8
fstp qword [esp]
call fcn.00526c40
fnstcw word [ebp - 0x16]
add esp, 8
movzx eax, word [ebp - 0x16]
or eax, 0xc00
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push eax
fldcw word [ebp - 0x1c]
push 0x57b554
mov dword [ebp - 0x14], 0x74726956
mov dword [ebp - 0x10], 0x416c6175
mov dword [ebp - 0xc], 0x636f6c6c
mov byte [ebp - 8], 0
fistp qword [ebp - 0x20]
mov esi, dword [ebp - 0x20]
shl esi, 0xa
fldcw word [ebp - 0x16]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 4
push 0x1000
push esi
push 0
call eax
mov ecx, eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], ecx
test eax, eax
jne 0x4011b9
xor ebx, ebx
jmp 0x4011be
mov ebx, dword [edi + 8]
sub ebx, eax
push ebx
push eax
push ecx
call fcn.00529d10
mov eax, dword [edi + 4]
add esp, 0xc
test eax, eax
je 0x4011de
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
add ebx, eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], esi
mov eax, esi
pop esi
mov dword [edi + 8], ebx
xor ecx, ebp
pop ebx
call fcn.005268a0
mov esp, ebp
pop ebp
ret 4
Function at 0x401200
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x5a02e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x401230
mov eax, dword [esi + 8]
sub eax, ecx
cmp edx, eax
jae 0x401230
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005268a0
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x28], edx
fild dword [ebp - 0x28]
push ebx
test edx, edx
jns 0x401241
fadd qword [0x57c618]
fmul qword [0x57c610]
sub esp, 8
fstp qword [esp]
call fcn.00526c40
fnstcw word [ebp - 0x22]
add esp, 8
movzx eax, word [ebp - 0x22]
or eax, 0xc00
mov dword [ebp - 0x28], eax
fldcw word [ebp - 0x28]
fistp qword [ebp - 0x2c]
mov ebx, dword [ebp - 0x2c]
shl ebx, 0xa
fldcw word [ebp - 0x22]
cmp ebx, dword [esi + 0xc]
jae 0x401289
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005268a0
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x20]
push eax
push 0x57b554
mov dword [ebp - 0x20], 0x74726956
mov dword [ebp - 0x1c], 0x416c6175
mov dword [ebp - 0x18], 0x636f6c6c
mov byte [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 4
push 0x1000
push ebx
push 0
call eax
mov edi, eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x4012d3
mov dword [ebp - 0x24], eax
jmp 0x4012db
mov ecx, dword [esi + 8]
sub ecx, eax
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
push ecx
push eax
push edi
call fcn.00529d10
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x57b554
mov dword [ebp - 0x10], 0x74726956
mov dword [ebp - 0xc], 0x466c6175
mov dword [ebp - 8], 0x656572
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [esi + 4]
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 0x24]
add ecx, edi
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 4]
mov dword [esi + 4], edi
pop edi
mov dword [esi + 0xc], ebx
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005268a0
mov esp, ebp
pop ebp
ret