joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e083
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.004094ef
mov dword [ebp - 0x14], eax
cmp dword [0x45485c], esi
jne 0x40e176
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40e103
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40e256
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40e256
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40e256
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x45485c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x454860], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x454864], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x45486c], eax
test eax, eax
je 0x40e173
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x454868], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40e19b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e18e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40e1b0
push 4
pop eax
jmp 0x40e258
cmp dword [ebp - 0x14], esi
je 0x40e1b0
push dword [0x45485c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40e195
mov eax, dword [0x454868]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40e20e
cmp dword [0x45486c], edi
je 0x40e20e
push eax
call ebx
push dword [0x45486c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40e20e
test eax, eax
je 0x40e20e
call ecx
test eax, eax
je 0x40e203
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40e203
test byte [ebp - 8], 1
jne 0x40e20e
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40e23e
mov eax, dword [0x454860]
cmp eax, edi
je 0x40e23b
push eax
call ebx
test eax, eax
je 0x40e23b
call eax
mov esi, eax
test esi, esi
je 0x40e23b
mov eax, dword [0x454864]
cmp eax, edi
je 0x40e23b
push eax
call ebx
test eax, eax
je 0x40e23b
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x45485c]
call ebx
test eax, eax
je 0x40e256
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40e258
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004040ec
mov esp, ebp
pop ebp
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 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x4086ca
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4086d9
pop dword [ebp - 0x14]
mov eax, 0x8e63b613
sub eax, 0x8e232f3a
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x65e3d5e4
sub dword [ebp - 0x24], 0x17919099
mov dword [ebp - 0x20], 0xb22766e4
add dword [ebp - 0x20], 0x800be561
mov dword [ebp - 0x1c], 0x2f52d421
add dword [ebp - 0x1c], 0x1cf9700d
mov dword [ebp - 0x18], 0x9accd465
add dword [ebp - 0x18], 0x65332b9b
lea eax, [ebp - 0x24]
push eax
mov eax, 0x20abc8e6
add eax, 0xdf95076e
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xea1577fe
sub dword [ebp - 0x24], 0x75a30ea8
mov dword [ebp - 0x20], 0xb94b0627
add dword [ebp - 0x20], 0x88215b4e
mov dword [ebp - 0x1c], 0x7c11011b
add dword [ebp - 0x1c], 0xe75e6b51
mov dword [ebp - 0x18], 0x584e1ab9
sub dword [ebp - 0x18], 0x584e1ab9
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3c5b1
push 0
call eax
mov ecx, 0x337ea0b5
sub ecx, 0x337e4d5d
mov edi, eax
mov edx, 0xfe3e0db8
sub edx, 0xfdfc5db8
add edx, dword [ebp - 0x14]
mov esi, 0xd6662e3
sub esi, 0xc5b11b58
sub dword [ebp - 0x10], eax
mov ebx, dword [edx]
xor ebx, esi
add dword [ebp - 0xc], 0x84856284
mov dword [edi], ebx
add dword [ebp - 0xc], 0x4d68a9a5
add edi, 4
add edx, 0x19d9ee61
add edx, 0xe62611a3
loop 0x4087f6
add eax, 0x14033
mov ebx, eax
add eax, 5
mov ecx, 0x9902d827
sub ecx, 0x98c2d827
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x40110c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x815030]
jne 0x401116
repz ret
jmp fcn.00401d41

