joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ec10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x438a87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], ebx
call fcn.0040cb50
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
and eax, 0xffff
push 0x447e64
push eax
push esi
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.0040ee60
cmp esi, ebx
mov byte [esp + 0x28], 3
je 0x40ed42
push 6
push 6
lea ecx, [esp + 0x18]
call fcn.0041d2e0
test al, al
je 0x40ed42
mov ecx, dword [esp + 0x10]
push ebp
push esi
mov edx, dword [ecx]
call dword [edx + 0x18]
test al, al
je 0x40ed42
mov ecx, dword [esp + 0x40]
sub esp, 8
mov eax, esp
mov dword [esp + 0x40], esp
push ecx
lea edx, [esp + 0x1c]
mov dword [eax + 4], ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov dword [eax], 0x43b9e8
call fcn.0040ee00
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 4
call fcn.0040edf0
mov edx, dword [eax]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
mov byte [esp + 0x3c], 3
call dword [edx + 0x84]
mov ecx, eax
call fcn.004244b0
lea ecx, [esp + 0x34]
mov byte [esp + 0x38], al
call fcn.00423f80
cmp byte [esp + 0x38], bl
je 0x40ed42
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.0041dc40
mov dword [esp + 0x1c], 1
jmp 0x40ed50
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1c], 1
mov dword [esi], ebx
lea ecx, [esp + 0x14]
call fcn.0041d2c0
lea ecx, [esp + 0x10]
call fcn.0041d2c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.0041d370
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x410500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438b90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 1
call fcn.00410460
push 0
push 1
lea ecx, [esp + 0x30]
lea edi, [esi + 0x40]
call fcn.00422b90
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00422540
mov ecx, eax
call fcn.004244b0
lea ecx, [esp + 0xc]
mov bl, al
call fcn.00423f80
test bl, bl
je 0x410609
mov ecx, edi
call fcn.00421950
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x410598
cmp byte [eax], 0
je 0x410598
push 0
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004212a0
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
call fcn.00421930
lea ecx, [esp + 0x24]
jmp 0x4105bc
push 0
lea edx, [esp + 0x28]
push 0x446444
push edx
lea ecx, [esp + 0x2c]
call fcn.004212a0
lea edi, [esi + 0x3c]
push eax
mov ecx, edi
call fcn.00421930
lea ecx, [esp + 0x24]
call fcn.0041d370
sub esp, 8
lea ecx, [esi + 0x5c]
mov eax, esp
mov dword [esp + 0x14], esp
mov byte [eax + 4], 0xa
mov dword [eax], 0x43b794
mov eax, dword [esi + 0x44]
push eax
call fcn.004219b0
mov ecx, edi
call fcn.0041f030
mov ecx, dword [esp + 0x2c]
mov dword [esi + 0x48], eax
test ecx, ecx
jl 0x4105f7
cmp ecx, dword [esi + 0x44]
jl 0x4105fc
mov ecx, 0x80000000
mov dword [esi + 0x4c], ecx
push 0
push eax
mov ecx, esi
call fcn.0042de19
mov esi, dword [esi + 0x48]
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.0041d370
lea ecx, [esp + 0x28]
mov dword [esp + 0x18], 0xffffffff
call fcn.00422980
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x10

