joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009c8f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a48e8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], 0x4f0053
mov dword [ebp - 0x40], 0x540046
mov dword [ebp - 0x3c], 0x410057
mov dword [ebp - 0x38], 0x450052
mov dword [ebp - 0x34], 0x44005c
mov dword [ebp - 0x30], 0x6c006f
mov dword [ebp - 0x2c], 0x680070
mov dword [ebp - 0x28], 0x6e0069
mov dword [ebp - 0x24], 0x610057
mov dword [ebp - 0x20], 0x6c006c
mov dword [ebp - 0x1c], 0x610050
mov dword [ebp - 0x18], 0x650070
mov dword [ebp - 0x14], 0x72
call fcn.1002bc10
mov ecx, eax
test ecx, ecx
je 0x1009c9ea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1002b2d0
test al, al
jne 0x1009c9cb
lea ecx, [ebp - 0x44]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1009c9b0
sub ecx, edx
lea eax, [ebp - 0x44]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1002c4c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.1002a68c
int3
Function at 0x1009daf0
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x100cd004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
js 0x1009dc59
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.1003c6e0
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x228]
push eax
call edi
test esi, esi
jle 0x1009db5f
lea eax, [ebp - 0x228]
push eax
call edi
sub esi, 1
jne 0x1009db51
mov eax, dword [0x100df8c4]
mov esi, dword [eax]
cmp esi, eax
je 0x1009dc59
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x430]
push 0
push eax
call fcn.1003c6e0
add esp, 0xc
lea eax, [ebp - 0x228]
push dword [esi + 0x14]
push eax
lea eax, [ebp - 0x430]
push eax
call edi
lea eax, [ebp - 0x430]
push eax
call ebx
mov ecx, dword [esi + 0x10]
test eax, eax
jne 0x1009dc80
mov dword [ebp - 0x20], 0x360033
mov dword [ebp - 0x1c], 0x770030
mov dword [ebp - 0x18], 0x610070
mov dword [ebp - 0x14], 0x700070
mov dword [ebp - 0x10], 0x65002e
mov dword [ebp - 0xc], 0x650078
mov word [ebp - 8], ax
cmp ecx, 3
jne 0x1009dc11
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x430]
push eax
call edi
lea eax, [ebp - 0x430]
push eax
call ebx
test eax, eax
jne 0x1009dc6c
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1009dc37
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1009dc33
cmp esi, dword [eax + 8]
jne 0x1009dc33
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1009dc23
mov esi, eax
jmp 0x1009dc4d
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1009dc4d
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1009dc41
cmp esi, dword [0x100df8c4]
jne 0x1009db80
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10023eda
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10023eda
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x3ae47a7e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x55a0e2c
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4021b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43ff7f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4558d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
lea ecx, [esi + 0x34]
mov dword [esi], vtable.CIDMHTMLParser.2.0
mov dword [esi + 4], vtable.CIDMHTMLParser.1.0
mov dword [esi + 8], vtable.CIDMHTMLParser.0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], 0x80040202
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
call fcn.00401ac0
mov dword [esp + 0x18], edi
lea ecx, [esi + 0x50]
call fcn.0040d890
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x7c]
mov dword [esi + 0x78], edi
call fcn.004020b0
mov byte [esp + 0x18], 2
mov dword [esi + 0x80], edi
mov byte [esp + 0x18], 3
mov dword [esi + 0x90], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x84], 1
mov dword [esi + 0xc], edi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4023b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44002c
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4558d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
xor eax, eax
mov dword [esi], vtable.CIDMPlugProtHandler.0
mov dword [esp + 0x10], ecx
mov dword [ecx], eax
mov edx, 1
mov dword [esp + 0x1c], edx
lea ecx, [esi + 8]
mov dword [esp + 0x10], ecx
mov dword [ecx], eax
mov byte [esp + 0x1c], 3
mov dword [esi + 0x14], eax
mov byte [esp + 0x1c], 4
mov dword [esi + 0x18], eax
mov byte [esp + 0x1c], 5
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov dword [esi + 0x50], eax
add dword [0x456c88], edx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
lea eax, [esi + 0x30]
push eax
call edi
lea ecx, [esi + 0x40]
push ecx
call edi
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x403020
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4401b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4558d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, dword [0x456c80]
test ecx, ecx
je 0x403070
call fcn.00408df0
mov ecx, dword [0x456c80]
test ecx, ecx
je 0x403070
push 1
call fcn.00402bb0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
push 0
push 0
push 0x12
mov eax, dword [0x456cb0]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x4030a8
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403077
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4401b0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4558d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov ecx, dword [0x456c80]
test ecx, ecx
je 0x403070
call fcn.00408df0
mov ecx, dword [0x456c80]
test ecx, ecx
je 0x403070
push 1
call fcn.00402bb0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 4], 2
push 0
push 0
push 0x12
mov eax, dword [0x456cb0]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x4030a8
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4044e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.0041a614

