joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029fb4
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x21c
mov eax, 0x1002ff54
call fcn.1002b85a
mov eax, dword [ebp + 8]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
xor eax, eax
xor edi, edi
push 0x206
mov word [ebp - 0x218], ax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push edi
push eax
mov esi, edi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x108
push edi
push 0x10006bd0
push 0x80000002
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002a034
mov esi, eax
jle 0x1002a1ad
and esi, 0xffff
or esi, 0x80070000
jmp 0x1002a1ad
mov ebx, edi
push edi
push edi
push edi
push edi
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ebx
push dword [ebp - 0x21c]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1002a1ad
test eax, eax
jne 0x1002a177
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call fcn.10029e2a
push 0xc
call fcn.1000150e
pop ecx
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
mov dword [ebp - 4], edi
test eax, eax
je 0x1002a09c
mov ecx, eax
call fcn.10004f6b
mov edi, eax
or dword [ebp - 4], reloc.ADVAPI32.dll_TraceMessage
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], edi
test edi, edi
je 0x1002a139
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
mov ecx, edi
call fcn.1000503e
mov esi, eax
test esi, esi
js 0x1002a10b
mov ecx, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
call fcn.1000f2a1
mov esi, eax
test esi, esi
js 0x1002a0ef
inc ebx
push 0
pop edi
cmp ebx, 0x1f4
jae 0x1002a1ad
jmp 0x1002a036
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1002a163
test byte [eax + 0x1c], 1
je 0x1002a163
push esi
push 0x1000c1d4
push 0x15
jmp 0x1002a158
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1002a163
test byte [eax + 0x1c], 1
je 0x1002a163
push esi
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
push 0x1000c1d4
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fe35
jmp 0x1002a163
mov esi, 0x8007000e
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1002a163
test byte [eax + 0x1c], 1
je 0x1002a163
push esi
push 0x1000c1d4
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fead
test edi, edi
je 0x1002a1ad
mov ecx, edi
call fcn.10004fde
push edi
call fcn.10001485
pop ecx
jmp 0x1002a1ad
mov esi, eax
jle 0x1002a187
and esi, 0xffff
or esi, 0x80070000
mov eax, dword [0x100320c8]
cmp eax, 0x100320c8
je 0x1002a1ad
test byte [eax + 0x1c], 1
je 0x1002a1ad
push esi
push ebx
push 0x1000c1d4
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.1001fb46
cmp dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0
je 0x1002a1c2
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
call fcn.1002b897
ret 4
Function at 0x1002ba66
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x1002ba7c
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], reloc.ADVAPI32.dll_TraceMessage
jne 0x1002ba97
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1002ba9e
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
movzx ebx, word [ecx + 6]
add eax, 0x18
push esi
xor edx, edx
add eax, ecx
push edi
test ebx, ebx
je 0x1002badc
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x1002bad4
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x1002bade
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x1002bac4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1002d29f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1002d2d0
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1002b4ec
add esp, 0x14
or eax, reloc.ADVAPI32.dll_TraceMessage
jmp 0x1002d3d7
push ebx
lea ebx, [edi + 0xc]
mov eax, dword [ebx]
test al, 0x83
je 0x1002d3d3
test al, 0x40
jne 0x1002d3d3
test al, 2
je 0x1002d2f4
or eax, 0x20
mov dword [ebx], eax
jmp 0x1002d3d3
or eax, 1
mov dword [ebx], eax
test eax, 0x10c
jne 0x1002d320
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1002b4ec
add esp, 0x14
jmp 0x1002d3d3
push dword [edi + 0x18]
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.msvcrt.dll__fileno]
push eax
push edi
mov dword [edi], eax
call esi
pop ecx
push eax
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
lea ecx, [edi + 4]
mov dword [ecx], eax
test eax, eax
je 0x1002d3c4
cmp eax, reloc.ADVAPI32.dll_TraceMessage
je 0x1002d3c4
test byte [ebx], 0x82
jne 0x1002d39b
push edi
call esi
pop ecx
cmp eax, reloc.ADVAPI32.dll_TraceMessage
je 0x1002d384
push edi
call esi
pop ecx
cmp eax, 0xfffffffe
je 0x1002d384
push edi
call esi
mov ecx, dword [sym.imp.msvcrt.dll___pioinfo]
sar eax, 5
push edi
lea esi, [ecx + eax*4]
call dword [sym.imp.msvcrt.dll__fileno]
and eax, 0x1f
imul eax, eax, 0x24
add eax, dword [esi]
pop ecx
pop ecx
jmp 0x1002d389
mov eax, dword [sym.imp.msvcrt.dll___badioinfo]
mov al, byte [eax + 4]
and al, 0x82
lea ecx, [edi + 4]
cmp al, 0x82
jne 0x1002d39b
or dword [ebx], reloc.ADVAPI32.dll_TraceMessage
cmp dword [edi + 0x18], reloc.ADVAPI32.dll_TraceMessage
jne 0x1002d3b8
test byte [ebx], 8
je 0x1002d3b8
test dword [ebx], reloc.ADVAPI32.dll_TraceMessage
jne 0x1002d3b8
mov dword [edi + 0x18], reloc.ADVAPI32.dll_TraceMessage
dec dword [ecx]
mov ecx, dword [edi]
movzx eax, byte [ecx]
inc ecx
mov dword [edi], ecx
jmp 0x1002d3d6
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [ebx], eax
and dword [ecx], 0
or eax, reloc.ADVAPI32.dll_TraceMessage
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x1002ebfc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x1002ec2f
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1002b4ec
add esp, 0x14
mov eax, 0xffff
jmp 0x1002ed48
push ebx
lea ebx, [edi + 0xc]
mov eax, dword [ebx]
test al, 0x83
je 0x1002ed42
test al, 0x40
jne 0x1002ed42
test al, 2
je 0x1002ec53
or eax, 0x20
mov dword [ebx], eax
jmp 0x1002ed42
or eax, 1
mov dword [ebx], eax
test eax, 0x10c
jne 0x1002ec7f
call dword [sym.imp.msvcrt.dll__errno]
mov dword [eax], 0x16
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1002b4ec
add esp, 0x14
jmp 0x1002ed42
push dword [edi + 0x18]
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.msvcrt.dll__fileno]
push eax
push edi
mov dword [edi], eax
call esi
pop ecx
push eax
call dword [sym.imp.msvcrt.dll__read]
add esp, 0xc
lea ecx, [edi + 4]
mov dword [ecx], eax
test eax, eax
je 0x1002ed33
cmp eax, 1
je 0x1002ed33
cmp eax, reloc.ADVAPI32.dll_TraceMessage
je 0x1002ed33
test byte [ebx], 0x82
jne 0x1002ed07
push edi
call esi
pop ecx
cmp eax, reloc.ADVAPI32.dll_TraceMessage
je 0x1002ecf0
push edi
call esi
pop ecx
cmp eax, 0xfffffffe
je 0x1002ecf0
push edi
call esi
mov ecx, dword [sym.imp.msvcrt.dll___pioinfo]
sar eax, 5
push edi
lea esi, [ecx + eax*4]
call dword [sym.imp.msvcrt.dll__fileno]
and eax, 0x1f
imul eax, eax, 0x24
add eax, dword [esi]
pop ecx
pop ecx
jmp 0x1002ecf5
mov eax, dword [sym.imp.msvcrt.dll___badioinfo]
mov al, byte [eax + 4]
and al, 0x82
lea ecx, [edi + 4]
cmp al, 0x82
jne 0x1002ed07
or dword [ebx], reloc.ADVAPI32.dll_TraceMessage
cmp dword [edi + 0x18], reloc.ADVAPI32.dll_TraceMessage
jne 0x1002ed24
test byte [ebx], 8
je 0x1002ed24
test dword [ebx], reloc.ADVAPI32.dll_TraceMessage
jne 0x1002ed24
mov dword [edi + 0x18], reloc.ADVAPI32.dll_TraceMessage
add dword [ecx], reloc.ADVAPI32.dll_TraceMessage
mov ecx, dword [edi]
movzx eax, word [ecx]
add ecx, 2
mov dword [edi], ecx
jmp 0x1002ed47
neg eax
sbb eax, eax
and eax, 0x10
add eax, 0x10
or dword [ebx], eax
and dword [ecx], 0
mov eax, 0xffff
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x1002ed69
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x10032138]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push 0x2000000
xor ecx, ecx
push ecx
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x1002ee72
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x218]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x105
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov esi, eax
test esi, esi
je 0x1002edeb
jmp 0x1002ee16
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push dword [ebp - 0x218]
call fcn.1002ed69
push dword [ebp - 0x214]
mov eax, dword [ebp - reloc.ADVAPI32.dll_TraceMessage]
lea ecx, reloc.ADVAPI32.dll_TraceMessage
push ecx
dec eax
push eax
push dword [ebp - 0x218]
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1002edd9
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x1002ee32
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
jmp 0x1002ee72
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x1002ee4c
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1002ee72
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
lea eax, reloc.ADVAPI32.dll_TraceMessage
push eax
push ecx
push edi
mov dword [ebp - reloc.ADVAPI32.dll_TraceMessage], 0x105
call ebx
test eax, eax
je 0x1002ee3a
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.100024c8
leave
ret 8
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x41bc40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x415015
lea edi, [esi - 0x14015]
push edi
or ebp, 0xffffffff
jmp 0x41bc62
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41bc69
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41bc58
mov eax, 1
add ebx, ebx
jne 0x41bc7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41bc70
jne 0x41bc8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41bc70
xor ecx, ecx
sub eax, 3
jb 0x41bca0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41bd12
mov ebp, eax
add ebx, ebx
jne 0x41bcab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41bcb8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41bcdc
inc ecx
add ebx, ebx
jne 0x41bcc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41bcbd
jne 0x41bcd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41bcbd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41bcfc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41bced
jmp 0x41bc5e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41bcfc
add edi, ecx
jmp 0x41bc5e
pop esi
mov edi, esi
mov ecx, 0x9c9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41bd1a
cmp byte [edi], 9
jne 0x41bd1a
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 eax, ebx
loop 0x41bd1f
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x41bd8e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b454]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b508]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41bd4c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b50c]
or eax, eax
je 0x41bd88
mov dword [ebx], eax
add ebx, 4
jmp 0x41bd69
call dword [esi + 0x1b510]
popal
jmp 0x40f18c
Function at 0x405b1b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040388d
and dword [ebp - 4], 0
cmp dword [0x410924], 0
mov ebx, eax
jne 0x405bcc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405c7d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405c7d
push eax
call fcn.0040381b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x410924], eax
call esi
push eax
call fcn.0040381b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x410928], eax
call esi
push eax
call fcn.0040381b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41092c], eax
call esi
push eax
call fcn.0040381b
pop ecx
mov dword [0x410934], eax
test eax, eax
je 0x405bcc
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040381b
pop ecx
mov dword [0x410930], eax
mov eax, dword [0x410930]
cmp eax, ebx
je 0x405c24
cmp dword [0x410934], ebx
je 0x405c24
push eax
call fcn.00403896
push dword [0x410934]
mov esi, eax
call fcn.00403896
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c24
test edi, edi
je 0x405c24
call esi
test eax, eax
je 0x405c1b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c1b
test byte [ebp - 0xc], 1
jne 0x405c24
or dword [ebp + 0x10], 0x200000
jmp 0x405c5d
mov eax, dword [0x410928]
cmp eax, ebx
je 0x405c5d
push eax
call fcn.00403896
pop ecx
test eax, eax
je 0x405c5d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405c5d
mov eax, dword [0x41092c]
cmp eax, ebx
je 0x405c5d
push eax
call fcn.00403896
pop ecx
test eax, eax
je 0x405c5d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x410924]
call fcn.00403896
pop ecx
test eax, eax
je 0x405c7d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405c7f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407f88
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push edi
mov edi, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
cld
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esp, edi
pop edi
dec eax
imul eax, dword [ecx]
cmp al, 0x7c
jne 0x407fdd
push 1
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
cmp eax, dword [edx + ebp]
je 0x408022
mov eax, 0x407fd8
lea eax, [edx + eax]
push ebp
push eax
push 0
call sub.KERNEL32.dll_EnumResourceTypesW
push esi
jmp 0x408022
cmc
nop
mov eax, esp
lea eax, [eax + 8]
mov ecx, eax
or eax, dword [ecx]
and eax, dword [ecx]
or eax, 7
lock xchg dword ds:[esp + 0xc], edx
lea eax, es:[eax + 0x789693]
sub eax, 0x783648
xacquire lock add dword es:[edx - 0x1b4], eax
pop ecx
add esp, 0x10
mov eax, 0
mov dx, cs
push dx
push ecx
retf
add byte [eax], al
add byte [eax], al
jl 0x407fca
rep outsb dx, byte [esi]
dec edx
retf
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4c2e80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x80000]
push edi
jmp 0x4c2e9a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c2ea1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2e90
mov eax, 1
add ebx, ebx
jne 0x4c2eb3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c2ec4
jne 0x4c2ee3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2ee3
dec eax
add ebx, ebx
jne 0x4c2ed0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c2ea8
add ebx, ebx
jne 0x4c2edf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c2f35
xor ecx, ecx
sub eax, 3
jb 0x4c2efb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c2f6a
sar eax, 1
mov ebp, eax
jmp 0x4c2f06
add ebx, ebx
jne 0x4c2f06
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2ed4
inc ecx
add ebx, ebx
jne 0x4c2f14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c2ed4
add ebx, ebx
jne 0x4c2f21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c2f16
jne 0x4c2f32
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c2f16
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c2f54
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c2f46
jmp 0x4c2e96
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c2f54
add edi, ecx
jmp 0x4c2e96
pop esi
mov edi, esi
mov ecx, 0x379b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c2f72
cmp byte [edi], 0x13
jne 0x4c2f72
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 0x4c2f77
lea edi, [esi + 0xbe000]
mov eax, dword [edi]
or eax, eax
je 0x4c2fef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd4468]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd45bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c2fa4
mov ecx, edi
jns 0x4c2fd3
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 + 0xd45c0]
or eax, eax
je 0x4c2fe9
mov dword [ebx], eax
add ebx, 4
jmp 0x4c2fc1
call dword [esi + 0xd45d0]
mov ebp, dword [esi + 0xd45c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4c3023
sub esp, 0xffffff80
jmp 0x4165c1
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x32f0279
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x645d52ce
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4b0184
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004afd89

Function at 0x4b018f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004aff0a

Function at 0x4b4b44
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b4328

Function at 0x4b4b4f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b4563

Function at 0x4b51a1
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b4f28
Function at 0x100157cb
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x10015804
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10010548
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10010035
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x10017705
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x10017748
call fcn.1001e464
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x10017748
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10017763
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.100172bc
test ebx, ebx
mov esi, eax
je 0x10017761
test edi, edi
je 0x10017761
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100181b7
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1008ed3e
call fcn.100477af
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x100181dc
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10018228
call fcn.10018622
push eax
lea ecx, [ebp - 0x10]
call fcn.1000140b
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000a219
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100013e3
mov eax, esi
call fcn.10047887
ret 8

Function at 0x1001c1f2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x1001c212
cmp dword [edi + 0x54], 0
jne 0x1001c212
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.1001e464
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
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1001c1b9
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8