Function at 0x414650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4146a6
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x43c898
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414699
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4146a8
xor eax, eax
pop esi
leave
ret 4
Function at 0x4212a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439c28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi]
mov dword [esp + 0x14], edi
cmp eax, edi
jne 0x4212e3
mov eax, dword [esp + 0x28]
mov dword [eax], edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0xc
mov ecx, esi
call fcn.0041d3b0
cmp al, 0x5a
je 0x421310
push 4
push 0xc8
push edi
push 0xfffffffffffffffc
lea ecx, [esp + 0x38]
call fcn.00423f40
lea eax, [esp + 0x28]
push 0x442e80
push eax
call fcn.00415617
push esi
lea ecx, [esp + 0x10]
call fcn.0041dc40
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edi
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x20], 1
cmp byte [esi], 0x2f
jne 0x421372
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
call fcn.0041f800
push eax
lea ecx, [esp + 0x18]
call fcn.00421930
mov ecx, eax
call fcn.0041d3e0
test al, al
lea ecx, [esp + 0x2c]
sete bl
call fcn.0041d370
test bl, bl
je 0x421371
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.00421930
jmp 0x421330
inc esi
mov dword [esp + 0x10], edi
lea eax, [esp + 0xc]
push 0x7ffffffe
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call fcn.0041f190
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x10]
push ecx
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.0041dc40
mov esi, dword [esp + 0x34]
push esi
call fcn.004213f0
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.0041d370
lea ecx, [esp + 0x14]
call fcn.0041d370
lea ecx, [esp + 0xc]
call fcn.0041d370
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x423b40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi]
cmp eax, ebx
je 0x423c93
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx]
cmp edi, ebx
je 0x423c93
cmp eax, edi
jne 0x423b71
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret 4
mov dl, byte [eax + 6]
cmp dl, byte [edi + 6]
jne 0x423c93
xor edx, edx
mov dl, byte [eax + 6]
mov eax, edx
add eax, 0xfffffff7
cmp eax, 0x20
ja case.0x423b98.13
xor edx, edx
mov dl, byte [eax + 0x423cb4]
jmp dword [edx*4 + 0x423ca0]
call fcn.00423d80
mov ecx, esi
mov edi, eax
call fcn.00423d80
xor ecx, ecx
cmp eax, edi
sete cl
pop edi
pop esi
mov al, cl
pop ebx
add esp, 0x10
ret 4
push ebp
call fcn.00423db0
mov ecx, esi
mov edi, eax
mov ebp, edx
call fcn.00423db0
cmp eax, edi
jne 0x423be7
cmp edx, ebp
jne 0x423be7
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret 4
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 4
call fcn.00423d40
mov ecx, esi
mov edi, eax
mov byte [esp + 0x10], bl
call fcn.00423d40
mov edx, dword [esp + 0x10]
push 1
mov byte [esp + 0x1c], bl
mov ecx, dword [esp + 0x1c]
push 0x7fffffff
push edx
push edi
push ecx
push eax
call fcn.00424dc0
add esp, 0x18
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
add esp, 0x10
ret 4
call fcn.00423d60
mov ecx, esi
mov edi, eax
mov word [esp + 0x18], bx
call fcn.00423d60
mov edx, dword [esp + 0x18]
push 1
mov word [esp + 0x14], bx
mov ecx, dword [esp + 0x14]
push 0x7fffffff
push edx
push edi
push ecx
push eax
call fcn.00424df0
add esp, 0x18
neg eax
sbb eax, eax
pop edi
pop esi
inc eax
pop ebx
add esp, 0x10
ret 4
push 4
push 0xc8
push ebx
lea ecx, [esp + 0x2c]
call fcn.0041f3c0
lea edx, [esp + 0x20]
push 0x442e80
push edx
call fcn.00415617
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10
ret 4