Function at 0x40a6cc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406ace
and dword [ebp - 4], 0
cmp dword [0x817894], 0
mov ebx, eax
jne 0x40a77d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a82e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40a82e
push eax
call fcn.00406a5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x817894], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x817898], eax
call esi
push eax
call fcn.00406a5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x81789c], eax
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x8178a4], eax
test eax, eax
je 0x40a77d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00406a5c
pop ecx
mov dword [0x8178a0], eax
mov eax, dword [0x8178a0]
cmp eax, ebx
je 0x40a7d5
cmp dword [0x8178a4], ebx
je 0x40a7d5
push eax
call fcn.00406ad7
push dword [0x8178a4]
mov esi, eax
call fcn.00406ad7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a7d5
test edi, edi
je 0x40a7d5
call esi
test eax, eax
je 0x40a7cc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a7cc
test byte [ebp - 0xc], 1
jne 0x40a7d5
or dword [ebp + 0x10], 0x200000
jmp 0x40a80e
mov eax, dword [0x817898]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a80e
mov eax, dword [0x81789c]
cmp eax, ebx
je 0x40a80e
push eax
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a80e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x817894]
call fcn.00406ad7
pop ecx
test eax, eax
je 0x40a82e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a830
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40ce70
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x815030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x2ed02d4]
push ebx
mov ebx, dword [0x2ecfff4]
push esi
mov esi, dword [0x816060]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40ceb1
push str.tiyayejetupoxasowujozizoc
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x2ed02d4]
mov dword [0x2ecfff0], esi
cmp eax, 0x114e
jne 0x40ced6
call dword [sym.imp.KERNEL32.dll_SetFileApisToOEM]
lea eax, [esp + 0x14]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [0x2ed02d4]
cmp eax, 0x2f
jne 0x40cf04
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push edi
push ebx
call fcn.0040cd40
mov ecx, dword [esp + 0x438]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x401443
pop dword [ebp - 0x10]
mov eax, 0x3f9c9611
add eax, 0xc0a37e32
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x7cd4b07a
add dword [ebp - 0x20], 0xd17d94d1
mov dword [ebp - 0x1c], 0x36ab6d19
sub dword [ebp - 0x1c], 0x47820d4
mov dword [ebp - 0x18], 0x2dc10a53
add dword [ebp - 0x18], 0x1e8b39db
mov dword [ebp - 0x14], 0xd2622291
sub dword [ebp - 0x14], 0xd2622291
lea eax, [ebp - 0x20]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xb79c451d
add dword [ebp - 0x20], 0xbcd62439
mov dword [ebp - 0x1c], 0x349fb4fb
add dword [ebp - 0x1c], 0xcccac7a
mov dword [ebp - 0x18], 0xd60c50a9
add dword [ebp - 0x18], 0x8d631bc3
mov dword [ebp - 0x14], 0x38368505
sub dword [ebp - 0x14], 0x38368505
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x365cd
push 0
call eax
mov ecx, 0x3f9d4ebf
sub ecx, 0x3f9d0dad
mov edx, eax
mov ebx, 0x436000
add ebx, dword [ebp - 0x10]
mov edi, 0x196ce7e8
xor dword [ebp - 4], esi
mov esi, dword [ebx]
xor dword [ebp - 8], ecx
xor esi, edi
mov dword [ebp - 8], 0xadbd2967
mov dword [edx], esi
mov dword [ebp - 0xc], 0xed46df7f
add edx, 0xae6ac068
sub edx, 0xae6ac064
add ebx, 0x19228b1b
sub ebx, 0x19228b17
loop 0x40154f
add eax, 0x34c3ec72
add eax, 0xcb3d0aa9
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret

Function at 0x402a69
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x424010]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402afd
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x402aba
cmp dword [ebp + 0x10], ebx
jne 0x402af1
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402acc
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402aa1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
call fcn.004060b1
cmp eax, ebx
je 0x402b04
push ebx
push dword [0x424010]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402afd
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x424010], ebx
jne 0x402afa
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402afa
jmp 0x402afd
Function at 0x406120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422af4], 0
push esi
jne 0x406157
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406131
mov dword [ecx*4 + 0x422af0], eax
inc ecx
cmp ecx, 0x100
jl 0x40612c
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406188
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422af0]
xor eax, esi
inc ecx
dec edx
jne 0x40616a
pop edi
not eax
pop esi
ret 0xc

Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401029
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401021
cmp al, 0x22
jne 0x401015
cmp byte [esi], 0x22
jne 0x401033
inc esi
jmp 0x401033
cmp al, 0x20
jle 0x401033
inc esi
cmp byte [esi], 0x20
jg 0x40102d
mov al, byte [esi]
test al, al
je 0x40103d
cmp al, 0x20
jle 0x401026
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004018d4
push 0x404004
push section..data
call fcn.004018ba
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40106d
movzx eax, word [ebp - 0x14]
jmp 0x401070
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00401123
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x401b31
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401b70
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401b70
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401b70
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401b70
cmp dword [ecx + 0x74], 0xe
jbe 0x401b70
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4076a8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x407745
push ebx
push esi
call fcn.00407671
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004075ba
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4076f2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407744
push edi
push eax
call fcn.00405873
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x407712
call fcn.00405839
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x407743
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004075ba
add esp, 0x20
test eax, eax
jne 0x407731
push edi
call fcn.00405839
jmp 0x407739
push ebx
call fcn.00405839
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4079b0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423830
push 0x423828
push str.FlsAlloc
push 0x1e
call fcn.004078ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4079e4
push dword [ebp + 8]
mov ecx, esi
call dword [0x42247c]
call esi
jmp 0x4079ea
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x407a2e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x423840
push 0x423838
push str.FlsGetValue
push 0x20
call fcn.004078ce
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407a65
push dword [ebp + 8]
mov ecx, esi
call dword [0x42247c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40d430
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d45d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d45d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x412949
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
or ebx, 0xffffffff
push edi
mov edi, ecx
cmp esi, 8
jb 0x4129f1
mov eax, esi
shr eax, 3
mov dword [ebp - 4], eax
movzx edx, byte [edi + 2]
mov eax, ebx
movzx ecx, byte [edi + 1]
sub esi, 8
shr eax, 0x10
movzx eax, al
xor edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, ebx
mov edx, dword [edx*4 + 0x4285d0]
shr eax, 0x18
xor edx, dword [ecx*4 + 0x427070]
movzx ecx, byte [edi + 3]
xor ecx, eax
movzx eax, byte [edi]
xor edx, dword [ecx*4 + 0x427dd0]
movzx ecx, bl
xor ecx, eax
movzx eax, byte [edi + 7]
xor edx, dword [ecx*4 + 0x427950]
xor edx, dword [eax*4 + 0x428aa0]
movzx eax, byte [edi + 6]
xor edx, dword [eax*4 + 0x427490]
movzx eax, byte [edi + 5]
xor edx, dword [eax*4 + 0x428ec0]
movzx eax, byte [edi + 4]
add edi, 8
xor edx, dword [eax*4 + 0x4281d0]
sub dword [ebp - 4], 1
mov ebx, edx
jne 0x412968
test esi, esi
je 0x412a0d
movzx eax, byte [edi]
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x428aa0]
inc edi
sub esi, 1
jne 0x4129f5
pop edi
not ebx
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x43cd71
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x43cd9f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43cdbd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0043ccdb
jmp 0x43cdbd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x43cdbd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0043ccdb
test edi, edi
mov eax, edi
jne 0x43cda7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x566af4]
test ecx, ecx
je 0x43ce70
jmp 0x43cd70
ret 8

Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.00401981
lea eax, [ebp - 0x404]
push eax
call fcn.00401981
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53
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 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x16044bad
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4e3506b
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219

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 0x403460
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
nop
lea eax, [ebp - 4]
push eax
mov eax, 0x40
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_VirtualProtect
leave
ret
Function at 0x40503a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
nop
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, 4
mov edx, dword [eax]
mov eax, dword [ecx]
cmp edx, eax
jb 0x4050f9
mov eax, dword [ebp + 8]
add eax, 8
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4050ad
mov eax, 0x2000
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 8
mov ecx, dword [ebp + 8]
add ecx, 0x61d
mov edx, dword [ebp - 4]
push edx
push ecx
mov ecx, dword [eax]
push ecx
call sub.msvcrt.dll__read
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0
jge 0x4050a8
mov eax, 0
mov dword [ebp - 4], eax
jmp 0x4050b5
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [0x42fb14]
mov ecx, dword [ebp - 4]
add eax, ecx
mov dword [0x42fb14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, 0x61d
mov dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, 4
mov ecx, dword [ebp + 8]
add ecx, 0x61d
mov edx, dword [ebp - 4]
add ecx, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
add eax, 4
mov ecx, dword [eax]
mov eax, 0x5c
mov byte [ecx], al
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, 4
mov edx, dword [eax]
mov eax, dword [ecx]
cmp edx, eax
jae 0x405120
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx eax, byte [ecx]
jmp 0x405137
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, 4
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, 0xffffffff
jmp 0x405137
leave
ret