joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403580
Capabilities:
Create pipe
Create process on windows
Get thread local storage value
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x180c
call fcn.004100a0
mov eax, dword [0x45a9f4]
mov ecx, dword [0x45a484]
push ebx
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x403697
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov esi, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x45a9f4], 0x959
jne 0x403680
push 0
lea eax, [ebp - 0xc08]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
push 0
call ebx
push 0
lea ecx, [ebp - 0x408]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileShortNameW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea edx, [ebp - 0x1808]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0
push 0
push 0
push 0
push 0
push 0
call esi
push 0
lea eax, [ebp - 0x1008]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [ebp - 4]
push ecx
call fcn.004032c0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4035be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40542b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44b168]
jne 0x405435
repz ret
jmp fcn.0040a8bc

Function at 0x40ae4e
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.00409559
and dword [ebp - 4], 0
cmp dword [0x4519b4], 0
mov ebx, eax
jne 0x40aeff
push 0x401ad8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40afb0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401acc
push edi
call esi
test eax, eax
je 0x40afb0
push eax
call fcn.004094e7
mov dword [esp], 0x401abc
push edi
mov dword [0x4519b4], eax
call esi
push eax
call fcn.004094e7
mov dword [esp], 0x401aa8
push edi
mov dword [0x4519b8], eax
call esi
push eax
call fcn.004094e7
mov dword [esp], 0x401a8c
push edi
mov dword [0x4519bc], eax
call esi
push eax
call fcn.004094e7
pop ecx
mov dword [0x4519c4], eax
test eax, eax
je 0x40aeff
push 0x401a74
push edi
call esi
push eax
call fcn.004094e7
pop ecx
mov dword [0x4519c0], eax
mov eax, dword [0x4519c0]
cmp eax, ebx
je 0x40af57
cmp dword [0x4519c4], ebx
je 0x40af57
push eax
call fcn.00409562
push dword [0x4519c4]
mov esi, eax
call fcn.00409562
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40af57
test edi, edi
je 0x40af57
call esi
test eax, eax
je 0x40af4e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40af4e
test byte [ebp - 0xc], 1
jne 0x40af57
or dword [ebp + 0x10], 0x200000
jmp 0x40af90
mov eax, dword [0x4519b8]
cmp eax, ebx
je 0x40af90
push eax
call fcn.00409562
pop ecx
test eax, eax
je 0x40af90
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40af90
mov eax, dword [0x4519bc]
cmp eax, ebx
je 0x40af90
push eax
call fcn.00409562
pop ecx
test eax, eax
je 0x40af90
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4519b4]
call fcn.00409562
pop ecx
test eax, eax
je 0x40afb0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40afb2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40625c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x406281
mov eax, dword [0x40a880]
cmp eax, 0xffffffff
je 0x406278
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [0x40a880], 0xffffffff
jmp 0x4062f4
cmp dword [0x440a20], ebx
je 0x4062f4
cmp byte [0x440620], bl
je 0x4062c0
cmp dword [0x40a880], 0xffffffff
jne 0x4062c9
push 4
push 0x40000000
push 0x440620
call fcn.00405c10
cmp eax, 0xffffffff
mov dword [0x40a880], eax
je 0x4062f4
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [0x40a880], 0xffffffff
je 0x4062f4
push esi
mov esi, 0x444a40
push 0x40aac8
push esi
call fcn.00405f5e
lea eax, [ebp + 8]
push ebx
push eax
push esi
call fcn.00405f51
push eax
push esi
push dword [0x40a880]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
pop ebx
pop ebp
ret 4

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