Function at 0x4050f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x405109
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405144
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x405140
lea ebx, [ebx]
cmp esi, eax
jae 0x405144
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x405130
cmp esi, eax
jb 0x40514a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x407c20
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [0x456cc4], 0
jne 0x407c7b
lea eax, [esp]
push eax
push 0
push 0
push 0x4062a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x456cc4], eax
test eax, eax
je 0x407c72
mov eax, dword [0x456cc0]
test eax, eax
jne 0x407c80
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
lea ebx, [ebx]
push 1
push 0
call esi
mov eax, dword [0x456cc0]
test eax, eax
je 0x407c60
pop esi
pop ecx
ret
xor eax, eax
mov dword [0x456cc0], eax
pop ecx
ret
mov eax, dword [0x456cc0]
pop ecx
ret
Function at 0x40e8f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [0x4558d0]
xor eax, esp
mov dword [esp + 8], eax
mov al, 0x61
mov byte [esp], al
mov byte [esp + 4], al
lea eax, [esp]
push esi
mov esi, dword [esp + 0x14]
mov byte [esp + 5], 0x71
mov byte [esp + 6], 0x73
mov byte [esp + 7], 0x7c
mov byte [esp + 9], 0x79
mov byte [esp + 0xa], 0
lea edx, [eax + 1]
jmp 0x40e930
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e930
sub eax, edx
xor ecx, ecx
test eax, eax
jle 0x40e94a
nop
xor byte [esp + ecx + 4], 0x12
inc ecx
cmp ecx, eax
jl 0x40e940
lea eax, [esp + 4]
push eax
push 0x444384
push esi
call fcn.00406280
mov ecx, dword [esp + 0x18]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.0042cc02
add esp, 0xc
ret

