joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040f00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1006d283
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.100613f4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.10066a59
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.10067f75
test eax, eax
je 0x1004101c
mov ecx, dword [esp + 0x3c]
call fcn.10066a86
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10040fe0
push edi
mov ecx, esi
call fcn.100640d7
mov ecx, esi
call fcn.10041180
cmp dword [esp + 0x38], 1
jne 0x10041015
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.10064212
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10043a30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10043a63
push esi
call fcn.10046b30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10043a5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10043ae9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10043ad2
mov eax, dword [esi + 8]
test eax, eax
je 0x10043a87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10043ace
cmp eax, 2
je 0x10043ad2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10043a7a
cmp eax, 3
je 0x10043aad
cmp eax, 1
jne 0x10043a7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10043a7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10043a7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10043b10
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10043af8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10043b10
add esp, 4
pop esi
ret

Function at 0x100621d0
Capabilities:
Get graphical window text

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

Function at 0x100638c2
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 0x10063904
call fcn.1006925a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10063904
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100638fb
xor eax, eax
jmp 0x1006390c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10063912
pop edi
pop esi
pop ebx
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0xf34058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00f341a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xf3407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf3406a
add dl, dl
jne 0xf34089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf340dc
xor eax, eax
add dl, dl
jne 0xf34096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xf3417d
add dl, dl
jne 0xf340a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf340b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf340bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf340c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xf340d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xf34075
mov eax, 1
add dl, dl
jne 0xf340ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xf340f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf340e1
sub eax, ebx
mov ebx, 1
jne 0xf34128
mov ecx, 1
add dl, dl
jne 0xf3410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf34119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf34105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf34075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xf3413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xf3414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xf34136
cmp eax, 0x7d00
jae 0xf3416d
cmp eax, 0x500
jb 0xf34168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf34075
cmp eax, 0x7f
ja 0xf34170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xf34075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xf3419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xf34075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10003a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10065110
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
mov ebp, ecx
push esi
lea ecx, [esp + 0x10]
xor esi, esi
lea eax, [ebp + 0x3c8]
push eax
push 0x100833e8
push ecx
call fcn.1004b253
push 0x10083174
lea edx, [esp + 0x10]
push eax
push edx
mov dword [esp + 0x30], esi
call fcn.1004b1df
push eax
lea ecx, [ebp + 0x74]
mov byte [esp + 0x28], 1
call fcn.1004b083
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.1004af4a
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.1004af4a
mov eax, dword [ebp + 0x68]
lea ebx, [ebp + 0x68]
mov ecx, ebx
call dword [eax + 0x30]
mov edx, dword [ebx]
push 2
push 1
mov ecx, ebx
call dword [edx + 0x14]
mov eax, dword [ebp + 0x414]
push esi
push esi
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebp + 0x130], esi
jne 0x10003c0e
push edi
lea edi, [ebp + 0x3f8]
mov eax, dword [ebp + 0x188]
push 0
push 0
push 0
push 0
push eax
push esi
push 1
mov ecx, edi
call fcn.10044eba
mov eax, dword [ebp + 0x3cc]
mov ecx, edi
push eax
push 1
push esi
call fcn.10044f31
mov eax, dword [ebp + 0x178]
mov ecx, edi
push eax
push 2
push esi
call fcn.10044f31
lea eax, [ebp + 0x178]
lea ecx, [esp + 0x10]
push eax
push 0x10083178
push ecx
call fcn.1004b253
push 0x10083174
lea edx, [esp + 0x18]
push eax
push edx
mov dword [esp + 0x34], 2
call fcn.1004b1df
push eax
lea ecx, [ebp + 0x198]
mov byte [esp + 0x2c], 3
call fcn.1004b083
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.1004af4a
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.1004af4a
mov eax, dword [ebp + 0x18c]
lea ecx, [ebp + 0x18c]
call dword [eax + 0x30]
mov eax, dword [ebp + 0x2a0]
mov ecx, edi
push eax
push 3
push esi
call fcn.10044f31
mov eax, dword [ebp + 0x180]
mov ecx, edi
push eax
push 4
push esi
call fcn.10044f31
lea ecx, [esp + 0x18]
push str._Y__m__d
push ecx
lea ecx, [ebp + 0x17c]
call fcn.10043f8a
mov eax, dword [eax]
mov ecx, edi
push eax
push 5
push esi
mov dword [esp + 0x34], 4
call fcn.10044f31
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.1004af4a
lea edx, [esp + 0x1c]
push str._Y__m__d
push edx
lea ecx, [ebp + 0x184]
call fcn.10043f8a
mov eax, dword [eax]
mov ecx, edi
push eax
push 6
push esi
mov dword [esp + 0x34], 5
call fcn.10044f31
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], 0xffffffff
call fcn.1004af4a
mov eax, dword [ebx]
push 1
push 1
mov ecx, ebx
call dword [eax + 0x14]
mov eax, dword [ebp + 0x130]
inc esi
test eax, eax
je 0x10003ab3
pop edi
mov edx, dword [ebp + 0x2b8]
lea ecx, [ebp + 0x2b8]
call dword [edx + 0x10]
mov eax, dword [ebp + 0x18c]
lea ecx, [ebp + 0x18c]
call dword [eax + 0x10]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x10]
lea ecx, [ebp + 0x434]
call fcn.1004aed5
push 0
mov ecx, ebp
call fcn.10049963
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x10009330
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x100663e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x24]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
push edi
mov byte [esp + 0xc], 0x5c
mov byte [esp + 0xd], bl
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x28], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebx
lea ecx, [esp + 0x20]
call fcn.1000f9b0
mov esi, dword [esp + 0x30]
mov dl, byte [esp + 0x10]
lea ecx, [esp + 0x10]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x1006c954]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.1000f7b0
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x100093ed
mov al, byte [ecx - 1]
cmp al, bl
je 0x100093e3
cmp al, 0xff
je 0x100093e3
dec al
pop edi
mov byte [ecx - 1], al
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
dec ecx
push ecx
call fcn.1004b557
add esp, 4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x10013070
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100671c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x42c]
lea eax, [esi + 0x17c]
push eax
mov ecx, ebp
call fcn.1004b083
lea ecx, [esi + 0x294]
push ecx
lea ecx, [esi + 0x430]
call fcn.1004b083
mov edx, dword [esi + 0x180]
lea edi, [esi + 0x180]
mov ecx, edi
call dword [edx + 0x24]
mov eax, dword [edi]
mov ecx, edi
mov dword [esi + 0x2a8], 0
call dword [eax + 0x28]
mov edx, dword [esi + 0x2ac]
lea edi, [esi + 0x2ac]
push 0
push 0
push 0xffffffffffffffff
mov ecx, edi
call dword [edx + 0xc]
push ebp
lea eax, [esp + 0x14]
push 0x100833e8
push eax
call fcn.1004b253
push 0x10083174
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x28], 0
call fcn.1004b1df
push eax
lea ecx, [esi + 0x2b8]
mov byte [esp + 0x20], 1
call fcn.1004b083
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.1004af4a
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0xffffffff
call fcn.1004af4a
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x30]
lea eax, [esi + 0x3c0]
lea ecx, [esi + 0x438]
push eax
call fcn.1004b083
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x24]
mov eax, dword [esi + 0x3d8]
mov ecx, edi
dec eax
mov dword [esi + 0x3d8], eax
mov eax, dword [edi]
call dword [eax + 0x28]
mov edx, dword [esi + 0x5c]
lea ecx, [esi + 0x5c]
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x1001b6be
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x14], edi
mov ebx, ecx
je 0x1001b6fc
call fcn.1005c7e3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1001b6fc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1001b713
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push 1
test edi, edi
pop eax
je 0x1001b713
push dword [esp + 0x18]
mov eax, dword [ebx]
mov ecx, ebx
push edi
push dword [esp + 0x18]
call dword [eax + 0x1c]
pop edi
pop esi
pop ebx
ret 0xc
Function at 0x10042c60
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.10024600
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x10042d2b
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 0x10042d2b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x10042cde
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x10042ce9
or bh, 8
and edi, 0x8000000
je 0x10042d04
mov eax, dword [0x1008d17c]
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 0x10042d2b
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 0x10043100
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 0x1004312b
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 0x1004314f
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 0x1004316a
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 0x1004694a
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 0x1004696c
cmp dword [edi + 0x3c], 0
jne 0x1004696c
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.1005c7e3
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.10046999
pop edi
pop esi
pop ebx
ret 8

Function at 0x100469e7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.1005c7e3
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 0x10046a18
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.10046a2b
pop edi
pop esi
pop ebx
ret 8

Function at 0x10047fff
Capabilities:
Get graphical window text

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

Function at 0x10049bd0
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 0x10049c12
call fcn.1005c7e3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x10049c12
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x10049c09
xor eax, eax
jmp 0x10049c1a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.10049c20
pop edi
pop esi
pop ebx
ret 4
Function at 0x1005e0ce
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.1005c7e3
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1005e10b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1005e10b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1005e10f
xor eax, eax
jmp 0x1005e18d
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.1004b52e
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x1005e147
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 0x1005e131
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.1005e27e
push ebx
mov edi, eax
call fcn.1004b557
test edi, edi
pop ecx
je 0x1005e189
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.1005e047
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.1005e192
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4