Disassembly:
push esi
xor esi, esi
cmp dword [0x44021c], esi
push edi
jne 0x4064e0
mov ecx, 0x440218
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x4064bc
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x440618
jl 0x4064b7
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x406515
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x440218]
xor eax, esi
inc ecx
dec edx
jne 0x4064f8
pop edi
pop esi
not eax
ret 0xc

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

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x46d34a55
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x254d61fb
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4540f1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x7f94a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [fcn.00447aae]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00452e63
mov dword [ebp - 0x14], eax
cmp dword [0x80a000], edi
jne 0x4541e2
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x45416f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4542c2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4542c2
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4542c2
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x80a000], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x80a004], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x80a008], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x80a010], eax
test eax, eax
je 0x4541df
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x80a00c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x454207
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4541fa
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x45421c
push 4
pop eax
jmp 0x4542c4
cmp dword [ebp - 0x14], edi
je 0x45421c
push dword [0x80a000]
call dword [fcn.00447ab2]
push 3
jmp 0x454201
mov eax, dword [0x80a00c]
mov ebx, dword [fcn.00447ab2]
cmp eax, esi
je 0x45427a
cmp dword [0x80a010], esi
je 0x45427a
push eax
call ebx
push dword [0x80a010]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x45427a
test eax, eax
je 0x45427a
call ecx
test eax, eax
je 0x45426f
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 0x45426f
test byte [ebp - 8], 1
jne 0x45427a
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x4542aa
mov eax, dword [0x80a004]
cmp eax, esi
je 0x4542a7
push eax
call ebx
test eax, eax
je 0x4542a7
call eax
mov edi, eax
test edi, edi
je 0x4542a7
mov eax, dword [0x80a008]
cmp eax, esi
je 0x4542a7
push eax
call ebx
test eax, eax
je 0x4542a7
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x80a000]
call ebx
test eax, eax
je 0x4542c2
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4542c4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044f130
leave
ret
Function at 0x460dc0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov ecx, 0x808598
call fcn.00410d90
cmp eax, 0
je 0x460e3d
mov ecx, 0x808598
call fcn.00478a60
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.00410ad0
sub esp, 4
mov ecx, 0x808598
mov dword [esp + 0xc], eax
call fcn.00478a90
lea ecx, [esp + 0x18]
call fcn.0052df00
mov ecx, 3
mov ecx, esp
call fcn.00460f90
mov eax, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call eax
sub esp, 4
mov dword [esp + 8], eax
lea ecx, [esp + 0x18]
call fcn.00506f10
jmp 0x460dcf
mov al, 1
mov ecx, 0
mov edx, dword [0x80a094]
call fcn.00460fa0
sub ecx, 0x72d9daa8
sub ecx, 1
add ecx, 0x72d9daa8
mov edi, edx
sub edi, 0xeb53d8cd
add edi, ecx
sub edi, 0x14ac2733
imul edx, edi
and edx, 1
push eax
mov eax, 0x7e74f6ce
xor eax, 0x7e74f6ce
cmp edx, eax
pop eax
sete ah
cmp esi, 0xa
setl bl
mov bh, bl
xor bh, 1
mov cl, ah
xor cl, bh
and cl, ah
mov bh, ah
xor bh, 1
and bh, 1
xor al, 1
and ah, al
mov ch, bl
xor ch, 1
and ch, 1
and bl, al
or bh, ah
or ch, bl
xor bh, ch
mov al, cl
and al, bh
xor cl, bh
or al, cl
test al, 1
jne 0x460ed1
jmp 0x460f85
mov al, 1
mov ecx, 0
mov edx, dword [0x80a094]
mov esi, dword [0x80a090]
mov edi, ecx
add edi, 0xbf747599
sub edi, 1
add edi, 0x408b8a67
mov ebx, ecx
sub ebx, edx
mov byte [esp + 7], al
mov eax, ecx
sub eax, edi
add ebx, eax
sub ecx, ebx
imul edx, ecx
and edx, 1
push ecx
mov ecx, 0x6e585167
xor ecx, 0x6e585167
cmp edx, ecx
pop ecx
sete al
cmp esi, 0xa
setl ah
mov cl, al
xor cl, 1
mov ch, ah
xor ch, 1
mov dl, byte [esp + 7]
xor dl, 1
or cl, ch
or dl, 1
xor cl, 1
and cl, dl
mov dl, al
xor dl, 1
and dl, 0
mov ch, byte [esp + 7]
xor ch, 0
and al, ch
mov dh, ah
xor dh, 1
and dh, 0
and ah, ch
or dl, al
or dh, ah
xor dl, dh
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x460f7d
jmp 0x460f85
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x460ed1
Function at 0x4ac790
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], 0xf7f733c0
mov dword [esp + 0x34], 0x1000193
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0xf7f733c0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0x129394af
mov eax, dword [esp + 0x20]
mov ecx, eax
add ecx, 0xa5a2243f
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
jg 0x4ac842
jmp 0x4ac7fa
mov eax, dword [esp + 0x1c]
sub eax, 0x82ba184d
mov dword [esp + 0x14], eax
je 0x4ac8de
jmp 0x4ac812
mov eax, dword [esp + 0x1c]
sub eax, 0xc6caaf68
mov dword [esp + 0x10], eax
je 0x4ac87d
jmp 0x4ac82a
mov eax, dword [esp + 0x1c]
sub eax, 0x129394af
mov dword [esp + 0xc], eax
je 0x4ac85f
jmp 0x4ac85a
mov eax, dword [esp + 0x1c]
sub eax, 0x5a5ddbc2
mov dword [esp + 8], eax
je 0x4ac8f8
jmp 0x4ac85a
jmp 0x4ac902
mov eax, 0x5a5ddbc2
mov ecx, 0xc6caaf68
cmp dword [esp + 0x40], 0
cmovne eax, ecx
mov dword [esp + 0x20], eax
jmp 0x4ac902
mov eax, dword [esp + 0x24]
mov ecx, 0x447d38
mov ecx, eax
inc ecx
mov dword [esp + 0x24], ecx
movzx eax, byte [eax]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
xor ecx, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
mov eax, 0x1000193
mov dword [esp + 4], eax
mov eax, ecx
mov ecx, dword [esp + 4]
mov dword [esp], edx
mul ecx
mov ecx, dword [esp]
imul esi, ecx, 0x1000193
add edx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0x82ba184d
jmp 0x4ac902
mov eax, dword [esp + 0x40]
add eax, 0xffffffff
mov dword [esp + 0x40], eax
mov dword [esp + 0x20], 0x129394af
jmp 0x4ac902
mov eax, dword [esp + 0x28]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
jmp 0x4ac7db
Function at 0x512550
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov edx, 0
mov esi, edx
add esi, 0x18
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
call fcn.00512780
mov ecx, dword [eax + 0x10]
mov edi, edx
sub edi, esi
sub ecx, edi
mov edi, dword [eax + 0x10]
movzx edi, word [edi + 0x14]
sub ecx, 0x10f36dd3
add ecx, edi
sub ecx, 0xef0c922d
mov edi, dword [eax + 0x10]
movzx edi, word [edi + 6]
imul edi, edi, 0x28
add ecx, edi
mov ecx, dword [ecx - 0x1c]
call fcn.00512790
add edi, 0x9d17c98b
add edi, esi
sub edi, 0x9d17c98b
mov esi, dword [eax + 0x10]
movzx esi, word [esi + 0x14]
sub edx, esi
sub edi, edx
mov eax, dword [eax + 0x10]
movzx eax, word [eax + 6]
imul eax, eax, 0x28
add edi, eax
call fcn.005127a0
add ecx, 0x254edb08
add ecx, eax
add ecx, 0xdab124f8
call fcn.005127b0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
call fcn.005127c0
mov dword [ebp - 0x2c], 0x160fe1ac
mov eax, dword [ebp - 0x2c]
mov ecx, eax
sub ecx, 0x5f5c24bc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jg 0x5126c6
jmp 0x512620
mov eax, dword [ebp - 0x30]
add eax, 0xcbd12111
call fcn.005127d0
jg 0x5126b0
jmp 0x512639
mov eax, dword [ebp - 0x30]
add eax, 0x39842bbc
mov dword [ebp - 0x3c], eax
jg 0x512669
jmp 0x512650
call fcn.005127e0
add eax, 0x52627bc0
mov dword [ebp - 0x40], eax
je 0x51274f
jmp 0x5126e0
mov eax, dword [ebp - 0x30]
sub eax, 0xc67bd445
call fcn.005127f0
je 0x512741
jmp 0x512681
mov eax, dword [ebp - 0x30]
sub eax, 0x2f47efe
call fcn.00512800
je 0x512712
jmp 0x512699
mov eax, dword [ebp - 0x30]
add eax, 0xe9f01e54
mov dword [ebp - 0x4c], eax
je 0x5126e5
jmp 0x5126e0
mov eax, dword [ebp - 0x30]
sub eax, 0x342edef0
mov dword [ebp - 0x50], eax
je 0x51275f
jmp 0x5126e0
call fcn.00512810
sub eax, 0x5f5c24bd
call fcn.00512820
je 0x512702
jmp 0x5126e0
jmp 0x51276d
mov eax, 0x2f47efe
mov ecx, 0x5f5c24bd
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
cmp edx, esi
cmovb eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x51276d
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x2c], 0x342edef0
jmp 0x51276d
mov eax, 0xad9d8440
mov ecx, 0x5e90a0
mov ecx, dword [ecx]
mov edx, 0x5e9084
mov edx, dword [edx]
mov esi, dword [ebp - 0x1c]
call fcn.00512830
mov ebx, dword [ebp - 0x28]
sub edx, ebx
sub edi, edx
cmp esi, edi
cmovae eax, ecx
mov dword [ebp - 0x2c], eax
jmp 0x51276d
mov byte [ebp - 0x15], 0
call fcn.00512840
jmp 0x51276d
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x2c], 0x342edef0
jmp 0x51276d
movzx eax, byte [ebp - 0x15]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret 4
jmp 0x512604
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
je 0x432072
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x43cf05a8
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x14b401ff
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x433001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x401706
Capabilities:
Parse pe header

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

Function at 0x4081d0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41d460
push 0x41d458
push str.FlsAlloc
push 0x1e
call fcn.004080ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408204
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c104]
call esi
jmp 0x40820a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40824e
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41d470
push 0x41d468
push str.FlsGetValue
push 0x20
call fcn.004080ee
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408285
push dword [ebp + 8]
mov ecx, esi
call dword [0x41c104]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x4098d5
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 0x409972
push ebx
push esi
call fcn.0040989e
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.004097e7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40991f
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x409971
push edi
push eax
call fcn.004075dc
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40993f
call fcn.004075a2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x409970
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004097e7
add esp, 0x20
test eax, eax
jne 0x40995e
push edi
call fcn.004075a2
jmp 0x409966
push ebx
call fcn.004075a2
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 0x40f430
Capabilities:
Parse pe header

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

Function at 0x40f87c
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, edx
mov dword [esp + 8], ecx
push 3
pop ecx
xor edx, edx
lea eax, [esi + 2]
div ecx
mov ebx, eax
shl ebx, 2
lea ecx, [ebx + 0xa]
push ecx
call fcn.0040570b
pop ecx
mov ecx, eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x40f97a
test esi, esi
je 0x40f96a
mov eax, dword [esp + 8]
xor edx, edx
push ebp
push edi
push 3
lea edi, [eax + 2]
not eax
mov dword [esp + 0x14], eax
lea ebp, [ecx + 2]
pop ecx
lea eax, [esi - 1]
div ecx
push 2
inc eax
mov dword [esp + 0x18], eax
pop edx
mov eax, dword [esp + 0x10]
movzx ecx, byte [edi - 2]
add eax, edi
shl ecx, 0x10
cmp eax, esi
jae 0x40f8f4
movzx eax, byte [edi - 1]
shl eax, 8
add ecx, eax
cmp edx, esi
jae 0x40f8fd
movzx eax, byte [edi]
add ecx, eax
mov eax, ecx
shr eax, 0x12
mov al, byte [eax + 0x420ed0]
mov byte [ebp - 2], al
mov eax, ecx
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + 0x420ed0]
mov byte [ebp - 1], al
mov eax, dword [esp + 0x10]
add eax, edi
cmp eax, esi
jae 0x40f936
mov eax, ecx
shr eax, 6
and eax, 0x3f
mov al, byte [eax + 0x420ed0]
jmp 0x40f938
mov al, 0x3d
mov byte [ebp], al
cmp edx, esi
jae 0x40f94a
and ecx, 0x3f
mov al, byte [ecx + 0x420ed0]
jmp 0x40f94c
mov al, 0x3d
mov byte [ebp + 1], al
add ebp, 4
push 3
pop eax
add edi, eax
add edx, eax
sub dword [esp + 0x14], 1
jne 0x40f8da
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
mov eax, dword [esp + 0x1c]
mov byte [ecx + ebx], 0
test eax, eax
je 0x40f978
mov dword [eax], ebx
mov eax, ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x41238f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1dc
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0xc], 0xa7a7a7a7
xor ecx, ecx
mov dword [ebp - 8], 0xf39393f3
push edi
mov word [ebp - 4], 0xbaba
mov edx, ecx
mov al, byte [ebp + edx - 0xc]
xor al, 0xde
movzx eax, al
mov word [ebp + edx*2 - 0x38], ax
inc edx
cmp edx, 0xa
jl 0x4123b5
xor eax, eax
mov dword [ebp - 0xc], 0xdecbecec
mov word [ebp - 0x24], ax
mov edx, ecx
mov dword [ebp - 8], 0xcb1111cb
mov dword [ebp - 4], 0x1717cbde
movzx eax, byte [ebp + edx - 0xc]
mov edi, 0xff
add ax, 0x5c
and ax, di
mov word [ebp + edx*2 - 0x54], ax
inc edx
cmp edx, 0xc
jl 0x4123e6
xor eax, eax
mov dword [ebp - 8], 0x88dbc48d
mov word [ebp - 0x3c], ax
mov word [ebp - 4], 0xc48d
mov byte [ebp - 2], 0xdb
mov al, byte [ebp + ecx - 8]
xor al, 0xa8
movzx eax, al
mov word [ebp + ecx*2 - 0x20], ax
inc ecx
cmp ecx, 7
jl 0x412419
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x12], ax
mov edx, 0xc795299
lea eax, [ebp - 0x10]
inc ecx
push eax
call fcn.00412ca7
call eax
push 0x80
lea eax, [ebp - 0x1d8]
mov ebx, 0x40000000
push eax
lea eax, [ebp - 0x38]
xor ecx, ecx
push eax
lea eax, [ebp - 0x10]
mov edi, 0x409
push eax
push ebx
push edi
mov edx, 0x9bdb4a77
inc ecx
call fcn.00412ca7
call eax
push 0x40
lea eax, [ebp - 0xd8]
xor ecx, ecx
push eax
lea eax, [ebp - 0x54]
mov edx, 0xacbc4a77
push eax
lea eax, [ebp - 0x10]
inc ecx
push eax
push ebx
push edi
call fcn.00412ca7
call eax
lea eax, [ebp - 0xd8]
mov edx, 0xe3740fb6
push eax
lea eax, [ebp - 0x1d8]
xor ecx, ecx
push eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push esi
call fcn.00412ca7
call eax
add esp, 0x14
pop edi
pop esi
pop ebx
leave
ret