Function at 0x423f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x439f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x1c], 0
call fcn.00423230
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
call fcn.004248d0
add esp, 0x18
mov ecx, esi
mov dword [esi], eax
call fcn.00427cf0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], 0xffffffff
call fcn.00423680
mov ecx, dword [esp + 8]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 0x14
Function at 0x4248d0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43a038
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov al, byte [esp + 0x30]
mov bl, byte [esp + 0x28]
test al, al
mov dword [esp + 0x14], 0
jne 0x424947
cmp byte [esp + 0x24], 1
jne 0x424947
test bl, bl
jne 0x424947
cmp byte [esp + 0x1c], 0x64
jne 0x424947
cmp byte [esp + 0x20], 4
jne 0x424947
lea ecx, [esp + 0x2c]
call fcn.0041d3e0
test al, al
je 0x424947
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00423680
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [0x44ece0]
test ecx, ecx
je 0x42495a
mov eax, dword [ecx]
push 0x10
call dword [eax + 8]
jmp 0x424964
push 0x10
call fcn.00427b80
add esp, 4
mov esi, eax
test esi, esi
je 0x4249d6
mov cl, byte [esp + 0x1c]
mov dl, byte [esp + 0x20]
mov al, byte [esp + 0x24]
lea edi, [esi + 8]
mov byte [esi + 4], cl
mov dword [esi], 0
mov byte [esi + 5], dl
mov byte [esi + 6], al
mov byte [esi + 7], bl
mov dword [edi], 0
lea ecx, [esp + 0x2c]
mov dword [esi + 0xc], 0
call fcn.00422b70
test eax, eax
jle 0x4249b1
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.004237f0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00423680
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
push 4
push 0xc8
push 0
push 0xfffffffffffffffd
lea ecx, [esp + 0x2c]
call fcn.00423f40
lea edx, [esp + 0x1c]
push 0x443780
push edx
call fcn.00415617
nop
nop
nop
nop
nop
nop
nop
call fcn.00424a10
jmp 0x424a20
push 0x424a30
call fcn.00415333
pop ecx
ret
Function at 0x424f00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x43a0de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x3c], ebx
lea edi, [esi + 4]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
mov dword [esi], 0x43ec04
call fcn.00423230
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x4c]
mov dword [esi + 8], ecx
lea ecx, [esi + 0xc]
push edx
call fcn.00423230
lea ebp, [esi + 0x10]
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
call fcn.00423230
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov ecx, edi
mov byte [esi + 0x30], bl
mov dword [esi], 0x43ebc4
call fcn.0041d3e0
test al, al
jne 0x42500f
mov ecx, ebp
call fcn.00423880
test al, al
jne 0x42500f
push edi
lea ecx, [esp + 0x4c]
call fcn.00423230
mov edi, 0x80000000
lea ecx, [esp + 0x24]
push edi
push 0x4464bc
mov byte [esp + 0x44], 0xd
call fcn.00424e60
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esi + 0xc]
call fcn.00422b00
lea edx, [esp + 0x14]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edi
call fcn.00422d10
lea eax, [esp + 0x48]
mov ecx, ebp
push eax
call fcn.00423810
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 0xc
call fcn.00422980
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call fcn.00422980
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3c], bl
call fcn.00422980
lea ecx, [esp + 0x50]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00423680
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0x10
Function at 0x42beb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00415380
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x42bf7b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42bf7b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x42bf2e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x42bf39
or bh, 8
and edi, 0x8000000
je 0x42bf54
mov eax, dword [0x4501fc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x42bf7b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c350
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42c37b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42c39f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x42c3ba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x42e98e
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 0x42e9b0
cmp dword [edi + 0x3c], 0
jne 0x42e9b0
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00434d67
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.0042e9dd
pop edi
pop esi
pop ebx
ret 8

Function at 0x4314bc
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 0x4314fe
call fcn.00434d67
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4314fe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4314f5
xor eax, eax
jmp 0x431506
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0043150c
pop edi
pop esi
pop ebx
ret 4

Function at 0x435ccd
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 0x435cfb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x435d19
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00435c33
jmp 0x435d19
mov eax, dword [esi + 0x14]
test eax, eax
je 0x435d19
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00435c33
test edi, edi
mov eax, edi
jne 0x435d03
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10003dd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x104
push eax
push 1
push 0
push 0x10001cc8
push 0x80000002
mov esi, ecx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003e2d
lea eax, [ebp - 8]
push eax
push esi
push 0
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegQueryValueA]
test eax, eax
jne 0x10003e24
cmp dword [ebp - 8], eax
je 0x10003e24
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x10003e2f
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100076f0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1000772e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10007726
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10007730
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10007716
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10007800
Capabilities:
Parse pe header

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

Function at 0x1000d1f7
Capabilities:
Encode data using xor

Disassembly:
call 0x1000d170
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1000d1a0
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1000d1bc
xor edx, 0
jmp 0x1000d1c7
xor edx, edx
jmp 0x1000d1de
jmp 0x1000d1ea
xor eax, eax
push 0x8427d7c0
call 0x1000d1f7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000d233
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1000d20c
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1000d24a
add eax, 0
jno 0x1000d24f
add esi, 0
ret 0x10
Function at 0x1000dfb8
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1000dfda
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1000e17c
cmp edi, dword [ebp + 0x10]
jb 0x1000e17c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1000daa4
inc edi
jmp 0x1000e063
jmp 0x1000e070
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000daa4
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000daa4
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1000e0c4
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1000e0a8
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000e0f2
add dword [eax], 0x39
jle 0x1000e0ce
sub al, 0xf5
mov ch, al
call fcn.1000e107
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1000fddf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x1000fdf5
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x1000fe06
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1000fe47
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx