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

Disassembly:
push 0xffffffffffffffff
push 0x46ed55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 2
push 1
mov dword [esp + 0xc], esi
call fcn.004359cf
push 2
push 0
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], 0
call fcn.004359cf
push 0xa
push 0x80020004
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 1
call fcn.00435a05
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 2
call fcn.0046a0ed
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 3
call fcn.0046a0ed
lea ecx, [esi + 0x40]
mov byte [esp + 0x10], 4
call fcn.0046a0ed
lea ecx, [esi + 0x48]
mov byte [esp + 0x10], 5
call fcn.0046a0ed
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 6
call fcn.0046a0ed
lea ecx, [esi + 0x58]
mov byte [esp + 0x10], 7
call fcn.0046a0ed
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x407dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46edb5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], 7
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esi + 0x58]
call fcn.0046a1fe
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 6
call fcn.0046a1fe
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 5
call fcn.0046a1fe
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 4
call fcn.0046a1fe
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 3
call fcn.0046a1fe
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.0046a1fe
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esi + 0x20]
push eax
call edi
lea ecx, [esi + 0x10]
push ecx
call edi
push esi
call edi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x407dd6
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46edb5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 0x14], 7
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esi + 0x58]
call fcn.0046a1fe
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 6
call fcn.0046a1fe
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 5
call fcn.0046a1fe
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 4
call fcn.0046a1fe
lea ecx, [esi + 0x38]
mov byte [esp + 0x14], 3
call fcn.0046a1fe
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.0046a1fe
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esi + 0x20]
push eax
call edi
lea ecx, [esi + 0x10]
push ecx
call edi
push esi
call edi
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x407e99
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46edc8
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov esi, ecx
lea ebx, [esi + 0x30]
push 0
push str.Excel.Application
mov ecx, ebx
mov dword [esp + 0x1c], 0
call fcn.0046a1ab
test eax, eax
push 0
jne 0x407eac
push 0
push 0x48b844
call fcn.0045b199
push 1
call fcn.0043cbfb
mov ecx, ebx
call fcn.00407a30
push 1
mov ecx, ebx
lea edi, [esi + 0x38]
call fcn.00407960
push eax
mov ecx, edi
call fcn.0046a1e5
lea eax, [esi + 0x20]
mov ecx, edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.00407b50
lea edi, [esi + 0x40]
push 1
push eax
mov ecx, edi
call fcn.0046a1e5
push 1
mov ecx, edi
call fcn.00407ae0
push eax
lea ecx, [esi + 0x48]
call fcn.0046a1e5
push 1
mov ecx, esi
call fcn.00407f30
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call fcn.00453350
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x40a2d0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
ret 8

Function at 0x40a300
Capabilities:
Read file on windows

Disassembly:
mov edx, dword [esp + 8]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 8]
ret 8

Function at 0x40a640
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
xor esi, esi
mov cl, byte [eax + 2]
mov bl, byte [eax + 1]
mov dl, byte [eax + 3]
add cl, bl
add cl, dl
and edx, 0xff
jle 0x40a668
mov bl, byte [eax + esi + 4]
add cl, bl
inc esi
cmp esi, edx
jl 0x40a65d
mov byte [esi + eax + 4], cl
mov bl, byte [eax + 4]
xor ecx, ecx
xor bl, 0x57
mov cl, byte [eax + 3]
mov byte [eax + 4], bl
inc ecx
cmp ecx, 1
jle 0x40a6a1
mov esi, 0xfffffffc
lea ecx, [eax + 5]
sub esi, eax
mov dl, byte [ecx - 1]
mov bl, byte [ecx]
xor bl, dl
mov byte [ecx], bl
xor ebx, ebx
mov bl, byte [eax + 3]
inc ecx
inc ebx
lea edx, [esi + ecx]
cmp edx, ebx
jl 0x40a68a
xor ecx, ecx
pop esi
mov cl, byte [eax + 3]
pop ebx
mov eax, ecx
add eax, 5
ret 4
Function at 0x40a6e0
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [ecx + 5]
mov dl, byte [ecx + 0x78]
cmp al, dl
jne 0x40a744
mov dl, byte [ecx + 0x79]
mov al, byte [ecx + 6]
cmp al, dl
jne 0x40a744
mov al, byte [ecx + 0x7a]
test al, al
jne 0x40a744
xor eax, eax
push ebx
mov al, byte [ecx + 0x7b]
push esi
test eax, eax
jle 0x40a713
mov bl, byte [ecx + eax + 0x7b]
xor byte [ecx + eax + 0x7c], bl
dec eax
test eax, eax
jg 0x40a706
mov bl, byte [ecx + 0x7c]
xor eax, eax
xor bl, 0x57
mov byte [ecx + 0x7c], bl
mov bl, byte [ecx + 0x7b]
mov esi, ebx
add dl, bl
and esi, 0xff
jle 0x40a738
mov bl, byte [ecx + eax + 0x7c]
add dl, bl
inc eax
cmp eax, esi
jl 0x40a72d
mov bl, byte [eax + ecx + 0x7c]
pop esi
cmp dl, bl
pop ebx
sete al
ret
xor al, al
ret

