joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408da3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
push edi
push str.DGVOODOOCOMM
push edi
jmp 0x408e94
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
push edi
push edi
push 0x407
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x408e8d
push 0x5b
pop ecx
inc edi
mov word [ebp + eax - 0x808], cx
lea eax, [edi + edi]
movzx ecx, word [eax + str._Running_]
test cx, cx
jne 0x408de6
lea ecx, [ebp - 0x808]
add ecx, eax
xor eax, eax
mov word [ecx], ax
mov eax, 0x400
sub eax, edi
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ebx, [edi + eax]
test esi, esi
je 0x408e66
xor edi, edi
push edi
push edi
push 0x40a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x408e7c
push 0x20
lea ecx, [ebp - 0x808]
mov eax, edi
pop edx
lea ecx, [ecx + ebx*2]
inc eax
mov word [ecx], dx
lea ecx, [ecx + 2]
movzx edx, word [eax*2 + str.__already_attached_]
test dx, dx
jne 0x408e44
add eax, ebx
xor ecx, ecx
mov word [ebp + eax*2 - 0x808], cx
jmp 0x408e7c
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x808]
push eax
call fcn.004089f6
xor edi, edi
cmp eax, 0xffffffff
jne 0x408e8d
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x808]
push edi
push esi
push eax
call fcn.00408b6b
push edi
push str.DGVOODOOCOMM
push esi
push 0xfffffffffffffffd
call dword [sym.imp.USER32.dll_FindWindowExW]
mov esi, eax
test esi, esi
jne 0x408dc0
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a260
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push str.RT_CUSTOM
push 0x79
push 0
call edi
test eax, eax
je 0x40a2e0
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push 0
call ebx
test eax, eax
je 0x40a2e0
push eax
call fcn.0041cf3d
add esp, 4
mov esi, eax
push str.RT_CUSTOM
push 0x79
push 0
call edi
mov edi, eax
test edi, edi
je 0x40a2d7
push edi
push 0
call ebx
mov ebx, eax
test ebx, ebx
je 0x40a2d7
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40a2d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x40a2d7
push ebx
push eax
push esi
call fcn.0041d790
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
ret
push esi
call fcn.0041cf46
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x40ac84
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push edx
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret
Function at 0x40b3cb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push edx
push dword [ecx + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [ebp + 8]
mov edi, eax
mov ecx, edi
mov esi, dword [edi + 0x8c]
call fcn.0040aff0
mov ebx, eax
cmp esi, ebx
je 0x40b434
mov ecx, dword [edi + esi*4 + 4]
push 0
call fcn.0040b5bd
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
mov ecx, dword [edi + ebx*4 + 4]
push 1
call fcn.0040b5bd
push eax
call esi
cmp dword [edi], 0
mov dword [edi + 0x8c], ebx
je 0x40b434
mov ecx, edi
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.0040b608
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40f229
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.004010b0
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi], 0
je 0x40f2c5
push 0x2000
lea eax, [ebp - 0x2000]
push 0
push eax
call fcn.0041d760
xor eax, eax
add esp, 0xc
cmp dword [edi + 0xc], eax
je 0x40f27c
push dword [edi + 0xc]
lea eax, [ebp - 0x2000]
push eax
call fcn.0041d2dd
push dword [edi + 0xc]
call fcn.0041d349
add esp, 0xc
push dword [ebp + 8]
lea ecx, [ebp - 0x2000]
add eax, ecx
push esi
push eax
call fcn.0041cf6e
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x2000]
add esp, 0xc
test esi, esi
je 0x40f2b3
mov esi, dword [esi]
push 0
push eax
push eax
call fcn.0041d349
pop ecx
mov ecx, dword [edi + 0x14]
push eax
call dword [esi + 8]
jmp 0x40f2ba
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [edi], 2
jne 0x40f2c5
call dword [sym.imp.KERNEL32.dll_DebugBreak]
pop edi
pop esi
leave
ret

