joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a490
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x42a00d
lea edi, [esi - 0x2900d]
push edi
or ebp, 0xffffffff
jmp 0x44a4b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44a4b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44a4a8
mov eax, 1
add ebx, ebx
jne 0x44a4cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44a4dc
jne 0x44a4fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44a4fb
dec eax
add ebx, ebx
jne 0x44a4e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44a4c0
add ebx, ebx
jne 0x44a4f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x44a54d
xor ecx, ecx
sub eax, 3
jb 0x44a513
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44a582
sar eax, 1
mov ebp, eax
jmp 0x44a51e
add ebx, ebx
jne 0x44a51e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44a4ec
inc ecx
add ebx, ebx
jne 0x44a52c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44a4ec
add ebx, ebx
jne 0x44a539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44a52e
jne 0x44a54a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44a52e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44a56c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44a55e
jmp 0x44a4ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44a56c
add edi, ecx
jmp 0x44a4ae
pop esi
mov edi, esi
mov ecx, 0x45e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44a58a
cmp byte [edi], 0xd
jne 0x44a58a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x44a58f
lea edi, [esi + 0x46000]
mov eax, dword [edi]
or eax, eax
je 0x44a607
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4a080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44a5bc
mov ecx, edi
jns 0x44a5eb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4a088]
or eax, eax
je 0x44a601
mov dword [ebx], eax
add ebx, 4
jmp 0x44a5d9
call dword [esi + 0x4a084]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x44a638
cmp al, 0xef
ja 0x44a62b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x44a60d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x44a61a
mov ebp, dword [esi + 0x4a08c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x197]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x44a66c
sub esp, 0xffffff80
jmp 0x408be0
Function at 0x406ccd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x2da5d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x406cd7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x406d1d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x406cfc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x406d3c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00436910
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x406dcc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x406d82
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x406d98
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x406dbf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x406d71
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x40de42
Capabilities:
Parse credit card information

Disassembly:
je 0x40deb6
imul esp, dword [edi + 0x67], 0x16007265
Function at 0x409d48
Capabilities:
Encode data using xor

Disassembly:
add esp, 0xfffffffc
mov eax, esp
mov edx, eax
mov dword [edx], ebp
mov ecx, edi
mov eax, ecx
mov ecx, 4
sub esp, ecx
mov dword [esp], eax
push ebx
pop eax
mov edx, 0xfffffffc
add esp, edx
mov dword [esp], eax
mov ecx, 4
sub esp, ecx
push esp
pop ebx
mov dword [ebx], esi
mov ecx, 0x49c4536d
mov edi, ecx
shr edi, 4
add edi, 0xff2ebac7
add edi, 0xfcaa95fb
mov ebx, edi
mov edx, ebx
mov eax, 0xffffffd6
sub edx, eax
lea edx, [edx - 1]
mov ecx, dword [edx - 0x29]
xor edi, edi
add edi, dword [ecx]
mov eax, 0x455006
mov esi, 0x442a0860
xor eax, esi
xor edi, eax
push 0x15941606
mov eax, 0xf4606c2
shr eax, 3
pop edx
xor eax, edx
xor edi, eax
sub edi, 0
je 0x409f4c
mov ecx, 0xc6b73ea
add ecx, 0x16
push ecx
xor eax, eax
add eax, 0x542200
mov edi, 0x219103
mov esi, edi
xor eax, esi
mov edi, eax
xchg edi, ebx
mov edi, 0x62
sub ebx, edi
mov edx, dword [ebx + 0x62]
mov ebx, 0x4c2ad4c9
shr ebx, 1
mov esi, 0x1042bfaa
xor esi, ebx
xor edx, esi
mov ecx, 0x1e7fa9c3
xor edx, ecx
xor edx, 0x2401bc55
xor esi, esi
add esi, edx
mov edi, esi
mov dword [esp - 8], edi
pop esi
dec esi
xor ecx, ecx
add ecx, esi
mov edi, ecx
push edi
or esi, 0
je 0x409e50
xor eax, eax
add eax, 0x107e536f
shr eax, 1
add eax, 0x2f7b6aa9
jmp 0x409de0
pop edi
mov edx, 0xffffff53
add edx, 0xed
push edx
mov esi, 0x10a1
sub esi, 0xa1
push esi
mov esi, 0x247
add esi, 0xe3
push esi
mov ecx, 0xffffffa3
add ecx, 0x5d
push ecx
mov esi, 0x9918f6e
add esi, 0xffffff45
push esi
xor ebx, ebx
add ebx, 0x13c83696
shr ebx, 1
mov edx, dword [esp]
sub esp, 0xfffffffc
xor ebx, edx
lea eax, [ebx]
add eax, 0xffffffff
mov ebx, dword [eax + 1]
call ebx
xor ecx, ecx
add ecx, eax
push ecx
pop ebx
mov edi, ebx
mov ecx, edi
mov eax, 0xfffffffc
add esp, eax
mov dword [esp], ecx
xor esi, esi
add esi, 0x69aba0fc
shr esi, 7
mov ecx, 0x8eb77a
sub esi, ecx

Function at 0x40f462
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x4c
lea eax, [esp + 0x10]
mov dword [esp], eax
call sub.KERNEL32.dll_GetSystemInfo
sub esp, 4
mov eax, dword [esp + 0x24]
add esp, 0x4c
ret
Function at 0x100092b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x100092bf
pop dword [ebp - 4]
mov eax, 0xa2c78297
sub eax, 0x92c6efd8
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xcc5ba9bd
sub dword [ebp - 0x14], 0x7e096472
mov dword [ebp - 0x10], 0x22387b2e
add dword [ebp - 0x10], 0xffad117
mov dword [ebp - 0xc], 0xe1c4f8e9
sub dword [ebp - 0xc], 0x9578b4bb
mov dword [ebp - 8], 0x1e7ae36a
sub dword [ebp - 8], 0x1e7ae36a
lea eax, [ebp - 0x14]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x3c576bfc
add dword [ebp - 0x14], 0x381afd5a
mov dword [ebp - 0x10], 0x8dbde422
add dword [ebp - 0x10], 0xb3ae7d53
mov dword [ebp - 0xc], 0x626ab933
sub dword [ebp - 0xc], 0xfefb4cc7
mov dword [ebp - 8], 0x5aedd9db
sub dword [ebp - 8], 0x5aedd9db
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x39635
push 0
call eax
mov ecx, 0x6dd4a72b
add ecx, 0x922b9e57
xor esi, esi
add esi, eax
mov edx, 0xb91daae3
add edx, 0x56e4371d
add edx, dword [ebp - 4]
mov edi, 0x72363e7
mov ebx, dword [edx]
xor ebx, edi
mov dword [esi], ebx
add esi, 0x706f7a75
add esi, 0x8f90858f
add edx, 0x9bdabbd1
sub edx, 0x9bdabbcd
loop 0x100093d3
add eax, 0xcfd1d6fb
add eax, 0x302f31e0
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x4a0d440a
sub ecx, 0x3a0d440a
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x1000221e
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x101b3ff8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 0x2e58505c
push eax
xor ebx, ebx
mov dword [ebp - 0x10c], 0x747874
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [ebp - 0x110]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10002272
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10002282
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push ebx
push 0x80
push 3
push ebx
push 1
mov ecx, edx
and ecx, 3
push SysReAllocStringLen
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100022f3
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.100029ed
and dword [ebp - 0x10c], 0
mov edi, eax
pop ecx
push 0
lea eax, [ebp - 0x10c]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test edi, edi
je 0x100022f3
push edi
call fcn.10001b92
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10139e79
mov esp, ebp
pop ebp
ret
Function at 0x1000586a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x101568be
call fcn.1013a12a
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [ecx], edi
cmp dword [eax + 0x58], edi
je 0x10005914
push dword [ebp + 8]
mov ecx, eax
call fcn.10005ba2
mov esi, eax
test esi, esi
je 0x100059a7
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
push edi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
test eax, eax
jne 0x100058fd
push edx
call fcn.100029ed
pop ecx
lea ecx, [ebp - 0x14]
mov dword [ebx], eax
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100058fd
xor edi, edi
inc edi
jmp 0x10005907
push dword [ebx]
call fcn.100029e8
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.1000572f
jmp 0x100059a5
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [esi + 0x84]
mov ecx, esi
push eax
call fcn.1013a531
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov esi, dword [eax - 0xc]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x1000599d
mov ecx, dword [ebp + 0x14]
mov eax, esi
shr eax, 1
push eax
mov dword [ecx], eax
call fcn.100029ed
mov dword [ebx], eax
pop ecx
test esi, esi
jle 0x10005997
mov esi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.10050970
push edi
lea ecx, [ebp - 0x10]
lea ebx, [eax - 1]
shl bl, 4
sub bl, 0x41
call fcn.10050970
add al, bl
mov edx, edi
test edx, edx
jns 0x10005988
add edx, 1
sar edx, 1
mov ecx, dword [esi]
add edi, 2
mov byte [edx + ecx], al
cmp edi, dword [ebp - 0x18]
jl 0x1000595f
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.100050a5
mov eax, edi
call fcn.1013a0f3
ret 0x10