Function at 0x417ca0
Capabilities:
Resume thread

Disassembly:
push esi
push edi
push 0
push 4
push 0
push 0
mov esi, ecx
push 0x476fe8
call fcn.00454770
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x80]
lea edi, [esi + 0x60]
push eax
push esi
push ecx
mov ecx, edi
call fcn.0042ba10
mov edx, dword [esp + 0xc]
mov ecx, edi
push edx
call fcn.0042b860
mov ecx, dword [esi + 0x7c]
push edi
call fcn.0042cdb0
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
ret 4

Function at 0x41b420
Capabilities:
Resume thread

Disassembly:
push esi
push edi
push 0
push 4
push 0
push 0
mov esi, ecx
push 0x476fe8
call fcn.00454770
mov dword [esi + 0xf8], eax
call fcn.0045475b
test eax, eax
je 0x41b44e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x41b450
xor eax, eax
mov ecx, dword [esi + 0xfc]
mov edx, dword [esi + 0x1c]
lea edi, [esi + 0xdc]
push ecx
push eax
push edx
mov ecx, edi
call fcn.0042ba10
mov eax, dword [esp + 0xc]
mov ecx, edi
push eax
call fcn.0042b860
mov ecx, dword [esi + 0xf8]
push edi
call fcn.0042cdb0
mov ecx, dword [esi + 0xf8]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
ret 4
Function at 0x4271b0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
sub esp, 0x5c
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 4], 0x2c1cb98
mov dword [esp + 8], 0x2c1d07a
mov al, byte [edi]
mov dword [esp + 0xc], 0x2c1d55c
cmp al, 0x30
mov dword [esp + 0x10], 0x2c1da3e
mov dword [esp + 0x14], 0x2c1df20
mov dword [esp + 0x18], 0x2c1e402
mov dword [esp + 0x1c], 0x2c1e8e4
mov dword [esp + 0x20], 0x2c1edc6
mov dword [esp + 0x24], 0x2c1f2a8
mov dword [esp + 0x28], 0x2c1f78a
mov dword [esp + 0x2c], 0x2c1fc6c
mov dword [esp + 0x30], 0x2c2014e
mov dword [esp + 0x34], 0x2c20630
mov dword [esp + 0x38], 0x2c20b12
mov dword [esp + 0x3c], 0x2c20ff4
mov dword [esp + 0x40], 0x2c96cb8
mov dword [esp + 0x44], 0x2c9767c
mov dword [esp + 0x48], 0x2c98040
mov dword [esp + 0x4c], 0x2c98a04
mov dword [esp + 0x50], 0x2c993c8
mov dword [esp + 0x54], 0x2c99d8c
mov dword [esp + 0x58], 0x2c9a750
mov dword [esp + 0x5c], 0x2c9b114
jl 0x427386
cmp al, 0x39
jg 0x427386
mov dl, byte [edi]
push ebx
xor ecx, ecx
xor eax, eax
xor bl, bl
push ebp
test dl, dl
push esi
je 0x4272b6
cmp ecx, 9
jge 0x4272c5
mov dl, byte [ecx + edi]
cmp dl, 0x2e
je 0x4272a8
movsx edx, dl
lea eax, [eax + eax*4]
lea eax, [edx + eax*2 - 0x30]
mov dl, byte [ecx + edi + 1]
inc ecx
test dl, dl
jne 0x427291
cmp ecx, 9
jge 0x4272c5
mov edx, 9
sub edx, ecx
lea eax, [eax + eax*4]
shl eax, 1
dec edx
jne 0x4272bd
cmp byte [edi + 2], 0x2e
jne 0x4272cd
xor eax, eax
xor ecx, ecx
cmp eax, 0x2c1cb98
jle 0x4272fa
lea edx, [esp + 0x10]
cmp ecx, 0x1e
jge 0x4272ea
mov esi, dword [edx + 4]
add edx, 4
inc ecx
cmp eax, esi
jg 0x4272da
cmp ecx, 0x17
jl 0x4272f6
mov ecx, 0x2c1cb98
jmp 0x427345
test ecx, ecx
jne 0x427301
mov ecx, 0x2c1cb98
jmp 0x427345
mov ebp, dword [esp + ecx*4 + 0xc]
mov esi, dword [esp + ecx*4 + 0x10]
mov edx, eax
sub esi, eax
sub edx, ebp
lea eax, [ecx - 1]
cmp esi, edx
jg 0x427318
mov eax, ecx
mov ecx, dword [esp + eax*4 + 0x10]
cmp eax, 1
je 0x427343
cmp eax, 3
je 0x427343
cmp eax, 5
je 0x427343
cmp eax, 7
je 0x427343
cmp eax, 9
je 0x427343
cmp eax, 0xb
je 0x427343
cmp eax, 0xd
je 0x427343
xor bl, bl
jmp 0x427345
mov bl, 1
mov esi, 9
cmp esi, 4
je 0x427373
mov eax, ecx
mov ebp, 0xa
cdq
idiv ebp
mov eax, 0x66666667
add dl, 0x30
mov byte [esi + edi - 1], dl
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ecx, edx
dec esi
test esi, esi
jg 0x42734a
pop esi
mov al, bl
pop ebp
mov byte [edi + 3], 0x2e
pop ebx
pop edi
add esp, 0x5c
ret
mov byte [edi], 0
mov al, 1
pop edi
add esp, 0x5c
ret
Function at 0x42cff6
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47131e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0
mov dword [esp + 8], esi
call fcn.004671e3
push fcn.00453350
push 0x426600
push 0x20
lea eax, [esi + 0xc0]
push 4
push eax
mov dword [esp + 0x24], 0
call fcn.0043c9d3
push fcn.00453350
push 0x426600
push 0x13b
lea ecx, [esi + 0x8234]
push 4
push ecx
mov byte [esp + 0x24], 1
call fcn.0043c9d3
lea edx, [esi + 0x81b4]
mov byte [esp + 0x10], 2
push edx
push 0x40
mov dword [esi], method.CWinApp.virtual_0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 1
mov ecx, esi
call fcn.0042d460
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, 0x490fe0
jmp 0x42cfe0
Function at 0x447679
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4476d1
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 8]
push esi
push esi
push 0x490fd0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4476c4
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4476d3
xor eax, eax
pop esi
leave
ret 4
Function at 0x44b8e0
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.0043d050
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44b9ab
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 0x44b9ab
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44b95e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x44b969
or bh, 8
and edi, 0x8000000
je 0x44b984
mov eax, dword [0x49cffc]
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 0x44b9ab
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 0x44bd80
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 0x44bdab
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 0x44bdcf
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 0x44bdea
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 0x44f11e
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 0x44f140
cmp dword [edi + 0x3c], 0
jne 0x44f140
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00466019
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.0044f16d
pop edi
pop esi
pop ebx
ret 8

Function at 0x44f1bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00466019
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44f1ec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.0044f1ff
pop edi
pop esi
pop ebx
ret 8

Function at 0x4507d3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x45080b
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.004537f7
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004537cf
jmp 0x450817
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x45081b
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x49b100
mov ecx, edi
call fcn.004534d9
cmp dword [esi + 0x34], 0
push dword [esp + 0xc]
jne 0x45086e
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x450881
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.004537f7
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004537cf
jmp 0x450881
mov ecx, esi
call fcn.00452c6e
test eax, eax
je 0x450881
push edi
mov ecx, eax
call fcn.004507d3
mov eax, dword [edi]
pop edi
pop esi
mov eax, dword [eax - 8]
ret 8

Function at 0x45246b
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 0x4524ad
call fcn.00466019
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4524ad
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4524a4
xor eax, eax
jmp 0x4524b5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004524bb
pop edi
pop esi
pop ebx
ret 4
Function at 0x466c82
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.00466019
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x466cbf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x466cbf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x466cc3
xor eax, eax
jmp 0x466d41
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00453091
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x466cfb
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 0x466ce5
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.00466e32
push ebx
mov edi, eax
call fcn.004530ba
test edi, edi
pop ecx
je 0x466d3d
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.00466bfb
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00466d46
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x10003880
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10166afd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea esi, [edi + 0x44]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
lea ecx, [esi + 0x60]
call fcn.10009450
mov byte [ebp - 4], 4
lea ecx, [esi + 0x48]
call fcn.10009450
mov byte [ebp - 4], 3
lea ecx, [esi + 0x30]
call fcn.10009450
mov byte [ebp - 4], 2
lea ecx, [esi + 0x18]
call fcn.10009450
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.10009450
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 7
lea ecx, [edi + 0x1c]
call fcn.10009450
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 4]
call fcn.10009450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001c4a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016aff5
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10207514]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov byte [ecx], 0
xor eax, eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 7
mov word [ecx + 0xc], ax
mov dword [ebp - 4], eax
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x38], 7
mov word [ecx + 0x24], ax
mov byte [ebp - 4], 1
xor edx, edx
mov byte [ecx + 0x3c], al
mov dword [ecx + 0x40], eax
lea eax, [ecx + 0x4c]
mov dword [ecx + 0x44], 0x708
mov dword [ecx + 0x48], 1
mov dword [ebp - 0x14], eax
mov dword [eax], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 7
mov word [eax + 4], dx
mov byte [ebp - 4], 2
mov dword [eax + 0x2c], edx
mov dword [eax + 0x30], 7
mov word [eax + 0x1c], dx
mov byte [ebp - 4], 3
mov word [eax + 0x34], dx
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ecx + 0x94], edx
mov dword [ecx + 0x98], 7
mov word [ecx + 0x84], ax
mov byte [ebp - 4], 5
mov dword [ecx + 0x9c], eax
mov dword [ecx + 0xa0], eax
mov dword [ebp - 4], 0xffffffff
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret