joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001d349
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x1006a1fc]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call fcn.10020dd0
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.10037861
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.10037861
push 0x1005af1c
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.10037861
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.10020dd0
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d3ee
sub ecx, edx
cmp ecx, 6
jbe 0x1001d415
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call fcn.10037861
pop ecx
pop ecx
test eax, eax
jne 0x1001d415
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1001d41c
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x1005af13
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.10037861
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call fcn.10020850
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1001d496
mov ax, word [0x1005af48]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001df6b
add esp, 0x824
ret

Function at 0x401a22
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.0040161c
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
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 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
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 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x3c992e84
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xbee1e06
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000ba71
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
xor eax, eax
inc ebx
mov esi, edx
cmp ax, word [edi]
je 0x1000baf5
push 0x10039374
push edi
call fcn.1001de79
pop ecx
pop ecx
test eax, eax
jne 0x1000baf5
push 0x100396a4
push edi
call fcn.1001de79
pop ecx
pop ecx
test eax, eax
jne 0x1000baf5
push 0x5c
pop eax
push eax
push esi
jmp 0x1000bae4
push 0x3a
pop eax
cmp ax, word [esi - 2]
je 0x1000bad9
xor eax, eax
push eax
push edi
mov word [esi], ax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
jne 0x1000bad6
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
je 0x1000bad6
xor ebx, ebx
jmp 0x1000bad9
xor ebx, ebx
inc ebx
push 0x5c
pop eax
push eax
lea ecx, [esi + 2]
mov word [esi], ax
push ecx
call fcn.1001ddb2
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1000baab
mov eax, ebx
jmp 0x1000baf7
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x1000f136
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000f145
pop dword [ebp - 0x44]
mov eax, 0x1000f145
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x407b6
push 0
mov eax, 0x64e8e771
add eax, 0xab1a39e7
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x6a1ae4af
add ecx, 0x95e55fbc
xor edi, edi
add edi, eax
mov ebx, 0x10048000
add ebx, dword [ebp - 0x44]
mov edx, 0x8fe1ad93
sub edx, 0x422196e3
sub dword [ebp - 0x38], ebx
mov esi, dword [ebx]
xor dword [ebp - 0x34], eax
xor esi, edx
sub dword [ebp - 0x28], 0xb8141e6e
mov dword [edi], esi
sub dword [ebp - 0x34], 0xfc9417f8
add edi, 4
add ebx, 0x83eb89c2
add ebx, 0x7c147642
loop 0x1000f19b
add eax, 0x92e0d36b
sub eax, 0x92dfceec
xor ebx, ebx
add ebx, eax
add eax, 0x3070e946
sub eax, 0x3070e941
mov ecx, 0x10000000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret

Function at 0x10010c8b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104c
call fcn.1002fb29
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [ecx]
je 0x10010d25
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0x104c]
push 0x824
push eax
call fcn.1000f136
add esp, 0x10
cmp eax, 0x50
je 0x10010d25
lea ecx, [ebp - 0x104c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010cce
sub ecx, edx
sar ecx, 1
call fcn.100078ac
test eax, eax
jle 0x10010d0b
push 0x5c
pop ecx
cmp cx, word [ebp + eax*2 - 0x104e]
jne 0x10010d0b
lea eax, [eax*2 - 2]
cmp eax, 0x1048
jae 0x10010d33
xor ecx, ecx
mov word [ebp + eax - 0x104c], cx
lea eax, [ebp - 0x104c]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10010d25
shr eax, 4
and eax, 1
jmp 0x10010d27
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001c65c
leave
ret
call fcn.1000f136
int3
Function at 0x100194d5
Capabilities:
Query environment variable
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xea0
mov eax, dword [0x100400b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
test esi, esi
jne 0x100194fb
mov eax, 0x80070057
jmp 0x1001970d
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x484]
xor ebx, ebx
push str.SoftwareMicrosoftOffice_i.0Registration
push 0x100
push eax
mov dword [esi], ebx
mov dword [ebp - 0xe9c], ebx
call fcn.1000f136
add esp, 0x10
test eax, eax
je 0x100196fd
lea eax, [ebp - 0xe9c]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x484]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100196fd
push 0x40
lea eax, [ebp - 0x84]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0xe9c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push dword [ebp - 0xe9c]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, 0x103
je 0x100196fd
test edi, edi
jne 0x1001970a
push 0xffffffffffffffff
lea eax, [ebp - 0x484]
mov edi, 0x100
push eax
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.1000f136
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
push 0xffffffffffffffff
push 0x100393f0
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.1000f136
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x284]
push edi
push eax
call fcn.1000f136
add esp, 0x10
cmp eax, 0x50
je 0x1001970a
lea eax, [ebp - 0xe94]
mov dword [ebp - 0xe98], ebx
push eax
push 1
push ebx
lea eax, [ebp - 0x284]
mov dword [ebp - 0xe94], ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x10019655
lea eax, [ebp - 0xea0]
mov dword [ebp - 0xea0], 0x802
push eax
lea eax, [ebp - 0xe90]
push eax
lea eax, [ebp - 0xe98]
push eax
push ebx
push 0x1003b278
push dword [ebp - 0xe94]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp dword [ebp - 0xe94], ebx
je 0x10019669
push dword [ebp - 0xe94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x100196ce
cmp dword [ebp - 0xe98], 1
je 0x1001967f
cmp dword [ebp - 0xe98], 2
jne 0x100196ce
cmp dword [ebp - 0xe98], 2
jne 0x100196d2
push 0x104
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0xe90]
push eax
call dword [sym.imp.kernel32.dll_ExpandEnvironmentStringsW]
dec eax
cmp eax, 0x102
ja 0x100196d2
push 0xffffffffffffffff
lea eax, [ebp - 0x68c]
push eax
lea eax, [ebp - 0xe90]
push 0x401
push eax
call fcn.1000f136
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x1001970a
lea eax, [ebp - 0xe90]
push str._no_more_entries_
push eax
call fcn.1000f136
pop ecx
pop ecx
test eax, eax
je 0x1001970a
xor eax, eax
cmp ax, word [ebp - 0xe90]
je 0x1001970a
lea eax, [ebp - 0xe90]
push eax
jmp 0x10019702
push str._no_more_entries_
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1001c65c
leave
ret 0x10
Function at 0x100180c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x100180cf
pop dword [ebp - 0x10]
mov eax, 0x4b6328
add eax, 0xfb61da7
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x4b83d70
sub dword [ebp - 0x20], 0xb665f825
mov dword [ebp - 0x1c], 0x343effe7
sub dword [ebp - 0x1c], 0x20bb3a2
mov dword [ebp - 0x18], 0x6b72404d
sub dword [ebp - 0x18], 0x1f25fc1f
mov dword [ebp - 0x14], 0xdffc4bc9
sub dword [ebp - 0x14], 0xdffc4bc9
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], 0x3bf3a5d6
add dword [ebp - 0x20], 0x387ec380
mov dword [ebp - 0x1c], 0xfdc05736
add dword [ebp - 0x1c], 0x43ac0a3f
mov dword [ebp - 0x18], 0xf18b6871
add dword [ebp - 0x18], 0x71e403fb
mov dword [ebp - 0x14], 0x26ded76b
sub dword [ebp - 0x14], 0x26ded76b
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x67c66699
add eax, 0xa83b3973
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x37c73
push 0
call eax
mov ecx, 0x3df6
mov edi, eax
mov esi, 0xb0d43fd4
add esi, 0x5f2e0a2c
add esi, dword [ebp - 0x10]
mov ebx, 0xa9680590
sub ebx, 0x454c0adb
xor dword [ebp - 4], edi
mov edx, dword [esi]
add dword [ebp - 0xc], 0x3684804c
add edx, ebx
xor dword [ebp - 0xc], 0x4f3d425c
mov dword [edi], edx
add dword [ebp - 0xc], 0x7dce79b3
add edi, 0xbe0203f7
sub edi, 0xbe0203f3
add esi, 0x36576fa9
add esi, 0xc9a8905b
loop 0x100181e6
add eax, 0xeaab
mov ebx, eax
add eax, 0xe83ff30f
sub eax, 0xe83ff30a
mov ecx, 0x576acb2f
add ecx, 0xb89534d1
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x2a30195d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x2a357578]
jne 0x2a301967
repz ret
jmp fcn.2a341dce

Function at 0x2a309f40
Capabilities:
Terminate thread

Disassembly:
push 0x10
mov eax, 0x2a342707
call fcn.2a30229e
mov esi, ecx
xor edi, edi
cmp dword [esi], 0xb
mov dword [ebp - 0x14], edi
jne 0x2a30a02b
mov edi, dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0xea60
push dword [esi + 0x2e0]
call edi
or dword [esi + 0x1ac], 0xffffffff
push 1
push dword [esi + 0x2dc]
call dword [sym.imp.kernel32.dll_SetThreadPriority]
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
call ebx
shr eax, 4
add eax, 0x12c
mov dword [ebp - 0x10], eax
jmp 0x2a309fdb
push 0xea60
push dword [esi + 0x2e0]
call edi
push dword [esi + 0x2e0]
xor eax, eax
cmp dword [esi], 0xb
setne al
movzx eax, ax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp word [ebp - 0x1c], 0
jne 0x2a309fe5
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
call ebx
shr eax, 4
cmp eax, dword [ebp - 0x10]
jb 0x2a309fa5
push 0xea60
push dword [esi + 0x2e0]
call edi
cmp dword [esi], 0xb
jne 0x2a30a00a
xor edi, edi
inc edi
push edi
push dword [esi + 0x2dc]
call dword [sym.imp.kernel32.dll_TerminateThread]
mov dword [ebp - 0x14], edi
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push dword [esi + 0x2e0]
call dword [sym.imp.kernel32.dll_CloseHandle]
and dword [esi + 0x2e0], 0
xor edi, edi
mov eax, dword [esi + 0x1c]
lea ebx, [esi + 0x1ac]
mov dword [ebx], edi
cmp eax, edi
je 0x2a30a05c
cmp word [ebp - 0x14], di
jne 0x2a30a059
push ebx
push eax
call fcn.2a32cd91
cmp dword [ebx], edi
jne 0x2a30a05c
push ebx
push dword [esi + 0x18]
mov dword [esi + 0x1c], edi
call fcn.2a32cd91
jmp 0x2a30a05c
mov dword [esi + 0x1c], edi
cmp word [esi + 0x14c], di
je 0x2a30a0c8
push edi
push edi
lea ecx, [ebp - 0x18]
call fcn.2a32cd91
mov ebx, dword [0x2a358a70]
push edi
lea eax, [esi + 0x48]
push eax
mov eax, dword [0x2a358a74]
push str.Cstring
mov dword [ebp - 4], edi
call dword [eax + 0x14]
movzx eax, ax
pop ecx
push eax
push edi
call dword [ebx + 0xd0]
add esp, 0x10
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.2a32cd91
cmp dword [ebp - 0x14], edi
je 0x2a30a0bc
lea ecx, [ebp - 0x18]
call fcn.2a32cd91
test al, al
je 0x2a30a0bc
lea ecx, [ebp - 0x18]
call fcn.2a330802
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.2a3032b3
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x2a30a0df
push eax
mov eax, dword [0x2a358780]
call dword [eax + 0x284]
pop ecx
mov dword [esi + 0x3c], edi
mov eax, dword [esi + 0x24]
cmp eax, edi
je 0x2a30a107
push eax
mov eax, dword [0x2a358a90]
cmp word [esi + 0x1a2], di
je 0x2a30a0fd
call dword [eax + 0x124]
jmp 0x2a30a103
call dword [eax + 0x11c]
pop ecx
mov dword [esi + 0x24], edi
mov dword [esi], 2
call fcn.2a3026e6
ret
Function at 0x2a323cd6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x2a3442a0
call fcn.2a30372f
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x428], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x2a323d84
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.2a32cd91
add esp, 0xc
test eax, eax
js 0x2a323d84
mov edi, dword [ebp - 0x41c]
cmp edi, 0x400
jg 0x2a323d6a
push edi
call fcn.2a3203ae
pop ecx
test al, al
je 0x2a323d6a
mov eax, edi
call fcn.2a341a00
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x2a323d76
push edi
lea ecx, [ebp - 0x428]
call fcn.2a32cd91
push 3
push edi
push esi
push eax
call fcn.2a32cd91
cmp eax, ebx
jne 0x2a323dc1
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a323d9d
lea ecx, [ebp - 0x418]
call fcn.2a31ffe1
mov esi, 0x8007000e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.2a31fe2e
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.2a303768
ret 0x10
push 2
push ebx
push eax
call fcn.2a3212fd
mov edi, eax
mov dword [ebp - 0x41c], edi
cmp edi, ebx
jne 0x2a323de2
call fcn.2a31f619
mov esi, eax
jmp 0x2a323eac
push dword [ebp - 0x420]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x2a323e05
call fcn.2a31f619
jmp 0x2a323e9e
push esi
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x2a323dfb
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x424], esi
cmp eax, esi
jae 0x2a323e35
mov esi, 0x8007000e
jmp 0x2a323ea0
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.2a32cd91
mov dword [ebp - 4], 1
jmp 0x2a323e63
cmp dword [ebp - 0x418], ebx
je 0x2a323e2e
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.2a32cd91
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], bl
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.2a32cd91
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x2a323da2
lea ecx, [ebp - 0x418]
call fcn.2a31ffe1
jmp 0x2a323da2
Function at 0x2a32cd91
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x2a32cda0
pop dword [ebp - 0x40]
mov eax, 0x934cdc78
add eax, 0x96e5f128
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x7c7cc5b4
add dword [ebp - 0x50], 0xd1d57f97
mov dword [ebp - 0x4c], 0xa98e189d
sub dword [ebp - 0x4c], 0x775acc58
mov dword [ebp - 0x48], 0x955c2124
sub dword [ebp - 0x48], 0x490fdcf6
mov dword [ebp - 0x44], 0x78770f3d
sub dword [ebp - 0x44], 0x78770f3d
lea eax, [ebp - 0x50]
push eax
mov eax, 0xd7a133f8
sub eax, 0xad6cc3ac
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x93ed43da
sub dword [ebp - 0x50], 0x1f7ada84
mov dword [ebp - 0x4c], 0x78f66e16
sub dword [ebp - 0x4c], 0x378a0ca1
mov dword [ebp - 0x48], 0xc5c0fa90
add dword [ebp - 0x48], 0x9dae71dc
mov dword [ebp - 0x44], 0xbea409e
add dword [ebp - 0x44], 0xf415bf62
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x220b1221
sub eax, 0xf7d6a1cd
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x46d59
push 0
call eax
mov ecx, 0x4e70
xor esi, esi
add esi, eax
mov edx, 0x2a36ba00
add edx, dword [ebp - 0x40]
mov edi, 0x23a4b7ba
sub edi, 0x38627574
add dword [ebp - 0x28], 0x4f6a3246
mov ebx, dword [edx]
sub dword [ebp - 0x14], edi
add ebx, edi
sub dword [ebp - 0x30], 0xe2b9c6b4
mov dword [esi], ebx
xor dword [ebp - 0x30], edx
add esi, 0x7dad21a8
add esi, 0x8252de5c
add edx, 4
loop 0x2a32ceb8
add eax, 0x835be9c6
add eax, 0x7ca542cd
xor ebx, ebx
add ebx, eax
add eax, 0xa1a4cd79
sub eax, 0xa1a4cd74
mov ecx, 0x41f4b56d
add ecx, 0xe83b4a93
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x100b95a
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1019084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0100ba2d
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.API_MS_Win_Core_SysInfo_L1_1_0.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x100b9fc
cmp dword [ebp - 0x94], 5
jb 0x100b9cf
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x100ba18
call fcn.01006223
test eax, eax
jl 0x100f3bb
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001c90
leave
ret
cmp dword [ebp - 0x88], 1
je 0x100f3a3
jmp 0x100b9cf
cmp dword [ebp - 0x90], 0
jbe 0x100b9cf
jmp 0x100b9cb
cmp dword [ebp - 0x94], 4
ja 0x100b9cb
je 0x100ba0b
jmp 0x100b9cf
mov byte [0x1019614], 1
jmp 0x100b9ed

