joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e7da0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x526987
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.00513c81
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.00513c81
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004e88c0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x4e8910
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x526a60
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0051f810
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x4e8943
xor al, al
jmp 0x4e8a6f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x4e8965
xor al, al
jmp 0x4e8a6f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x4e8978
xor al, al
jmp 0x4e8a6f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4e898c
xor al, al
jmp 0x4e8a6f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.00513d31
test eax, eax
jne 0x4e89c0
xor al, al
jmp 0x4e8a6f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x715bdc
mov dword [esp + 0x20], ebp
call fcn.0051f810
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.0051c800
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.0051c857
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x4e8a54
mov ax, word [ebx]
test ax, ax
je 0x4e8a46
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004e8a90
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x4e8a2a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.0051c857
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4e8f90
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.0051deb0
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x4e8fd6
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.005043c4
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x7370f0
push ecx
call fcn.0050626f
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x4ea850
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4ea8f3
test eax, eax
jbe 0x4ea8f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4ea8f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4ea89e
xor esi, esi
jmp 0x4ea8a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4ea8cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004ec480
add esi, eax
push esi
mov ebx, esi
call fcn.004ec480
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4ea8b0
pop ebp
test edi, edi
pop edi
jne 0x4ea8f3
test ebx, ebx
je 0x4ea8f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00504e50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x4eaa15
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4eab2d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4eab2d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00517426
mov esi, eax
test esi, esi
je 0x4eab2d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4eab2d
mov ecx, esi
call fcn.004ea9a0
cmp edi, eax
jge 0x4eab2d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4eaab3
mov dword [esp + 0x34], 1
jmp 0x4eab0e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4eab2d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004e9240
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4ef7c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x7754ac]
xor edx, edx
cmp eax, edx
jne 0x4ef7e6
xor eax, eax
mov byte [eax + 0x7753ac], al
inc eax
cmp eax, 0x100
jl 0x4ef7ce
mov dword [0x7754ac], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x7753ac
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4ef877
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4ef84a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4ef818
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4ef8f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4ef943
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4ef92a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f6300
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x526f8e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004f6c20
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x71643c
call fcn.00515727
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4f6393
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00515727
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4f638c
push 0
mov ecx, eax
call fcn.004ed400
mov dword [esi + 0xc], eax
jmp 0x4f6395
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4f6395
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x517dc9
Capabilities:
Get graphical window text

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

Function at 0x5195c4
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 0x519606
call fcn.0051f810
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x519606
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5195fd
xor eax, eax
jmp 0x51960e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00519614
pop edi
pop esi
pop ebx
ret 4

Function at 0x51fd40
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x51fd6e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x51fd8c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0051fca6
jmp 0x51fd8c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x51fd8c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0051fca6
test edi, edi
mov eax, edi
jne 0x51fd76
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x472600
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x45b015
lea edi, [esi - 0x5a015]
push edi
or ebp, 0xffffffff
jmp 0x472622
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x472629
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x472618
mov eax, 1
add ebx, ebx
jne 0x47263b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47264c
jne 0x47266b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47266b
dec eax
add ebx, ebx
jne 0x472658
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x472630
add ebx, ebx
jne 0x472667
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4726bd
xor ecx, ecx
sub eax, 3
jb 0x472683
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4726f2
sar eax, 1
mov ebp, eax
jmp 0x47268e
add ebx, ebx
jne 0x47268e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47265c
inc ecx
add ebx, ebx
jne 0x47269c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47265c
add ebx, ebx
jne 0x4726a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47269e
jne 0x4726ba
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47269e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4726dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4726ce
jmp 0x47261e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4726dc
add edi, ecx
jmp 0x47261e
pop esi
mov edi, esi
mov ecx, 0x2174
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4726fa
cmp byte [edi], 0xb
jne 0x4726fa
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 0x4726ff
lea edi, [esi + 0x70000]
mov eax, dword [edi]
or eax, eax
je 0x472777
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x72c84]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x72cc0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47272c
mov ecx, edi
jns 0x47275b
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 + 0x72cc8]
or eax, eax
je 0x472771
mov dword [ebx], eax
add ebx, 4
jmp 0x472749
call dword [esi + 0x72cc4]
mov ebp, dword [esi + 0x72ccc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4727ab
sub esp, 0xffffff80
jmp 0x4023fc

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 0x10311af
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x10cd0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebp - 0x210]
push eax
xor esi, esi
push 0x1003280
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x210], esi
call fcn.010ab83f
push 0x5c
xor edi, edi
lea eax, [ebp - 0x290]
push esi
inc edi
push eax
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], 0xf233
mov dword [ebp - 0x224], 8
mov dword [ebp - 0x220], 0xf234
mov dword [ebp - 0x294], 0x60
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x294]
push eax
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x288], 0x18
mov dword [ebp - 0x270], 2
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x280], 0xf230
mov dword [ebp - 0x278], 0xf231
mov dword [ebp - 0x27c], 0xfffc
mov dword [ebp - 0x274], 0xf232
mov dword [ebp - 0x240], 0x1031187
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], esi
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
cmp eax, esi
mov dword [ebp - 0x210], eax
jl 0x103131c
cmp dword [ebp - 0x214], edi
jne 0x103131c
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jbe 0x103131c
push edi
push esi
push 0x100325c
lea eax, [ebp - 0x20c]
push eax
push 0x1003250
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x103131c
mov dword [ebp - 0x210], 0x80004005
mov esi, dword [ebp - 0x210]
lea ecx, [ebp - 0x234]
call fcn.010ab886
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.010aac17
leave
ret 4
Function at 0x103216a
Capabilities:
Get file system object information

Disassembly:
push 0x2c8
mov eax, 0x10b4339
call fcn.010aac9f
xor ebx, ebx
push ebx
mov dword [ebp - 0x2cc], ecx
push 0x1004de8
lea ecx, [ebp - 0x2d4]
call fcn.010ab83f
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_CString::CString_1
mov byte [ebp - 4], 1
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x5c0]
cmp esi, ebx
je 0x10321c0
cmp dword [esi + 0x54], ebx
je 0x10321c0
xor edi, edi
inc edi
jmp 0x10321c2
xor edi, edi
mov ecx, esi
call fcn.010424d5
cmp edi, ebx
je 0x10321db
neg eax
sbb eax, eax
and eax, 0x7e
add eax, 0xef1f
jmp 0x10321e0
mov eax, 0xef20
push eax
lea ecx, [ebp - 0x2c8]
call sub.MFC42u.dll_CString::LoadStringW
test eax, eax
je 0x103223f
cmp edi, ebx
je 0x103222e
push 0x200
push 0x2b4
lea eax, [ebp - 0x2c4]
push eax
push ebx
add esi, 0x58
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebp - 0x2c8]
test eax, eax
je 0x1032223
lea eax, [ebp - 0x2b8]
push eax
jmp 0x1032224
push esi
push 0x1003338
call sub.MFC42u.dll_CString::Replace
push dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0x2cc]
call sub.MFC42u.dll_CWnd::SetWindowTextW
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.010ab886
call fcn.010aad31
ret

Function at 0x1033089
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x10bbc3a
call fcn.010aac2c
mov esi, ecx
push 0
push 0x10050f4
lea ecx, [ebp - 0x14]
call fcn.010ab83f
and dword [ebp - 4], 0
lea ebx, [esi + 0x140]
mov edi, 0xbc
cmp dword [ebx], edi
je 0x1033158
push edi
push 0
push ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebx], edi
mov dword [esi + 0x144], 0x100
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push 0xa
push 0x9b
push eax
call fcn.010ad490
mov edi, eax
test edi, edi
je 0x103312a
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push edi
push eax
call fcn.010ad402
test eax, eax
je 0x103312a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x103312a
mov cl, byte [eax + 4]
mov byte [esi + 0x1ea], cl
movzx eax, word [eax + 2]
imul eax, eax, 0x14
mov dword [esi + 0x1e4], eax
jmp 0x103313b
mov byte [esi + 0x1ea], 0
mov dword [esi + 0x1e4], 0x12c
call fcn.01075d42
test eax, eax
je 0x1033158
or dword [esi + 0x144], 0x10000
xor eax, eax
inc eax
mov word [esi + 0x14a], ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010ab886
mov eax, ebx
call fcn.010aad18
ret
Function at 0x1035418
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x10
mov eax, 0x10b45c6
call fcn.010aac2c
lea eax, [ebp - 0x10]
push eax
push 0x100571c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], 0x80004003
call fcn.010ab83f
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x10354fc
push 0x74
pop edi
push edi
push ebx
push esi
mov dword [ebp - 0x10], ebx
call sub.msvcrt.dll_memset
mov dword [esi], edi
add esp, 0xc
mov dword [esi + 4], 0xe0000003
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
xor edi, edi
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 0xc]
push ebx
push 0xa
push 0x9b
push eax
call fcn.010ad490
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x10354aa
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 0xc]
push ebx
push dword [ebp - 0x14]
push eax
call fcn.010ad402
cmp eax, ebx
je 0x10354aa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
lea ecx, [ebp + 8]
call sub.MFC42u.dll_CString::CString_1
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
cmp edi, ebx
je 0x10354d2
movzx eax, word [edi]
imul eax, eax, 0x14
mov dword [esi + 0xc], eax
movzx eax, word [edi + 6]
push eax
call sub.MFC42u.dll_CString::LoadStringW
jmp 0x10354e3
push 0x1005710
mov dword [esi + 0xc], 0xf0
call fcn.010a967a
push dword [ebp + 8]
add esi, 0x1a
push 0x20
push esi
call fcn.01035132
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.010ab886
mov eax, esi
call fcn.010aad18
ret 4

Function at 0x103cdf8
Capabilities:
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10cd0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x1006e24
lea ecx, [ebp - 0x214]
call fcn.010ab83f
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jbe 0x103ceb8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x103ceb8
mov eax, dword [section..data]
cmp eax, section..data
je 0x103ceb8
test byte [eax + 0x1c], 4
je 0x103ceb8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x103ce99
and eax, 0xffff
or eax, 0x80070000
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov eax, dword [section..data]
push 0x1005ec8
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0103c5df
lea ecx, [ebp - 0x214]
call fcn.010ab886
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.010aac17
leave
ret