Function at 0x100059af
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x10005a02
push esi
push dword [ebp + 8]
call fcn.10005ba2
mov edi, eax
test edi, edi
jne 0x100059d2
mov eax, dword [ebp + 0x10]
jmp 0x10005a14
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x100059cd
mov eax, dword [ebp - 8]
jmp 0x10005a14
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000a7ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x1000a831
call fcn.10007ab7
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000a831
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1000a84d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.10018712
mov ebx, eax
test edi, edi
je 0x1000a84b
test esi, esi
je 0x1000a84b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000b276
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x1000b334
cmp dword [esi + 0x20], 0
je 0x1000b334
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000b334
cmp dword [ebp + 8], 0
je 0x1000b334
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.10007ab7
push str.AFX_DIALOG_LAYOUT
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1000b305
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1000b334
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.100192c2
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x1000b325
test edi, edi
je 0x1000b325
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x1000b330
mov ecx, esi
call fcn.1000b019
mov eax, ebx
jmp 0x1000b336
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000f841
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10157806
call fcn.1013a12a
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x1000f867
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1000f8c6
call fcn.10010fd3
push eax
lea ecx, [ebp - 0x10]
call fcn.10003b80
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.1013a531
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.10141818
push eax
call fcn.10004161
add esp, 0x14
test esi, esi
je 0x1000f8b9
push esi
call fcn.1013fb0e
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.100050a5
mov eax, ebx
call fcn.1013a0f3
ret 8
Function at 0x10019922
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x1001994d
cmp dword [ebx + 0x80], 0
jne 0x1001994d
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.10007ab7
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.10019be0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10019987
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.10007ab7
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x100199be
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.100199df
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x1001bacd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
je 0x1001bae7
mov edi, dword [esi + 0xc]
jmp 0x1001bb27
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1001bb00
call fcn.1001599e
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x1001bb15
call fcn.1001599e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x1001bb27
call fcn.1001599e
call fcn.10007ab7
cmp dword [eax + 0x3c], 0
je 0x1001bb3c
push edi
mov ecx, ebx
call fcn.1001b206
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.1001bd19
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x1001bb65
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x1001bb71
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10021b93
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.1000f78b
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x10021bcf
call fcn.10021db5
mov dword [esi + 0xc], 1
jmp 0x10021bd4
call fcn.10021db5
cmp dword [esi], 0
je 0x10021c1d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x10021bf7
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.1000a8c2
jmp 0x10021c08
push 0xff
mov ecx, esi
call fcn.10004cf0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.10005cde
jmp 0x10021c41
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x10021c41
push dword [esi]
push dword [ebp - 4]
call fcn.1000fd10
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10021d0a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.10021db5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x10021d52
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000a8c2
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.10005cde
jmp 0x10021d5d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1000fd10
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x10033615
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10081dfb
call fcn.10007b0b
cmp dword [eax + 0x14], 0
jne 0x10033630
mov ecx, esi
pop esi
jmp fcn.10032960
pop esi
ret

Function at 0x10034505
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.1007abea
call fcn.10007b0b
cmp dword [eax + 0x14], 0
jne 0x10034520
mov ecx, esi
pop esi
jmp fcn.10033d83
pop esi
ret
Function at 0x10042dd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
test esi, esi
jne 0x10042ded
call fcn.10007ab7
mov esi, dword [eax + 0xc]
push 0x10170574
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x10042e43
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10042e42
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
jne 0x10042e23
xor esi, esi
jmp 0x10042e39
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 8]
push eax
push dword [ebp - 4]
call fcn.10042e4b
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x101525dc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1015229c