joyce8/EMBER2024-capa huggingface dataset:
Function at 0x30cb609
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x30cb628
leave
ret
push ebx
push esi
mov esi, dword [ebp + 8]
push esi
push 0x10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test ebx, ebx
jne 0x30cb64e
xor eax, eax
jmp 0x30cb66b
mov ax, word [esi + 6]
and ax, 0xfff
or ax, 0x4000
mov word [esi + 6], ax
mov al, byte [esi + 8]
and al, 0x3f
or al, 0x80
mov byte [esi + 8], al
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jbe 0x30ce4de
mov eax, dword [ebp + 8]
movzx edx, byte [eax]
mov ecx, dword [ebp + 0x10]
dec dword [ebp + 0xc]
and ecx, 0xff
xor ecx, edx
mov edx, dword [ebp + 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x3015c50]
inc eax
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x10], edx
ja 0x30ce4b6
mov eax, dword [ebp + 0x10]
pop ebp
ret

Function at 0x30ce546
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
xor edx, edx
cmp dword [ebp + 8], edx
je 0x30ce582
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x30ce5d6
push dword [ebp + 8]
push dword [ebp + 0x14]
push 1
push dword [ebp + 0x18]
call dword [sym.imp.msvcrt.dll_fread]
sub eax, dword [ebp + 0x14]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
jmp 0x30ce5d8
mov eax, dword [ecx + 0x82c]
cmp eax, edx
je 0x30ce5a3
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push dword [ecx + 0x804]
call eax
add esp, 0x14
jmp 0x30ce5cb
mov eax, dword [ecx + 0x830]
cmp eax, edx
je 0x30ce5d6
cmp byte [ebp + 0x1c], dl
jne 0x30ce5b7
cmp dword [ebp + 0x10], edx
je 0x30ce5d6
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ecx + 0x804]
call eax
add esp, 0x10
xor ecx, ecx
test eax, eax
setge cl
mov al, cl
jmp 0x30ce5d8
xor al, al
pop ebp
ret 0x18
Function at 0x30cf3a9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
push 0x20
push 0x300f80c
push dword [ebp + 8]
mov esi, ecx
call fcn.030cb4be
mov edi, eax
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
jne 0x30cf3e0
push ebx
push 0x12
push dword [ebp + 8]
mov ecx, esi
call fcn.030ceb8e
jmp 0x30cf539
push edi
push 1
lea eax, [ebp - 0x54]
push 0x30
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x30cf524
cmp word [ebp - 0x54], 0x4944
jne 0x30cf524
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [esi + 0xc80]
je 0x30cf428
mov eax, dword [esi + 0xc84]
cmp eax, ebx
je 0x30cf420
cmp ecx, eax
je 0x30cf428
push ebx
push 0x14
jmp 0x30cf527
mov eax, dword [ebp - 0x3c]
imul eax, eax, 0x28
add eax, dword [ebp - 0x38]
push 1
push eax
push edi
call dword [sym.imp.msvcrt.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x30cf524
push edi
call dword [sym.imp.msvcrt.dll_ftell]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
push 0x1c
xor edx, edx
pop ecx
div ecx
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x30cf4ab
dec dword [ebp - 4]
push edi
push 1
lea eax, [ebp - 0x24]
push 0x1c
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x30cf524
cmp byte [esi + 0xc94], bl
jne 0x30cf4a6
cmp dword [ebp - 0x18], 2
jne 0x30cf4a6
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc98], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc9c], ebx
mov dword [esi + 0xca0], eax
cmp dword [ebp - 4], ebx
jne 0x30cf462
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll__wcsdup]
pop ecx
push ebx
push ebx
push dword [ebp + 8]
mov ecx, esi
mov dword [esi + 0xc90], eax
mov dword [esi + 0xc8c], edi
call fcn.030ceb8e
push ebx
push dword [ebp - 8]
push edi
call dword [sym.imp.msvcrt.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x30cf51b
mov eax, dword [ebp - 0x34]
push 0x1c
xor edx, edx
pop ecx
div ecx
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x30cf51b
dec dword [ebp - 4]
push edi
push 1
lea eax, [ebp - 0x24]
push 0x1c
push eax
call dword [sym.imp.msvcrt.dll_fread]
add esp, 0x10
cmp eax, 1
jne 0x30cf51b
lea eax, [ebp - 0x24]
push eax
push ebx
mov ecx, esi
call fcn.030ceb06
cmp dword [ebp - 4], ebx
jne 0x30cf4f0
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
push ebx
push 0xb
push dword [ebp + 8]
mov ecx, esi
call fcn.030ceb8e
push edi
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
xor al, al
jmp 0x30cf51d
Function at 0x30d40cd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x10]
push edi
xor edi, edi
cmp ecx, edi
mov dword [esi], 0x3016228
je 0x30d40e5
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esi + 0x10c]
cmp ecx, edi
je 0x30d40f3
mov eax, dword [ecx]
call dword [eax]
lea ecx, [esi + 0x14c]
cmp dword [ecx], edi
je 0x30d4102
call fcn.030bcdce
mov eax, dword [esi + 0x13c]
cmp eax, edi
je 0x30d4113
push eax
call fcn.0302a9c0
pop ecx
lea ecx, [esi + 0x114]
call fcn.030c5034
mov eax, dword [esi + 0xd0]
cmp eax, edi
je 0x30d412f
push eax
call fcn.0302a9c0
pop ecx
lea ecx, [esi + 0xb8]
cmp dword [ecx], edi
je 0x30d413e
call fcn.030bcdce
lea ecx, [esi + 0xa0]
cmp dword [ecx], edi
je 0x30d414d
call fcn.030bcdce
lea ecx, [esi + 0x88]
cmp dword [ecx], edi
je 0x30d415c
call fcn.030bcdce
mov eax, dword [esi + 0x84]
cmp eax, edi
je 0x30d416c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x6c]
cmp dword [ecx], edi
je 0x30d4178
call fcn.030bcdce
lea ecx, [esi + 0x54]
cmp dword [ecx], edi
je 0x30d4184
call fcn.030bcdce
lea ecx, [esi + 0x50]
call fcn.030da362
lea ecx, [esi + 0x38]
cmp dword [ecx], edi
je 0x30d4198
call fcn.030bcdce
lea ecx, [esi + 0x20]
cmp dword [ecx], edi
pop edi
pop esi
je 0x30d41a6
jmp fcn.030bcdce
ret
Function at 0x401460
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0xc], str.AutoUpdate
lea eax, [ebp - 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0
mov dword [esp + 4], str.SoftwareMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000001
call sym._RegOpenKeyExA_20
sub esp, 0x14
test eax, eax
jne 0x40150b
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
lea edx, [eax + 1]
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
test eax, eax
jne 0x4014ef
mov dword [esp], 0x40b0a0
call sym._puts
jmp 0x4014fb
mov dword [esp], str._____.
call sym._puts
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
jmp 0x401517
mov dword [esp], str.___.
call sym._puts
nop
leave
ret

Function at 0x401554
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x378
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s
mov dword [esp + 4], 0x200
lea eax, [ebp - 0x354]
mov dword [esp], eax
call sym.___mingw_snprintf
lea eax, [ebp - 0x154]
mov dword [esp + 4], eax
lea eax, [ebp - 0x354]
mov dword [esp], eax
call sym._FindFirstFileA_8
sub esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x4015cc
mov dword [esp], str.__.
call sym._puts
mov dword [esp], 1
call sym._exit
mov eax, dword [ebp - 0x154]
and eax, 0x10
test eax, eax
je 0x40164f
mov dword [esp + 4], 0x40b1e2
lea eax, [ebp - 0x154]
add eax, 0x2c
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x40164f
mov dword [esp + 4], 0x40b1e4
lea eax, [ebp - 0x154]
add eax, 0x2c
mov dword [esp], eax
call sym._strcmp
test eax, eax
je 0x40164f
mov eax, dword [ebp - 0xc]
shl eax, 8
lea edx, [eax + 0x40e020]
lea eax, [ebp - 0x154]
add eax, 0x2c
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_s
mov dword [esp + 4], 0x100
mov dword [esp], edx
call sym.___mingw_snprintf
add dword [ebp - 0xc], 1
lea eax, [ebp - 0x154]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._FindNextFileA_8
sub esp, 8
test eax, eax
je 0x401675
cmp dword [ebp - 0xc], 0x63
jle 0x4015cc
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._FindClose_4
sub esp, 4
cmp dword [ebp - 0xc], 0
jne 0x4016a1
mov dword [esp], str.____.
call sym._puts
mov dword [esp], 1
call sym._exit
mov dword [esp], 0
call sym._time
mov dword [esp], eax
call sym._srand
call sym._rand
cdq
idiv dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
shl eax, 8
add eax, 0x40e020
leave
ret
Function at 0x4016ce
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x530
call sym.___main
mov dword [esp + 0x52c], 0x100
mov eax, dword [esp + 0x52c]
mov dword [esp + 4], eax
lea eax, [esp + 0x428]
mov dword [esp], eax
call sym._get_username
lea eax, [esp + 0x428]
mov dword [esp + 4], eax
mov dword [esp], 0x40b228
call sym._printf
lea eax, [esp + 0x428]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.C:Users_sAppDataRoaming
mov dword [esp + 4], 0x200
lea eax, [esp + 0x228]
mov dword [esp], eax
call sym.___mingw_snprintf
lea eax, [esp + 0x228]
mov dword [esp], eax
call sym._get_random_folder
mov dword [esp + 0x528], eax
mov eax, dword [esp + 0x528]
mov dword [esp + 4], eax
mov dword [esp], str.____Roaming:__s_n
call sym._printf
mov dword [esp + 0x217], 0x7475415c
mov dword [esp + 0x21b], 0x6470556f
mov dword [esp + 0x21f], 0x72657461
mov dword [esp + 0x223], 0x6578652e
mov byte [esp + 0x227], 0
mov eax, dword [esp + 0x528]
mov dword [esp + 4], eax
lea eax, [esp + 0x17]
mov dword [esp], eax
call sym._strcpy
lea eax, [esp + 0x217]
mov dword [esp + 4], eax
lea eax, [esp + 0x17]
mov dword [esp], eax
call sym._strcat
lea eax, [esp + 0x17]
mov dword [esp + 4], eax
mov dword [esp], str._:__s_n
call sym._printf
lea eax, [esp + 0x17]
mov dword [esp], eax
call sym._addToStartup
mov eax, 0
leave
ret
Function at 0x401e40
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x414444
call sym._EnterCriticalSection_4
mov ebx, dword [0x41443c]
sub esp, 4
test ebx, ebx
je 0x401e8b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x401e84
test esi, esi
je 0x401e84
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401e60
mov dword [esp], 0x414444
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x402070
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x4020c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x402198
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x4020fe
cmp eax, 4
jne 0x402120
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x40210e
cmp edx, 4
je 0x40210e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00402070
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x401550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
mov esi, dword [0x46f9a0]
xor ebx, ebx
push edi
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x3c]
mov ebp, dword [eax + esi + 0x78]
add ebp, esi
mov edi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x18]
add edi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4015b7
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.00401741
lea ecx, [esp + 0x1c]
call fcn.0040131c
cmp eax, dword [esp + 0x14]
je 0x4015cf
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.0040171e
inc ebx
cmp ebx, dword [esp + 0x18]
jb 0x401587
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00401a79
add esp, 0x2c
ret
mov eax, dword [ebp + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebp + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.0040171e
jmp 0x4015b9

Function at 0x401652
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
movsd xmm0, qword [0x4198a8]
push esi
push edi
push ecx
push ecx
movsd qword [esp], xmm0
push 0x419890
call fcn.00401006
add esp, 0xc
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x46f9a0], eax
push 0x27
mov esi, 0x46e930
mov edx, 0x547
push 0x41b900
mov ecx, esi
call fcn.00401112
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.00401550
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
test eax, eax
je 0x4016c8
call fcn.004015ed
push 0x1000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4016e0
or eax, 0xffffffff
jmp 0x4016f6
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
call dword [sym.imp.KERNEL32.dll_GetSystemFileCacheSize]
xor eax, eax
pop edi
pop esi
leave
ret 0x10

Function at 0x402327
Capabilities:
Parse pe header

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

Function at 0x408324
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155b8
push 0x4155b0
push str.FlsAlloc
push 0x1e
call fcn.00408242
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408358
push dword [ebp + 8]
mov ecx, esi
call dword [0x414118]
call esi
jmp 0x40835e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x412f50
Capabilities:
Parse pe header

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x16b76b0a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x2db90108
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
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
jne 0x43206c
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x43b650
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x43b3c1
pop edi
sub esi, esi
push 0xb38d3ae
pop esi
inc esi
call fcn.0043b67e
dec eax
xor dword [ecx], edi
dec eax
or esi, esi
dec eax
inc ecx
add esi, eax
cmp ecx, edx
jne fcn.0043b650
or esi, esi
add esi, esi
ret
Function at 0x10001ca0
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
mov eax, dword [0x10080e78]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [sym.GuiTk115d.dll_unsigned_long_int_GuiDrawLayer::m_SO]
cmp eax, 0xffffffff
jne 0x10001de4
push esi
push 0x9c
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR90.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call esi
test eax, eax
jne 0x10001d19
lea edx, [esp + 4]
push edx
mov dword [esp + 8], 0x94
call esi
test eax, eax
jne 0x10001d19
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1004da1e
add esp, 0xa0
ret
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x10001dd9
sub eax, 1
je 0x10001d6a
sub eax, 1
jne 0x10001dc0
mov eax, dword [esp + 8]
cmp eax, 4
ja 0x10001d47
mov eax, 0x8003
jmp 0x10001dde
cmp eax, 5
jne 0x10001dc0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10001d5e
mov eax, 0x8004
jmp 0x10001dde
cmp eax, 1
jne 0x10001dc0
mov eax, 0x8005
jmp 0x10001dde
cmp dword [esp + 8], 4
jne 0x10001dc0
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x10001d94
mov eax, 0x8006
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1004da1e
add esp, 0xa0
ret
cmp eax, 0xa
jne 0x10001db4
mov eax, 0x8007
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1004da1e
add esp, 0xa0
ret
cmp eax, 0x5a
jne 0x10001dc0
mov eax, 0x8009
jmp 0x10001dde
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1004da1e
add esp, 0xa0
ret
mov eax, 0x8008
mov dword [sym.GuiTk115d.dll_unsigned_long_int_GuiDrawLayer::m_SO], eax
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1004da1e
add esp, 0xa0
ret
Function at 0x100033f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x1004ec58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
movzx ebx, word [esp + 0x3c]
xor edi, edi
push edi
push ebx
call fcn.10002d60
add esp, 8
cmp eax, edi
je 0x100035b8
mov ebp, vtable.CBitmap.0
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebp
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], edi
call sub.mfc90.dll_Ordinal_1358
push 0xf1
push ebx
call sub.mfc90.dll_Ordinal_1108
mov edi, eax
test edi, edi
je 0x100035a3
push 0xf1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100035a3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x100035a3
cmp dword [esi + 0x9c], 0
movzx eax, word [ebx + 4]
movzx edx, word [ebx + 2]
lea ecx, [esi + 0x9c]
jne 0x100034cc
push 0xa
push 0
mov dword [ecx], edx
mov dword [ecx + 4], eax
push 0xff
lea ecx, [eax + 4]
push eax
lea edi, [edx + 4]
mov dword [esi + 0xa8], ecx
push edx
lea ecx, [esi + 0x38]
mov dword [esi + 0xa4], edi
call sub.mfc90.dll_Ordinal_1691
jmp 0x100034db
push eax
push edx
call fcn.10001000
test eax, eax
jne 0x100035a3
lea edi, [esi + 0x38]
mov ecx, edi
call fcn.100019c0
push 0x8001
mov dword [esp + 0x18], eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorFace_unsigned_long_int_
add esp, 4
push eax
lea eax, [esp + 0x28]
push eax
mov ecx, edi
call fcn.100019e0
xor ecx, ecx
mov dword [esp + 0x1c], 0
cmp cx, word [ebx + 6]
jae 0x1000356d
lea edx, [ebx + 8]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x18]
movzx edi, word [eax]
test edi, edi
jbe 0x10003557
lea ecx, [esp + 0x20]
push ecx
lea ebp, [esi + 0x40]
push edi
mov ecx, ebp
call sub.mfc90.dll_Ordinal_4465
test eax, eax
je 0x10003540
cmp dword [esp + 0x20], 0
jge 0x1000354e
push edi
mov ecx, ebp
call sub.mfc90.dll_Ordinal_906
mov edx, dword [esp + 0x14]
mov dword [eax], edx
inc dword [esp + 0x14]
mov ebp, vtable.CBitmap.0
mov eax, dword [esp + 0x1c]
movzx ecx, word [ebx + 6]
add dword [esp + 0x18], 2
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x1000351a
mov edx, dword [esp + 0x3c]
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x24]
push edx
push eax
call sub.mfc90.dll_Ordinal_6155
lea ecx, [esp + 0x24]
call sub.mfc90.dll_Ordinal_2143
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x24], ebp
call fcn.10001760
mov eax, 1
jmp 0x100035ba
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x24], ebp
call fcn.10001760
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4