Function at 0x40e970
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x14
mov eax, dword [0x4558d0]
xor eax, esp
mov dword [esp + 0x10], eax
mov al, 0x20
mov dl, 0x25
mov cl, 0x21
mov byte [esp + 5], al
mov byte [esp + 0xb], al
lea eax, [esp]
push esi
mov esi, dword [esp + 0x1c]
mov byte [esp + 6], dl
mov byte [esp + 0xc], dl
mov byte [esp + 4], 0x2b
mov byte [esp + 5], 0x26
mov byte [esp + 7], cl
mov byte [esp + 8], 0x24
mov byte [esp + 0xa], 0x22
mov byte [esp + 0xb], 0x27
mov byte [esp + 0xd], 0x23
mov byte [esp + 0xe], 0x2b
mov byte [esp + 0x10], 0x2a
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], 0x26
mov byte [esp + 0x13], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40e9e0
sub eax, edx
xor ecx, ecx
test eax, eax
jle 0x40e9fa
nop
xor byte [esp + ecx + 4], 0x12
inc ecx
cmp ecx, eax
jl 0x40e9f0
lea eax, [esp + 4]
push eax
push 0x444384
push esi
call fcn.00406280
mov ecx, dword [esp + 0x20]
add esp, 0xc
pop esi
xor ecx, esp
call fcn.0042cc02
add esp, 0x14
ret
Function at 0x40ebe0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x3c
mov eax, dword [0x4558d0]
xor eax, esp
mov dword [esp + 0x38], eax
mov al, 0x7c
push ebx
mov bl, 0x7d
mov cl, 0x77
mov byte [esp + 0x22], al
mov byte [esp + 0x26], al
mov dl, 0x32
mov byte [esp + 0x2b], bl
mov byte [esp + 0x2d], al
mov byte [esp + 0x2f], bl
mov bl, 0x73
mov byte [esp + 0x35], al
lea eax, [esp + 0x18]
push esi
mov esi, dword [esp + 0x48]
mov byte [esp + 0x28], cl
mov byte [esp + 0x2b], cl
mov byte [esp + 0x3c], cl
mov byte [esp + 0x1c], 0x41
mov byte [esp + 0x1d], 0x5d
mov byte [esp + 0x1e], 0x54
mov byte [esp + 0x1f], 0x46
mov byte [esp + 0x20], 0x45
mov byte [esp + 0x21], 0x53
mov byte [esp + 0x22], 0x40
mov byte [esp + 0x23], 0x57
mov byte [esp + 0x24], 0x4e
mov byte [esp + 0x25], 0x5b
mov byte [esp + 0x27], 0x66
mov byte [esp + 0x29], 0x60
mov byte [esp + 0x2c], 0x66
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], 0x56
mov byte [esp + 0x30], 0x65
mov byte [esp + 0x32], 0x7e
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], 0x76
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], 0x5f
mov byte [esp + 0x38], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x75
mov byte [esp + 0x3d], 0x60
mov byte [esp + 0x3e], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40eca6
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x40ecbf
xor byte [esp + ecx + 0x1c], 0x12
inc ecx
cmp ecx, eax
jl 0x40ecb5
lea eax, [esp + 0x1c]
push eax
push 0x444384
push esi
call fcn.00406280
mov al, 0x61
add esp, 0xc
mov cl, 0x20
mov dl, 0x27
mov byte [esp + 0xf], al
mov byte [esp + 0x12], al
mov byte [esp + 0x16], al
lea eax, [esp + 8]
pop esi
mov byte [esp + 8], cl
mov byte [esp + 0xa], bl
mov byte [esp + 0x13], cl
mov byte [esp + 4], dl
mov byte [esp + 5], 0x2a
mov byte [esp + 6], 0x50
mov byte [esp + 7], 0x57
mov byte [esp + 9], 0x22
mov byte [esp + 0xc], 0x66
mov byte [esp + 0xd], 0x26
mov byte [esp + 0xf], 0x7b
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], 0x7e
mov byte [esp + 0x14], 0x56
mov byte [esp + 0x15], 0x23
mov byte [esp + 0x16], 0x21
mov byte [esp + 0x17], 0
lea ecx, [eax + 1]
pop ebx
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40ed40
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x40ed59
nop
xor byte [esp + ecx], 0x12
inc ecx
cmp ecx, eax
jl 0x40ed50
lea ecx, [esp]
push ecx
push 0x444384
push 0x456cec
call fcn.00406280
mov eax, dword [0x456cec]
mov ecx, dword [esp + 0x44]
add esp, 0xc
xor ecx, esp
mov dword [0x456cd4], eax
mov dword [0x456cd8], eax
call fcn.0042cc02
add esp, 0x3c
ret
Function at 0x40f650
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4413d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4558d0]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov eax, dword [0x4558d0]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x7c]
lea ecx, [esp + 0xc]
call fcn.004020b0
mov dword [esp + 0x74], 0
lea eax, [esp + 0xc]
push eax
call fcn.0040e8f0
push 0x32
lea ecx, [esp + 0x3c]
push 0
push ecx
call fcn.0042cc70
mov ecx, dword [esp + 0x1c]
add esp, 0x10
lea edx, [esp + 0x18]
push edx
mov edx, dword [0x456cd0]
lea eax, [esp + 0x38]
push eax
push 0
push 0
push ecx
push edx
mov dword [esp + 0x30], 0x32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40f6ff
push edi
call fcn.0040f1f0
add esp, 4
mov esi, eax
mov dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402120
mov eax, esi
jmp 0x40f82a
lea ecx, [esp + 0x10]
call fcn.004020b0
mov byte [esp + 0x74], 1
lea eax, [esp + 0x10]
push eax
call fcn.0040e970
add esp, 4
mov dword [esp + 0x14], vtable.CProtection.0
mov byte [esp + 0x74], 2
mov ecx, dword [esp + 0x10]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40f730
sub eax, esi
push eax
push ecx
push 0x28
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x24]
call fcn.004051b0
mov al, 0x73
mov byte [esp + 0x21], al
mov byte [esp + 0x27], al
mov al, 0x61
mov cl, 0x4e
mov dl, 0x51
mov byte [esp + 0x28], al
mov byte [esp + 0x29], al
mov byte [esp + 0x2b], al
lea eax, [esp + 0x1c]
mov byte [esp + 0x24], cl
mov byte [esp + 0x2c], cl
mov byte [esp + 0x32], cl
mov byte [esp + 0x1c], 0x41
mov byte [esp + 0x1d], 0x7d
mov byte [esp + 0x1e], 0x74
mov byte [esp + 0x1f], 0x66
mov byte [esp + 0x20], 0x65
mov byte [esp + 0x22], 0x60
mov byte [esp + 0x23], 0x77
mov byte [esp + 0x25], dl
mov byte [esp + 0x26], 0x7e
mov byte [esp + 0x2a], 0x77
mov byte [esp + 0x2d], dl
mov byte [esp + 0x2e], 0x5e
mov byte [esp + 0x2f], 0x41
mov byte [esp + 0x30], 0x5b
mov byte [esp + 0x31], 0x56
mov byte [esp + 0x33], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40f7c8
sub eax, ecx
xor ecx, ecx
test eax, eax
jle 0x40f7e1
xor byte [esp + ecx + 0x1c], 0x12
inc ecx
cmp ecx, eax
jl 0x40f7d7
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x20]
push eax
push 0x444960
push edi
call fcn.00406280
add esp, 0x10
mov byte [esp + 0x74], 1
mov dword [esp + 0x14], vtable.CProtection.0
mov byte [esp + 0x74], 0
lea ecx, [esp + 0x10]
call fcn.00402120
mov dword [esp + 0x74], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00402120
mov eax, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.0042cc02
add esp, 0x6c
ret
Function at 0x4174e1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x417528
call fcn.0041afe2
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x417528
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x417544
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041705b
mov esi, eax
test edi, edi
je 0x417542
test ebx, ebx
je 0x417542
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41834f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x441dd5
call fcn.0042e120
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x418374
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4183ba
lea ecx, [ebp - 0x10]
call fcn.004020b0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040fcb2
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401270
mov eax, esi
call fcn.0042e1f8
ret 8

