joyce8/EMBER2024-capa huggingface dataset:
Function at 0x103d3240
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1053c524
mov eax, dword fs:[0]
push eax
sub esp, 0x208
mov eax, dword [0x1059f000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 8
push eax
mov dword [ebp - 0x24], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.103d59d1
push 0
call fcn.103d6c24
push 0xc
call fcn.103d4ca7
add esp, 8
mov dword [ebp - 0x214], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x103d32c9
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.103d7a24
mov edi, eax
jmp 0x103d32cb
xor edi, edi
push 0x1054d9d4
mov dword [ebp - 4], 0xffffffff
call fcn.103e0399
push str.Local_AppWizard_Generated_Applications
mov ecx, ebx
call fcn.103e3b5c
push 0x1e8
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1051f940
add esp, 0xc
lea ecx, [ebp - 0x210]
push 0
push 0x66
call fcn.103eb10c
lea eax, [ebp - 0x138]
mov dword [ebp - 4], 1
mov ecx, eax
mov dword [ebp - method.CDialogEx.virtual_0], 0x10580884
mov dword [ebp - 0x214], eax
call fcn.103ebf31
mov byte [ebp - 4], 2
mov dword [ebp - method.CWnd.virtual_0], vtable.SG_PNGView.0
mov dword [ebp - 0xb4], 0
call fcn.103d4740
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 3
mov ecx, eax
mov dword [ebp - 0x214], eax
call fcn.103ebf31
mov byte [ebp - 4], 4
mov dword [ebp - 0xb0], vtable.SG_PNGView.0
mov dword [ebp - 0x2c], 0
call fcn.103d4740
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov byte [ebp - 4], 5
call fcn.103eb9ed
call fcn.103eb9ed
push 0x80
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 6
mov ecx, eax
mov dword [ebx + 0x20], eax
call fcn.103e43ca
test edi, edi
je 0x103d3421
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 4]
call fcn.103e53ca
lea ecx, [ebp - 0x210]
call fcn.103d3450
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1051d602
mov esp, ebp
pop ebp
ret
Function at 0x103d36b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x103d36d9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x103d36ef
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x103d36e6
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x103d3722
nop
cmp esi, ecx
jae 0x103d36e6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x103d3710
cmp esi, ecx
jae 0x103d36e6
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x103d37d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.103e7c9f
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x103d38c8
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x103d38c8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x103d381d
xor esi, esi
jmp 0x103d3862
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x103d3862
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x103d3852
nop
cmp esi, ecx
jae 0x103d3856
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x103d3840
cmp esi, ecx
jb 0x103d385a
xor esi, esi
jmp 0x103d3862
xor eax, eax
cmp word [esi], ax
cmove esi, eax
test esi, esi
je 0x103d38c8
mov eax, dword [ebx]
mov ecx, 1
movzx edi, word [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x103d3884
push edi
mov ecx, ebx
call fcn.103d3e10
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.10525a20
add esp, 0x10
cmp eax, 0x50
ja case.0x103d38a3.1
movzx eax, byte [eax + 0x103d38f8]
jmp dword [eax*4 + 0x103d38e8]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x103d38d8
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.103e7611
push 0x80070057
call fcn.103d3ec0
call fcn.103e75f7
nop
stosb byte es:[edi], al
cmp byte [1027134224], bh
adc dl, ah
cmp byte [0x3d38e210], bh
adc byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3

Function at 0x103d4240
Capabilities:
Query environment variable
Terminate process

Disassembly:
push str.CloseHandleDelete.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, 0x79
jne 0x103d4257
push 1
call fcn.105231b0
jmp fcn.103d27e0

Function at 0x103d4430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.103e402e
Function at 0x103d4830
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1059f000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.103eb9ed
push 0x10580a50
push 0xffff
mov esi, dword [eax + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x103d48f8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x103d48ad
mov edi, dword [ebp - 8]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x103d48ad
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x103d48c5
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, 3
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1051d602
mov esp, ebp
pop ebp
ret 4
push edi
push dword [ebp - 0x10]
push eax
call fcn.1051f3c0
add esp, 0xc
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x103d4910
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1051d602
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x103d4920
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp - 0xc]
push 0x10
mov dword [ebp - 0x10], eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x103d495f
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 4], eax
jmp 0x103d4961
xor edi, edi
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x84], edi
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebx + 0x84]
test eax, eax
je 0x103d48ad
mov esi, dword [eax + 8]
mov dword [eax + 8], 0
test esi, esi
je 0x103d49b4
mov ecx, dword [ebx + 0x84]
test ecx, ecx
je 0x103d49aa
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [ebx + 0x84], 0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1051d602
mov esp, ebp
pop ebp
ret 4
Function at 0x103d7262
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov eax, ecx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], edi
je 0x103d72a7
call fcn.103eb9ed
push 0xf0
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x103d72a4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x103d72ee
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov eax, dword [ebp - 4]
push ebx
xor ebx, ebx
inc ebx
test edi, edi
je 0x103d72ca
mov ecx, dword [eax]
push dword [ebp + 0x10]
push edi
mov esi, dword [ecx + 0x20]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1054c9a0]
mov ecx, dword [ebp - 4]
call esi
mov ebx, eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x70]
test edi, edi
je 0x103d72eb
mov edx, dword [edi]
push dword [ebp + 0x10]
mov esi, dword [edx + 0xa0]
mov ecx, esi
call dword [0x1054c9a0]
mov ecx, edi
call esi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret 0xc
Function at 0x103e36a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
mov eax, 0x1053d32e
call fcn.1051dda5
mov eax, ecx
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 0x14]
push edi
mov dword [ebx], edi
mov dword [esi], edi
cmp dword [eax + 0x58], edi
je 0x103e3748
push dword [ebp + 8]
call fcn.103e39bf
mov dword [ebp - 0x10], eax
test eax, eax
je 0x103e37ce
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
push ecx
push edi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push ecx
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x14]
mov dword [esi], ecx
test eax, eax
jne 0x103e3731
push ecx
call fcn.103f8c15
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 dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x103e3731
xor edi, edi
inc edi
jmp 0x103e373b
push dword [ebx]
call fcn.103f8c1e
pop ecx
mov dword [ebx], edi
lea ecx, [ebp - 0x24]
call fcn.103e3567
jmp 0x103e37cc
mov eax, dword [eax]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov esi, dword [eax + 0x84]
lea eax, [ebp - 0x10]
push eax
mov ecx, esi
call dword [0x1054c9a0]
mov ecx, dword [ebp - 0x18]
call esi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x103e37c4
mov esi, dword [ebp + 0x14]
shr ecx, 1
push ecx
mov dword [esi], ecx
call fcn.103f8c15
mov dword [ebx], eax
pop ecx
cmp dword [esi], edi
jbe 0x103e37be
lea esi, [edi + edi]
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x10]
call fcn.103e3543
push esi
lea ecx, [ebp - 0x10]
mov bl, al
call fcn.103e3543
mov ecx, dword [ebp + 0x10]
shl bl, 4
sub bl, 0x51
add al, bl
mov ecx, dword [ecx]
mov byte [edi + ecx], al
inc edi
mov eax, dword [ebp + 0x14]
cmp edi, dword [eax]
jb 0x103e378c
mov eax, dword [ebp - 0x10]
xor edi, edi
inc edi
lea ecx, [eax - 0x10]
call fcn.103d3cf0
mov eax, edi
call fcn.1051dd73
ret 0x10

Function at 0x103e37d6
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 0x103e3829
push esi
push dword [ebp + 8]
call fcn.103e39bf
mov edi, eax
test edi, edi
je 0x103e3824
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 0x103e3824
mov eax, dword [ebp - 8]
jmp 0x103e383b
mov eax, dword [ebp + 0x10]
jmp 0x103e383b
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
leave
ret 0xc
Function at 0x103e3841
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1053d35b
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.1051df20
mov eax, dword [0x1059f000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x201c], edi
mov dword [ebp - 0x2024], eax
cmp dword [ecx + 0x58], ebx
je 0x103e3972
push ebx
push edx
call fcn.103e39bf
mov ebx, eax
test ebx, ebx
jne 0x103e38a9
push esi
jmp 0x103e399a
lea ecx, [ebp - 0x2014]
call fcn.103d3650
xor ecx, ecx
lea eax, [ebp - 0x2018]
push eax
push ecx
lea eax, [ebp - 0x2020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x2024]
mov dword [ebp - 0x2020], ecx
push ebx
mov dword [ebp - 0x2018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x201c], eax
test eax, eax
jne 0x103e3931
mov eax, dword [ebp - 0x2018]
lea ecx, [ebp - 0x2014]
shr eax, 1
push eax
call fcn.103d3e70
lea ecx, [ebp - 0x2018]
push ecx
push eax
lea eax, [ebp - 0x2020]
push eax
push 0
push dword [ebp - 0x2024]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x2014]
mov dword [ebp - 0x201c], eax
call fcn.103e3afb
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x201c], 0
jne 0x103e395f
mov esi, dword [ebp - 0x2014]
add esi, 0xfffffff0
push esi
call fcn.103d5621
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.103d3cf0
jmp 0x103e39a1
push esi
mov ecx, edi
call fcn.103d4e29
mov ecx, dword [ebp - 0x2014]
lea ecx, [ecx - 0x10]
jmp 0x103e3958
test esi, esi
jne 0x103e397b
mov esi, 0x1054cdd8
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x2010]
push 0x1000
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x2010]
push eax
mov ecx, edi
call fcn.103d4e29
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1051d602
leave
ret 0x10
Function at 0x103e3b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x58], esi
je 0x103e3bdd
push esi
push dword [ebp + 8]
call fcn.103e39bf
mov edi, eax
test edi, edi
je 0x103e3c65
push dword [ebp + 0x14]
push ebx
push 3
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
jmp 0x103e3c65
mov eax, dword [ebp + 0x14]
push 2
pop ecx
lea eax, [eax*2 + 1]
mul ecx
setb cl
movsx ecx, cl
neg ecx
or ecx, eax
push ecx
call fcn.103f8c15
mov edx, dword [ebp + 0x14]
pop ecx
mov ecx, eax
mov dword [ebp - 8], ecx
test edx, edx
je 0x103e3c37
mov dword [ebp - 4], 0x41
mov al, byte [ebx + esi]
and al, 0xf
movzx eax, al
add ax, word [ebp - 4]
mov word [ecx + esi*4], ax
mov al, byte [ebx + esi]
shr al, 4
movzx eax, al
add ax, word [ebp - 4]
mov word [ecx + esi*4 + 2], ax
inc esi
cmp esi, edx
jb 0x103e3c10
xor eax, eax
mov word [ecx + esi*4], ax
mov eax, dword [edi]
push ecx
push dword [ebp + 0xc]
mov esi, dword [eax + 0x88]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1054c9a0]
mov ecx, edi
call esi
push dword [ebp - 8]
mov esi, eax
call fcn.103f8c1e
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x103e3f98
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x84], 0
mov esi, dword [ebx + 0x8c]
mov edi, dword [ebx + 0x88]
je 0x103e3fe0
call fcn.103eb9ed
push 5
push dword [ebx + 0x84]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x103e3fe0
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x103e3fed
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
xor eax, eax
inc eax
test esi, esi
je 0x103e4029
mov edx, 0xffff
lea ecx, [esi + 0xc]
cmp word [esi + 2], dx
jne 0x103e400c
movzx edi, word [esi + 0x12]
movzx edx, word [esi + 0x14]
jmp 0x103e4015
movzx edx, word [ecx]
mov ecx, esi
movzx edi, word [esi + 0xa]
test dword [ecx], 0x1801
jne 0x103e4027
test di, di
jne 0x103e4027
test dx, dx
je 0x103e4029
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x103e4092
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
call fcn.103eb9ed
push 5
push dword [ebp + 8]
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x103e40d2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x103e40d2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.103e40da
jmp 0x103e40d4
xor eax, eax
pop edi
pop esi
pop ebp
ret 8
Function at 0x103e43ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x1053d3d4
call fcn.1051de0e
mov edi, ecx
mov dword [ebp - 0x24], edi
mov ebx, dword [edi + 0x8c]
mov esi, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
call fcn.103eb9ed
cmp dword [edi + 0x84], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
je 0x103e4429
call fcn.103eb9ed
push 5
push dword [edi + 0x84]
mov ebx, dword [eax + 0xc]
push ebx
mov dword [ebp - 0x20], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x103e443d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, dword [ebp - 0x18]
mov esi, eax
test esi, esi
je 0x103e4439
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 0x18], eax
test ebx, ebx
jne 0x103e4445
or eax, 0xffffffff
jmp 0x103e4597
mov ecx, edi
call fcn.103e49d4
mov ebx, eax
mov dword [ebp - 0x2c], ebx
call fcn.103ecc1a
xor esi, esi
and dword [ebp - 0x1c], esi
and dword [ebp - 0x28], esi
mov dword [ebp - 0x14], esi
test ebx, ebx
je 0x103e44d1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp ebx, eax
je 0x103e44d1
push ebx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x103e44d1
push esi
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x14], 1
call fcn.103d4cdf
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x103e44ce
mov ecx, dword [esi]
mov esi, dword [ecx + 0x150]
mov ecx, esi
call dword [0x1054c9a0]
mov ecx, dword [ebp - 0x1c]
call esi
test eax, eax
je 0x103e44ce
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.103f3484
test eax, eax
je 0x103e44ce
push 0
mov ecx, esi
call fcn.103f2da2
mov dword [ebp - 0x28], 1
mov esi, dword [ebp - 0x14]
and dword [ebp - 4], 0
push edi
call fcn.103ec89d
push ebx
call fcn.103edf9a
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.103e436d
test eax, eax
jne 0x103e451a
cmp dword [edi + 0x9c], eax
jne 0x103e451a
call fcn.103eb9ed
push ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0x20], eax
call fcn.103edf9a
push dword [ebp - 0x20]
mov ecx, edi
push eax
push dword [ebp - 0x18]
call fcn.103e436d
and dword [edi + 0x9c], 0
jmp 0x103e4545
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
je 0x103e4559
mov ecx, dword [ebp - 0x1c]
push 1
call fcn.103f2da2
test esi, esi
je 0x103e4566
push 1
push ebx
call dword [sym.imp.USER32.dll_EnableWindow]
test ebx, ebx
je 0x103e457c
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x20]
jne 0x103e457c
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x1054c9a0]
mov ecx, edi
call esi
mov ecx, edi
call fcn.103e498b
mov eax, dword [edi + 0x68]
call fcn.1051dd73
ret
Function at 0x103edf2d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x103edf6c
call fcn.103eb9ed
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x103edf6c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x103edf74
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.103ebbab
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x103ee970
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x103ee9fc
cmp dword [esi + 0x20], 0
je 0x103ee9fc
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x103ee9fc
cmp dword [ebp + 8], 0
je 0x103ee9fc
xor edi, edi
mov ebx, edi
call fcn.103eb9ed
push 0x1054f820
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x103ee9e0
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x103ee9fc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.104907a7
mov edi, eax
add esp, 0xc
test edi, edi
je 0x103ee9f8
mov ecx, esi
call fcn.103ee70e
mov eax, edi
jmp 0x103ee9fe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x103f3344
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1053c785
call fcn.1051dda5
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x103f336a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x103f33c4
lea ecx, [ebp - 0x10]
call fcn.103d3650
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 dword [0x1054c9a0]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.105269cb
push eax
call fcn.103d3740
add esp, 0x14
test esi, esi
je 0x103f33b7
push esi
call fcn.10525bc4
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.103d3cf0
mov eax, ebx
call fcn.1051dd73
ret 8