Function at 0x1012d1a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1012d73
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1012d65
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1012d61
cmp esi, eax
jae 0x1012d65
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1012d53
cmp esi, eax
jb 0x1012d69
xor eax, eax
jmp 0x1012d72
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc

Function at 0x101d4e5
Capabilities:
Encode data using xor

Disassembly:
mov dword [ebp + 0x6723], esi
inc dh
push 0x25d25639
call fcn.0101d552
lea eax, [esp + 0x28]
mov dword [esp + 0x4c], esi
mov edx, 0xf7e600e5
xchg esi, eax
push 0x20
xchg edx, edx
setnp ah
xchg ch, dl
mov edi, dword [esp + 0x4c]
push 8
dec edx
xor dl, cl
push esp
test edx, 0x5085127c
mov dl, 0x54
call edi
call dword [esp + 0x50]
dec byte [esp]
jne 0x101d3ca
inc eax
inc edi
dec edi
cld
pop eax
xchg dl, ch
push 1
mov edi, edx
call fcn.0101d4d0
pop dword [esi + 0x1c]
mov dword [esi + 0x14], 0xc
dec dl
inc cl
lea ecx, [0xa40d3bf9]
not ecx
dec ecx
lea eax, [ebp - 0x23f]
mov edx, 0xf9f4cce0
push eax
lea edi, [edx + 0x1d]
mov dword [esi + 0x18], esi
sub byte [esi + 2], 0xfc
push 4
push 3
xchg cl, dh
and dl, 0x3f
lea esi, [esi + 0x14]
inc edx
push esi
add dword [ebp - 0x16b], ebp
call dword [0x6723]
jmp 0x1023cc8
push 0xb85a79fd
call fcn.0101d552
jmp 0x101d39d
sub dword [ebp - 0x16b], ebp
inc ecx
not ecx
ret