Function at 0x41d3d2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41d41a
call fcn.0041afe2
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d41a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41d45d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41d446
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41d446
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41d45a
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42cc02
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4558d0]
jne 0x42cc0c
repz ret
jmp fcn.0043267c

Function at 0x43b3a5
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.00432064
and dword [ebp - 4], 0
cmp dword [0x459924], 0
mov ebx, eax
jne 0x43b456
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43b507
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x449414
push edi
call esi
test eax, eax
je 0x43b507
push eax
call fcn.00431ff2
mov dword [esp], 0x449404
push edi
mov dword [0x459924], eax
call esi
push eax
call fcn.00431ff2
mov dword [esp], 0x4493f0
push edi
mov dword [0x459928], eax
call esi
push eax
call fcn.00431ff2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45992c], eax
call esi
push eax
call fcn.00431ff2
pop ecx
mov dword [0x459934], eax
test eax, eax
je 0x43b456
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00431ff2
pop ecx
mov dword [0x459930], eax
mov eax, dword [0x459930]
cmp eax, ebx
je 0x43b4ae
cmp dword [0x459934], ebx
je 0x43b4ae
push eax
call fcn.0043206d
push dword [0x459934]
mov esi, eax
call fcn.0043206d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43b4ae
test edi, edi
je 0x43b4ae
call esi
test eax, eax
je 0x43b4a5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43b4a5
test byte [ebp - 0xc], 1
jne 0x43b4ae
or dword [ebp + 0x10], 0x200000
jmp 0x43b4e7
mov eax, dword [0x459928]
cmp eax, ebx
je 0x43b4e7
push eax
call fcn.0043206d
pop ecx
test eax, eax
je 0x43b4e7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43b4e7
mov eax, dword [0x45992c]
cmp eax, ebx
je 0x43b4e7
push eax
call fcn.0043206d
pop ecx
test eax, eax
je 0x43b4e7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459924]
call fcn.0043206d
pop ecx
test eax, eax
je 0x43b507
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43b509
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret