joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44cfd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x463b20]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push 0x451900
lea ecx, [esp + 0x14]
xor ebx, ebx
push 0x467970
push ecx
mov dword [esp + 0x3c], ebx
call fcn.004348bf
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.00434763
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00434676
lea ecx, [esp + 0x14]
call fcn.00439c28
mov edx, dword [esp + 0xc]
push ebx
push 0x1001
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.00439c9d
test eax, eax
je 0x4104c7
mov eax, dword [0x463b20]
mov dword [esp + 8], eax
mov eax, dword [esi]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x34], 3
call fcn.004347b3
lea ecx, [esp + 8]
push ecx
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov edx, dword [esp + 8]
lea ecx, [esp + 0x14]
push edx
call fcn.00439e10
mov eax, dword [esi + 4]
lea ecx, [esp + 8]
push eax
call fcn.004347b3
lea eax, [esp + 8]
push eax
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00439e10
mov eax, dword [esi + 8]
lea ecx, [esp + 8]
push eax
call fcn.004347b3
lea edx, [esp + 8]
push edx
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push eax
call fcn.00439e10
mov eax, dword [esi + 0xc]
lea ecx, [esp + 8]
push eax
call fcn.004347b3
lea ecx, [esp + 8]
push ecx
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov edx, dword [esp + 8]
lea ecx, [esp + 0x14]
push edx
call fcn.00439e10
mov esi, dword [esi + 0x10]
lea ecx, [esp + 8]
push esi
call fcn.004347b3
lea eax, [esp + 8]
push eax
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00439e10
lea ecx, [esp + 0x14]
call fcn.00439fcd
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.00434676
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00439c5a
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00434676
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x41032e
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44cfd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x463b20]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
push 0x451900
lea ecx, [esp + 0x14]
xor ebx, ebx
push 0x467970
push ecx
mov dword [esp + 0x3c], ebx
call fcn.004348bf
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call fcn.00434763
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], bl
call fcn.00434676
lea ecx, [esp + 0x14]
call fcn.00439c28
mov edx, dword [esp + 0xc]
push ebx
push 0x1001
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 2
call fcn.00439c9d
test eax, eax
je 0x4104c7
mov eax, dword [0x463b20]
mov dword [esp + 8], eax
mov eax, dword [esi]
lea ecx, [esp + 8]
push eax
mov byte [esp + 0x34], 3
call fcn.004347b3
lea ecx, [esp + 8]
push ecx
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov edx, dword [esp + 8]
lea ecx, [esp + 0x14]
push edx
call fcn.00439e10
mov eax, dword [esi + 4]
lea ecx, [esp + 8]
push eax
call fcn.004347b3
lea eax, [esp + 8]
push eax
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00439e10
mov eax, dword [esi + 8]
lea ecx, [esp + 8]
push eax
call fcn.004347b3
lea edx, [esp + 8]
push edx
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov eax, dword [esp + 8]
lea ecx, [esp + 0x14]
push eax
call fcn.00439e10
mov eax, dword [esi + 0xc]
lea ecx, [esp + 8]
push eax
call fcn.004347b3
lea ecx, [esp + 8]
push ecx
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov edx, dword [esp + 8]
lea ecx, [esp + 0x14]
push edx
call fcn.00439e10
mov esi, dword [esi + 0x10]
lea ecx, [esp + 8]
push esi
call fcn.004347b3
lea eax, [esp + 8]
push eax
call fcn.0041c180
add esp, 4
lea ecx, [esp + 8]
push 0x462f1c
call fcn.00434a06
mov ecx, dword [esp + 8]
push ecx
lea ecx, [esp + 0x18]
call fcn.00439e10
lea ecx, [esp + 0x14]
call fcn.00439fcd
lea ecx, [esp + 8]
mov byte [esp + 0x30], 2
call fcn.00434676
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00439c5a
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00434676
mov ecx, dword [esp + 0x28]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x413690
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4136a3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x14], 0
pop esi
ret

Function at 0x4136b0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00413690
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x413450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
je 0x4136e0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, esi
call fcn.004136f0
pop esi
pop ecx
ret

Function at 0x4136b1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00413690
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x413450
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
je 0x4136e0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, esi
call fcn.004136f0
pop esi
pop ecx
ret

Function at 0x413960
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
call fcn.00413c50
mov eax, dword [esi + 0x10]
test eax, eax
je 0x41397f
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x10], 0
mov ecx, esi
call fcn.00413c70
mov ecx, esi
call fcn.004137a0
pop esi
ret

Function at 0x413990
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.00413960
test eax, eax
je 0x4139a8
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x467800
call fcn.0040d440
push eax
lea ecx, [esi + 0x2030]
call fcn.004347b3
mov ecx, esi
call fcn.00413810
test eax, eax
jne 0x4139cc
pop esi
pop ecx
ret
lea eax, [esp + 4]
mov dword [esi + 0x2040], 0
push eax
push 0
push esi
push 0x413280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x10], eax
jne 0x413a0d
mov ecx, esi
call fcn.00413960
mov dword [esi + 0x2040], 2
mov eax, 1
pop esi
pop ecx
ret
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x413b00
Capabilities:
Check for time delay via gettickcount
Read file on windows

Disassembly:
sub esp, 8
push ebp
push esi
push edi
mov edi, ecx
call fcn.00413c50
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x1c]
mov ebp, eax
test esi, esi
mov dword [esp + 0x1c], esi
jle 0x413b95
push ebx
mov ebx, dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x24]
sub eax, ebp
cmp eax, ecx
ja 0x413b94
mov ecx, dword [edi + 0x202c]
lea eax, [esp + 0x14]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [edi + 0x202c]
lea edx, [esp + 0x10]
push 0
push edx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x413b72
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x413b90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x4678a4]
mov ebp, eax
mov eax, dword [esp + 0x10]
add ebx, eax
sub esi, eax
add ecx, eax
mov dword [0x4678a4], ecx
test esi, esi
jg 0x413b26
pop ebx
mov ecx, edi
call fcn.00413c70
mov eax, dword [esp + 0x1c]
pop edi
sub eax, esi
pop esi
pop ebp
add esp, 8
ret 0xc
Function at 0x41a5f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ddd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.00432222
lea ecx, [esp + 0x30]
call fcn.004321d6
mov eax, dword [0x467948]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.0041a930
mov edi, dword [esp + 0x18]
lea edx, [esp + 0xc]
mov esi, 0x46794c
push edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
call fcn.0041a930
cmp edi, dword [esp + 0x10]
je 0x41a695
mov eax, dword [edi + 8]
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x34]
push eax
call fcn.00429196
add esp, 8
test eax, eax
je 0x41a695
mov edi, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
call fcn.0041a930
cmp edi, dword [esp + 0x10]
jne 0x41a663
test edi, edi
je 0x41a6a0
mov eax, dword [edi + 8]
test eax, eax
jne 0x41a6c5
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00434676
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
mov edx, dword [ebx + 0xf0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push 0
push 0
push 0x1009
push edx
call esi
mov eax, dword [edi + 8]
mov ecx, dword [eax + 4]
mov edx, dword [ecx - 8]
test edx, edx
je 0x41a729
mov edx, dword [ebx + 0xf0]
mov ebp, dword [eax]
push 0
push 0
push 0x1004
push edx
call esi
push 0
push 0
push 0
push 0
lea esi, [ebx + 0xd4]
push ebp
push eax
push 1
mov ecx, esi
call fcn.00432ea2
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + 4]
push ecx
push 1
push eax
mov ecx, esi
call fcn.00432eee
mov eax, dword [edi + 8]
mov esi, dword [eax + 8]
add eax, 0xc
cmp esi, eax
je 0x41a78c
add ebx, 0xd4
mov eax, dword [esi + 8]
push 0
push 0
push 0x1004
mov ebp, dword [eax]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0xf0]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0
push 0
push ebp
push eax
push 1
mov ecx, ebx
call fcn.00432ea2
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 4]
push ecx
push 1
push eax
mov ecx, ebx
call fcn.00432eee
mov eax, dword [edi + 8]
mov esi, dword [esi + 4]
add eax, 0xc
cmp esi, eax
jne 0x41a73c
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00434676
mov ecx, dword [esp + 0x24]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4
Function at 0x41c180
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x44e008
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x463b20]
push esi
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x30], eax
mov esi, dword [edi]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.00434601
mov al, byte [esi]
mov byte [esp + 8], 0x55
test al, al
je 0x41c209
mov ecx, dword [esp + 8]
and eax, 0xff
and ecx, 0xff
lea edx, [esp + 0xc]
xor eax, ecx
mov cl, byte [esp + 8]
push eax
inc cl
push str._02X
push edx
mov byte [esp + 0x14], cl
call fcn.00429cad
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x30]
push eax
call fcn.00434a06
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x41c1c5
lea ecx, [esp + 0x30]
push ecx
mov ecx, edi
call fcn.00434763
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00434676
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x42f179
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x464e18
cmp edx, dword [eax]
je 0x42f19b
add eax, 8
inc ecx
cmp eax, 0x464ea8
jl 0x42f18c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x464e18]
jne 0x42f2c9
mov eax, dword [0x470b84]
cmp eax, 1
je 0x42f2a3
test eax, eax
jne 0x42f1cc
cmp dword [0x464604], 1
je 0x42f2a3
cmp edx, 0xfc
je 0x42f2c9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42f203
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0042f670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0042f3b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42f246
lea eax, [ebp - 0x1a4]
push eax
call fcn.0042f3b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4585a8
push edi
call fcn.00429de0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0042f670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0042f680
lea eax, [ebp - 0xa0]
push 0x458588
push eax
call fcn.0042f680
push dword [esi + 0x464e1c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0042f680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00430b27
add esp, 0x2c
pop edi
jmp 0x42f2c9
lea eax, [ebp + 8]
lea esi, [esi + 0x464e1c]
push 0
push eax
push dword [esi]
call fcn.0042f3b0
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 0x434de8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x434e0a
cmp dword [edi + 0x3c], 0
jne 0x434e0a
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00448fcd
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00434e37
pop edi
pop esi
pop ebx
ret 8

Function at 0x43643e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x436476
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00434ad1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00434aa9
jmp 0x436482
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x437eda
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x437f1c
call fcn.00448fcd
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x437f1c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x437f13
xor eax, eax
jmp 0x437f24
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00437f2a
pop edi
pop esi
pop ebx
ret 4

Function at 0x439afb
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x439b2b
push edi
call ebx
push eax
call fcn.0043ab58
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x439b55
test byte [ebp - 4], 1
je 0x439b55
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x439b55
push edi
call ebx
push eax
call fcn.0043ab58
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x439bfb
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.00439a48
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x439b87
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.00439a48
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x439b9d
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00439a48
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x439bc7
push 0
call ebx
push eax
call fcn.0043ab58
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x439be5
push eax
call ebx
push eax
call fcn.0043ab58
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x439bf9
push eax
call ebx
push eax
call fcn.0043ab58
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x439c22
test byte [ebp - 4], 1
jne 0x439c22
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x439c22
push edi
call ebx
push eax
call fcn.0043ab58
pop edi
pop ebx
leave
ret 8
Function at 0x449ee2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00448fcd
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x449f1f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x449f1f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x449f23
xor eax, eax
jmp 0x449fa1
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00434bfc
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x449f5b
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x449f45
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0044a092
push ebx
mov edi, eax
call fcn.00434c25
test edi, edi
pop ecx
je 0x449f9d
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00449e5b
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00449fa6
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x44a781
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 0x44a7af
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44a7cd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0044a6e7
jmp 0x44a7cd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44a7cd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0044a6e7
test edi, edi
mov eax, edi
jne 0x44a7b7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x45ce24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x45ce24
lcall 0x5de5, 0x8b10c483
jmp loc.0098c1bc
Function at 0x4013df
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1c4]
sub esp, 0x244
mov eax, dword [0x46159c]
push esi
push edi
mov edi, ecx
mov dword [ebp + 0x1c0], eax
mov eax, dword [edi + 4]
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x54], edi
je 0x4015ae
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push esi
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x48]
push ecx
push eax
mov dword [ebp - 0x58], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x4015ae
push ebx
mov dword [ebp - 0x50], esi
push 0x104
lea eax, [ebp + 0xbc]
push eax
push dword [ebp - 0x50]
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
cmp eax, esi
mov dword [ebp - 0x5c], eax
jne 0x40159f
lea eax, [ebp + 0xbc]
push eax
call fcn.0043a104
mov ebx, eax
cmp ebx, esi
pop ecx
jle 0x40159f
push 0x1c
call fcn.00439f3b
cmp eax, esi
pop ecx
je 0x40149e
mov ecx, eax
call fcn.00401000
mov esi, eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x10]
push dword [edi + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x28]
test al, al
je 0x401591
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40156b
push eax
call fcn.00439eb0
test eax, eax
pop ecx
jbe 0x40156b
mov ebx, dword [esi + 0x18]
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
push eax
push 0x44e484
push ebx
call fcn.0043a048
add esp, 0xc
cmp dword [ebp - 0x4c], 0
jle 0x40156b
jmp 0x4014f6
mov edi, dword [ebp - 0x54]
mov edi, dword [edi + 0x10]
jmp 0x40150a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
cmp eax, dword [ebp - 0x4c]
je 0x401510
mov edi, dword [edi + 0x34]
test edi, edi
jne 0x4014fb
jmp 0x401522
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x48]
and dword [ebp - 0x4c], 0
mov byte [esi + 0x14], al
mov byte [esi + 0x15], 1
mov al, byte [ebx]
test al, al
je 0x401542
cmp al, 0x20
je 0x401537
cmp al, 9
je 0x401537
inc ebx
mov al, byte [ebx]
test al, al
jne 0x401528
cmp byte [ebx], 0
je 0x401542
inc ebx
cmp byte [ebx], 0
jne 0x401546
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0
jle 0x401568
and dword [ebp - 0x4c], 0
lea eax, [ebp - 0x4c]
push eax
push 0x44e484
push ebx
call fcn.0043a048
add esp, 0xc
cmp dword [ebp - 0x4c], 0
jg 0x4014f3
mov edi, dword [ebp - 0x54]
mov ebx, dword [edi + 0xc]
test ebx, ebx
jne 0x40157c
mov dword [edi + 0xc], esi
jmp 0x40159f
call dword [eax + 4]
mov ebx, eax
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test eax, eax
mov eax, dword [ebx]
mov ecx, ebx
jne 0x401577
push esi
call dword [eax + 8]
jmp 0x40159f
mov ecx, esi
call fcn.00401029
push esi
call fcn.00439e66
pop ecx
inc dword [ebp - 0x50]
xor esi, esi
cmp dword [ebp - 0x5c], esi
je 0x40144f
pop ebx
mov ecx, dword [ebp + 0x1c0]
pop edi
pop esi
call fcn.00439e9c
add ebp, 0x1c4
leave
ret