Function at 0x40f2c9
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.004010b0
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi + 4], 0
je 0x40f367
push 0x2000
lea eax, [ebp - 0x2000]
push 0
push eax
call fcn.0041d760
xor eax, eax
add esp, 0xc
cmp dword [edi + 0xc], eax
je 0x40f31d
push dword [edi + 0xc]
lea eax, [ebp - 0x2000]
push eax
call fcn.0041d2dd
push dword [edi + 0xc]
call fcn.0041d349
add esp, 0xc
push dword [ebp + 8]
lea ecx, [ebp - 0x2000]
add eax, ecx
push esi
push eax
call fcn.0041cf6e
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x2000]
add esp, 0xc
test esi, esi
je 0x40f354
mov esi, dword [esi]
push 0
push eax
push eax
call fcn.0041d349
pop ecx
mov ecx, dword [edi + 0x14]
push eax
call dword [esi + 8]
jmp 0x40f35b
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [edi + 4], 2
jne 0x40f367
call dword [sym.imp.KERNEL32.dll_DebugBreak]
pop edi
pop esi
leave
ret

Function at 0x40f36b
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.004010b0
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi + 8], 0
je 0x40f409
push 0x2000
lea eax, [ebp - 0x2000]
push 0
push eax
call fcn.0041d760
xor eax, eax
add esp, 0xc
cmp dword [edi + 0xc], eax
je 0x40f3bf
push dword [edi + 0xc]
lea eax, [ebp - 0x2000]
push eax
call fcn.0041d2dd
push dword [edi + 0xc]
call fcn.0041d349
add esp, 0xc
push dword [ebp + 8]
lea ecx, [ebp - 0x2000]
add eax, ecx
push esi
push eax
call fcn.0041cf6e
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x2000]
add esp, 0xc
test esi, esi
je 0x40f3f6
mov esi, dword [esi]
push 0
push eax
push eax
call fcn.0041d349
pop ecx
mov ecx, dword [edi + 0x14]
push eax
call dword [esi + 8]
jmp 0x40f3fd
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [edi + 8], 2
jne 0x40f409
call dword [sym.imp.KERNEL32.dll_DebugBreak]
pop edi
pop esi
leave
ret
Function at 0x56641e50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x5666dc68
call fcn.566541a0
sub esp, 0x14
mov eax, dword [0x5667b8ac]
mov al, byte [eax + 0x38]
push ebx
mov dword [ebp - 0x14], ecx
xor ecx, ecx
xor ebx, ebx
cmp al, bl
sete cl
push esi
push edi
push ecx
lea ecx, [ebp - 0x1c]
call fcn.56641d1e
movzx eax, word [ebp + 8]
push 5
mov esi, 0x5667bcc8
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.56662069
push eax
call dword [0x5667b95c]
mov edi, eax
cmp edi, ebx
jne 0x56641eab
push 0x80004005
call fcn.5666003f
pop ecx
push edi
mov ecx, esi
call fcn.56662069
push eax
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x56641ecc
push 0x8007000e
call fcn.56662d2b
pop ecx
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x56641ee7
push 0x8007000e
call fcn.56662d2b
pop ecx
push edi
mov ecx, esi
call fcn.56662069
push eax
call dword [sym.imp.kernel32.dll_SizeofResource]
cmp dword [ebp - 0x1c], ebx
mov esi, eax
je 0x56641f60
push ebx
push 0x566316d0
push 0x5667bcc8
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp + 8], ebx
call fcn.56641ac1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
push esi
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x56641f3d
push eax
call fcn.5665fd4a
pop ecx
mov eax, dword [ebp - 0x10]
cmp word [eax + 2], 0xffff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov esi, eax
jne 0x56641f52
add eax, 0xc
push eax
call dword [edx + 0x10]
lea ecx, [ebp + 8]
call fcn.5665f161
jmp 0x56641f6d
push esi
push dword [ebp - 0x18]
call fcn.56657a4c
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.5665f161
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x56647161
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5666e1e6
call fcn.566541a0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], 1
mov dword [esi + 4], ebx
lea ecx, [esi + 0x24]
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], ebx
call fcn.56662d2b
mov dword [ebp - 4], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 1
call fcn.56644031
lea ecx, [esi + 0x68]
call fcn.5664a893
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x78], ebx
mov byte [esi + 0x7c], bl
mov byte [esi + 0x7d], bl
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x56654718
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x5666ef94
call fcn.566541a0
sub esp, 0x14
mov eax, dword [0x5667b8ac]
mov al, byte [eax + 0x38]
push ebx
mov dword [ebp - 0x14], ecx
xor ecx, ecx
xor ebx, ebx
cmp al, bl
sete cl
push esi
push edi
push ecx
lea ecx, [ebp - 0x1c]
call fcn.56641d1e
movzx eax, word [ebp + 8]
push 5
mov esi, 0x5667bcc8
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.56662069
push eax
call dword [0x5667b95c]
mov edi, eax
cmp edi, ebx
jne 0x56654773
push 0x80004005
call fcn.5666003f
pop ecx
push edi
mov ecx, esi
call fcn.56662069
push eax
call dword [sym.imp.kernel32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x56654794
push 0x8007000e
call fcn.56662d2b
pop ecx
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x566547af
push 0x8007000e
call fcn.56662d2b
pop ecx
push edi
mov ecx, esi
call fcn.56662069
push eax
call dword [sym.imp.kernel32.dll_SizeofResource]
cmp dword [ebp - 0x1c], ebx
mov esi, eax
je 0x56654828
push ebx
push 0x566316d0
push 0x5667bcc8
lea ecx, [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp + 8], ebx
call fcn.56641ac1
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
lea edx, [ebp - 0x20]
push edx
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
push esi
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jge 0x56654805
push eax
call fcn.5665fd4a
pop ecx
mov eax, dword [ebp - 0x10]
cmp word [eax + 2], 0xffff
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov esi, eax
jne 0x5665481a
add eax, 0xc
push eax
call dword [edx + 0x10]
lea ecx, [ebp + 8]
call fcn.5665f161
jmp 0x56654835
push esi
push dword [ebp - 0x18]
call fcn.56657a4c
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.5665f161
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x566572bc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x5666f249
call fcn.566541a0
push ecx
push esi
push edi
xor edi, edi
push edi
mov esi, ecx
push edi
push edi
push edi
lea ecx, [esi + 0xc]
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.5665f8c4
push edi
push edi
push edi
push edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
call fcn.5665f8c4
push edi
push edi
push edi
push edi
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 1
call fcn.5665f8c4
push edi
push edi
push 1
push edi
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 2
call fcn.5665f8c4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x30], eax
mov dword [esi], 0x56636420
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x566602f2
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x56662d2b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x56662d3a
pop dword [ebp - 0x1c]
mov eax, 0x80f5bae9
add eax, 0xd5707251
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x455aa03
add dword [ebp - 0x2c], 0x49fc9b48
mov dword [ebp - 0x28], 0x1f6b54a6
add dword [ebp - 0x28], 0x12c7f79f
mov dword [ebp - 0x24], 0x6832a624
sub dword [ebp - 0x24], 0x1be661f6
mov dword [ebp - 0x20], 0x75734618
add dword [ebp - 0x20], 0x8a8cb9e8
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xa2891042
sub eax, 0x4c25fefe
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x66f5d678
add dword [ebp - 0x2c], 0xd7c92de
mov dword [ebp - 0x28], 0x8dbde386
add dword [ebp - 0x28], 0xb3ae7def
mov dword [ebp - 0x24], 0xb41bd953
sub dword [ebp - 0x24], 0x50ac6ce7
mov dword [ebp - 0x20], 0x1de862e1
add dword [ebp - 0x20], 0xe2179d1f
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x36c0d
push 0
call eax
mov ecx, 0x61fb98a6
add ecx, 0x9e049ce3
mov esi, eax
mov edx, 0x56688000
add edx, dword [ebp - 0x1c]
mov ebx, 0x8fbee89b
mov dword [ebp - 0x10], 0x6a043f7
mov edi, dword [edx]
xor edi, ebx
sub dword [ebp - 0xc], 0x9c85b55d
mov dword [esi], edi
add dword [ebp - 0x14], ecx
add esi, 0xc54c69b6
sub esi, 0xc54c69b2
add edx, 4
loop 0x56662e4b
add eax, 0x339666f9
add eax, 0xcc6a61fe
mov ebx, eax
add eax, 0xa2f54689
sub eax, 0xa2f54684
mov ecx, 0x89c6e9d4
add ecx, 0xcc9c162c
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x56666847
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x56670224
call fcn.566541a0
sub esp, 0xa8
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 4], ebx
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.oleaut32.dll_SetErrorInfo]
mov esi, dword [ebp + 8]
call fcn.56662d2b
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 0x14], bl
mov dword [ebp - 0xb4], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [ebp - 0xa4], 2
jne 0x566668af
cmp dword [ebp - 0xb0], 4
jb 0x566668af
mov byte [ebp - 0x14], 1
push ebx
push ebx
push 0x5663742c
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x566668c3
mov byte [ebp - 0x14], bl
mov esi, dword [ebp - 0x14]
push esi
call fcn.566686f2
pop ecx
push esi
call fcn.56668446
pop ecx
push esi
call fcn.5666803a
pop ecx
push esi
call fcn.56667fae
pop ecx
push esi
call fcn.5666798f
pop ecx
push esi
call fcn.5666790f
pop ecx
push esi
call fcn.5666788f
pop ecx
push esi
call fcn.566677b6
pop ecx
push esi
call fcn.566672ab
pop ecx
push esi
call fcn.56666967
pop ecx
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.oleaut32.dll_CreateErrorInfo]
lea ecx, [ebp - 0x18]
call fcn.5665f161
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x480130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [ebp + 8]
mov byte [esp + 0xab], 0x52
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x94], 0x6ffba9a8
mov dword [esp + 0x74], 0x55fd511b
mov esi, dword [esp + 0x94]
mov edi, 0xa864ae07
sub edi, esi
mov dword [esp + 0x64], edi
mov edi, esi
or edi, 0x41a62220
mov dword [esp + 0xa4], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], esi
jmp loc.00499668
Function at 0x1000261d
Capabilities:
Resume thread

Disassembly:
push 8
mov eax, 0x1000b431
call fcn.1000a6a6
mov esi, 0x10015024
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov byte [ebp - 0x10], 1
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [0x10014fed], bl
jne 0x1000269a
push str.starting_PDFL_thread..._n
call fcn.1000482a
pop ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [0x10014ff0], eax
mov byte [0x10014fec], bl
cmp dword [0x10014fe4], ebx
jne 0x10002676
call fcn.100025f7
push dword [0x10014fe4]
call dword [sym.imp.kernel32.dll_ResumeThread]
push 0xea60
push dword [0x10014ff0]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov byte [0x10014fed], 1
or dword [ebp - 4], 0xffffffff
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
call fcn.1000a77e
ret

Function at 0x1000482a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10004839
pop dword [ebp - 0x48]
mov eax, 0x3ed690d1
add eax, 0xd129b768
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xd4dabfe7
add dword [ebp - 0x58], 0x79778564
mov dword [ebp - 0x54], 0x6653b98e
sub dword [ebp - 0x54], 0x34206d49
mov dword [ebp - 0x50], 0xfc5dc597
sub dword [ebp - 0x50], 0xb0118169
mov dword [ebp - 0x4c], 0x61288f81
add dword [ebp - 0x4c], 0x9ed7707f
lea eax, [ebp - 0x58]
push eax
mov eax, 0xa05eb3c
sub eax, 0xfa051a44
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0xae1e2f68
add dword [ebp - 0x58], 0xc65439ee
mov dword [ebp - 0x54], 0x8a4e7fea
sub dword [ebp - 0x54], 0x48e21e75
mov dword [ebp - 0x50], 0xea03c081
sub dword [ebp - 0x50], 0x86945415
mov dword [ebp - 0x4c], 0xca4c1c56
add dword [ebp - 0x4c], 0x35b3e3aa
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x836fb5bf
add eax, 0x8c911b31
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3c151
push 0
call eax
mov ecx, 0xd82f3c74
sub ecx, 0xd82ee520
xor esi, esi
add esi, eax
mov edx, 0x35015445
add edx, 0xdb0047bb
add edx, dword [ebp - 0x48]
mov edi, 0xa0d063d2
sub dword [ebp - 0x28], 0x371bc691
mov ebx, dword [edx]
sub dword [ebp - 0xc], esi
add ebx, edi
mov dword [ebp - 0x14], 0x871f3646
mov dword [esi], ebx
xor dword [ebp - 0x40], 0x36b6940d
add esi, 4
add edx, 4
loop 0x10004957
add eax, 0x910f1eec
sub eax, 0x910dcec9
mov ebx, eax
add eax, 0x7f72780b
sub eax, 0x7f727806
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10009a58
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1000b983
call fcn.1000a745
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x428], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call fcn.10006ab2
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x10009ab0
call fcn.10004252
mov esi, eax
jmp 0x10009b86
push ebx
push edi
push eax
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x10009ac9
call fcn.10004252
jmp 0x10009b78
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x10009abf
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x10009b03
mov esi, 0x8007000e
jmp 0x10009b7a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.1000482a
mov dword [ebp - 4], 1
jmp 0x10009b31
cmp dword [ebp - 0x418], esi
je 0x10009afc
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x10009abf
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.1000482a
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10009b9f
lea ecx, [ebp - 0x418]
call fcn.100061ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10004520
mov eax, esi
call fcn.1000a7a1
ret 0x10
Function at 0x10202190
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
push esi
mov esi, ecx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0
test eax, eax
jne 0x102021b1
xor eax, eax
jmp 0x102021b4
push eax
call ebx
mov word [esp + 0x10], ax
test esi, esi
jne 0x102021c6
xor ecx, ecx
mov word [esp + 0x12], cx
jmp 0x102021ce
push esi
call ebx
mov word [esp + 0x12], ax
mov edx, dword [0x102053a4]
mov eax, dword [edx + 0x36c]
push edi
call eax
add esp, 4
lea esi, [esp + 8]
jmp 0x10220346

Function at 0x10203336
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10203340
repz ret
jmp fcn.102036f3
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x414176
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x414185
pop dword [ebp - 0x40]
mov eax, 0x2996a788
sub eax, 0x29556603
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x65c8ee02
sub dword [ebp - 0x50], 0x1776a8b7
mov dword [ebp - 0x4c], 0xc02c752d
sub dword [ebp - 0x4c], 0x8df928e8
mov dword [ebp - 0x48], 0xa8be248d
sub dword [ebp - 0x48], 0x5c71e05f
mov dword [ebp - 0x44], 0x401a06d6
sub dword [ebp - 0x44], 0x401a06d6
lea eax, [ebp - 0x50]
push eax
mov eax, 0x5b892026
add eax, 0xa4b9104e
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x3c2f0d55
sub dword [ebp - 0x50], 0xc7bca3ff
mov dword [ebp - 0x4c], 0x6e84fe46
add dword [ebp - 0x4c], 0xd2e7632f
mov dword [ebp - 0x48], 0x2772172
sub dword [ebp - 0x48], 0x9f07b506
mov dword [ebp - 0x44], 0xd2b004ec
sub dword [ebp - 0x44], 0xd2b004ec
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x992bd29a
add eax, 0x67165e8a
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3c6c8
push 0
call eax
mov ecx, 0xe40e53b
add ecx, 0xf1bf5c5c
mov edx, eax
mov ebx, 0x434400
add ebx, dword [ebp - 0x40]
mov esi, 0x6b0e1486
sub esi, 0xe66d175d
mov dword [ebp - 0xc], 0xe83d3557
mov edi, dword [ebx]
xor dword [ebp - 0x38], 0xd3ca8f48
xor edi, esi
xor dword [ebp - 0x14], 0x966f2b0b
mov dword [edx], edi
sub dword [ebp - 0x34], 0x6dc43c78
add edx, 0x104cc4e
add edx, 0xfefb33b6
add ebx, 0x176fd69b
add ebx, 0xe8902969
loop 0x4142a1
add eax, 0x119cce60
add eax, 0xee642acf
xor ebx, ebx
add ebx, eax
add eax, 0x30c8834
sub eax, 0x30c882f
mov ecx, 0x5c3bbd51
add ecx, 0xa40442af
add ecx, dword [ebp - 0x40]
call ebx
leave
ret