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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
cmp dword [ebp + 0xc], 0
jne 0x40900b
jmp 0x40916c
lea eax, [ebp - 0x20]
push eax
push 0x40000
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x409037
jmp 0x40916c
mov eax, dword [ebp + 0x10]
push eax
push 4
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40905a
jmp 0x40916c
cmp dword [ebp + 0x14], 0
je 0x409165
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4090a1
jmp 0x40916c
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 8]
push edx
push 0
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4090de
jmp 0x40916c
push 0x20a
call fcn.0040986a
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
jmp 0x409106
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x28]
jae 0x409153
push 0x105
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x409146
push 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00408fe0
add esp, 0x10
jmp 0x409151
cmp dword [ebp - 0x10], 0x103
jne 0x409151
jmp 0x409153
jmp 0x4090fd
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0040a1eb
add esp, 4
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x20], 0
je 0x40917c
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret

Function at 0x409df4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41a1b0]
jne 0x409dfe
repz ret
jmp fcn.0040cbac
Function at 0x4112a7
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.0040b8d8
and dword [ebp - 4], 0
cmp dword [0x41bc90], 0
mov ebx, eax
jne 0x411358
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x411409
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x411409
push eax
call fcn.0040b866
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41bc90], eax
call esi
push eax
call fcn.0040b866
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41bc94], eax
call esi
push eax
call fcn.0040b866
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41bc98], eax
call esi
push eax
call fcn.0040b866
pop ecx
mov dword [0x41bca0], eax
test eax, eax
je 0x411358
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b866
pop ecx
mov dword [0x41bc9c], eax
mov eax, dword [0x41bc9c]
cmp eax, ebx
je 0x4113b0
cmp dword [0x41bca0], ebx
je 0x4113b0
push eax
call fcn.0040b8e1
push dword [0x41bca0]
mov esi, eax
call fcn.0040b8e1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4113b0
test edi, edi
je 0x4113b0
call esi
test eax, eax
je 0x4113a7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4113a7
test byte [ebp - 0xc], 1
jne 0x4113b0
or dword [ebp + 0x10], 0x200000
jmp 0x4113e9
mov eax, dword [0x41bc94]
cmp eax, ebx
je 0x4113e9
push eax
call fcn.0040b8e1
pop ecx
test eax, eax
je 0x4113e9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4113e9
mov eax, dword [0x41bc98]
cmp eax, ebx
je 0x4113e9
push eax
call fcn.0040b8e1
pop ecx
test eax, eax
je 0x4113e9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41bc90]
call fcn.0040b8e1
pop ecx
test eax, eax
je 0x411409
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x41140b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7d2130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1cc000]
push edi
or ebp, 0xffffffff
jmp 0x7d2152
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7d2159
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d2148
mov eax, 1
add ebx, ebx
jne 0x7d216b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7d217c
jne 0x7d219b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d219b
dec eax
add ebx, ebx
jne 0x7d2188
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7d2160
add ebx, ebx
jne 0x7d2197
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x7d21ed
xor ecx, ecx
sub eax, 3
jb 0x7d21b3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7d2222
sar eax, 1
mov ebp, eax
jmp 0x7d21be
add ebx, ebx
jne 0x7d21be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d218c
inc ecx
add ebx, ebx
jne 0x7d21cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7d218c
add ebx, ebx
jne 0x7d21d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7d21ce
jne 0x7d21ea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7d21ce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7d220c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7d21fe
jmp 0x7d214e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7d220c
add edi, ecx
jmp 0x7d214e
pop esi
mov edi, esi
mov ecx, 0x4312
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7d222a
cmp byte [edi], 0x19
jne 0x7d222a
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 0x7d222f
lea edi, [esi + 0x3cf000]
mov eax, dword [edi]
or eax, eax
je 0x7d229e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3d9e54]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3d9f48]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7d225c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3d9f50]
or eax, eax
je 0x7d2298
mov dword [ebx], eax
add ebx, 4
jmp 0x7d2279
call dword [esi + 0x3d9f4c]
mov ebp, dword [esi + 0x3d9f54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x7d22d2
sub esp, 0xffffff80
jmp 0x4918bc
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1cd01b86
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4310d2
mov ebx, 0x42f3f8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6f4b7270
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x402f08
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push 0
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0x14]
call sub.kernel32.dll_WriteFile
test eax, eax
setne al
movsx eax, al
push eax
call fcn.00402da8
mov esi, eax
cmp dword [0x407e98], 0xffffffff
je 0x402f69
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x407e94]
jne 0x402f69
lea eax, [ebp - 0x1c]
push eax
push dword [0x407e94]
call sub.kernel32.dll_GetConsoleScreenBufferInfo
movsx eax, word [ebp - 0x18]
mov dword [0x407ea0], eax
movsx eax, word [ebp - 0x16]
mov dword [0x407ea4], eax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38c
push esi
push edi
mov edi, 3
push 0x4089e8
call fcn.00406194
mov esi, dword [eax]
push 0x4089e8
call fcn.00406194
mov dword [eax], 0x40
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0
call fcn.004059fc
call fcn.00405878
lea eax, [ebp - 0x150]
push eax
push 1
call fcn.00405904
call fcn.0040450c
test eax, eax
jne 0x4031c1
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 0x40
push 0
call fcn.004059dc
call fcn.0040450c
test eax, eax
jne 0x403137
cmp word [ebp - 0x190], 0x5a4d
jne 0x403137
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405920
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x190]
push eax
push 2
push 0
call fcn.004059dc
jmp 0x403141
mov dword [ebp - 0x154], 0
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x154]
call fcn.00405920
call fcn.0040450c
test eax, eax
jne 0x4031a5
cmp word [ebp - 0x190], 0x4550
jne 0x4031a5
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x288]
push eax
push 0xf8
push 0
call fcn.004059dc
call fcn.0040450c
test eax, eax
jne 0x4031a5
cmp dword [ebp - 0x288], 0x4550
jne 0x4031a5
cmp word [ebp - 0x22c], 3
jne 0x4031a5
mov edi, 2
lea eax, [ebp - 0x150]
push eax
call fcn.00405950
push 0x4089e0
call fcn.00406194
mov dword [eax], 0
push 0x4089e8
call fcn.00406194
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x403218
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
call sub.kernel32.dll_CreateThread
mov esi, eax
push esi
call sub.kernel32.dll_CloseHandle
test esi, esi
setne al
movsx eax, al
push eax
call fcn.00402da8
mov esi, eax
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4032bc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
cmp dword [0x407f38], 0
je 0x4032de
mov eax, dword [0x407f38]
mov dword [ebp - 4], eax
jmp 0x403373
push 0x104
call fcn.004045e0
mov dword [ebp - 4], eax
push 0x104
push dword [ebp - 4]
push 0
call sub.kernel32.dll_GetModuleFileNameA
push dword [ebp - 4]
call fcn.004040a8
inc eax
mov ebx, eax
call sub.kernel32.dll_GetCommandLineA
mov esi, eax
mov al, byte [esi]
dec al
cmp al, 0x1f
jbe 0x403323
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.00403254
mov esi, eax
inc esi
push esi
call fcn.004040a8
inc eax
mov edi, eax
lea eax, [ebp - 4]
push eax
mov eax, ebx
add eax, edi
inc eax
push eax
call fcn.00404640
call sub.kernel32.dll_AreFileApisANSI
test eax, eax
jne 0x403354
push edi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push esi
call sub.user32.dll_CharToOemBuffA
jmp 0x403361
push esi
mov eax, dword [ebp - 4]
add eax, ebx
push eax
push edi
call fcn.00404e20
mov eax, dword [ebp - 4]
add eax, ebx
add eax, edi
mov byte [eax], 0
mov eax, dword [ebp - 4]
mov dword [0x407f38], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403450
Capabilities:
Contain obfuscated stackstrings
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov dword [ebp - 0x24], 0x52414853
mov dword [ebp - 0x20], 0x454d4445
mov dword [ebp - 0x1c], 0x5356354d
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 0
lea eax, [ebp - 0x18]
push eax
push 0xb
call fcn.00404d94
xor eax, eax
mov bl, 0
cmp dword [0x407edc], 0
jne 0x40349e
push 0x407c2c
push 1
call fcn.00402cb4
mov dword [0x407edc], eax
cmp dword [0x407edc], 0
jne 0x4034b7
push 0x8000
call fcn.004045e0
mov esi, eax
mov bl, 1
jmp 0x4034f1
lea eax, [ebp - 0x24]
push eax
push 0
push 6
call dword [0x407edc]
test eax, eax
jne 0x4034e1
lea eax, [ebp - 0x24]
push eax
push 0x8000
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov bl, 1
push 0
push 0
push 0
push 6
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test bl, bl
je 0x40351a
push esi
push 0x8000
push 0xff
call fcn.00404e7c
push esi
push 0x24
push 0
call fcn.00404e7c
mov eax, esi
add eax, 0xc
push eax
call fcn.004046c8
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4038c8
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push esi
call fcn.00403854
lea edx, [ebp - 0x400]
movzx ecx, word [ebp + 0x14]
dec ecx
xor esi, esi
jmp 0x403900
mov eax, dword [ebp + 8]
movzx eax, byte [eax]
mov word [edx + 2], ax
mov eax, dword [ebp + 0x18]
movzx eax, byte [eax]
mov word [edx], ax
inc dword [ebp + 0x18]
add edx, 4
inc esi
cmp ecx, esi
jge 0x4038e6
mov ax, word [ebp + 0x14]
mov word [ebp - 0x404], ax
mov word [ebp - 0x402], 1
mov word [ebp - 0x408], 0
mov word [ebp - 0x406], 0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x410], ax
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40e], ax
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0x14]
add ecx, eax
dec ecx
mov word [ebp - 0x40c], cx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x40a], ax
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x408]
push dword [ebp - 0x404]
lea eax, [ebp - 0x400]
push eax
push dword [0x407e94]
call sub.kernel32.dll_WriteConsoleOutputA
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x403ca8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x403cc8
mov al, byte [ebp - 4]
jmp 0x403ccb
mov al, byte [ebp + 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405cb4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
or edi, 0xffffffff
or eax, 0xffffffff
mov dword [ebp - 0x24], 0
xor esi, esi
mov edx, dword [0x40828c]
add edx, 0x24
mov esi, edx
cmp dword [edx], 0xffffffff
je 0x405cf2
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405ced
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 8]
jbe 0x405ced
mov esi, edx
add edx, 0x10
jmp 0x405cd6
mov edx, esi
cmp dword [edx], 0xffffffff
je 0x405e06
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405e06
mov ecx, dword [edx + 8]
cmp ecx, dword [ebp + 0x10]
ja 0x405e04
mov ecx, dword [edx + 8]
sub dword [ebp + 0x10], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [edx + 0xc]
test edx, edx
je 0x405e04
mov cl, byte [edx]
sub cl, 0x3c
jne 0x405d3a
jmp 0x405e04
sub cl, 3
jne 0x405d54
inc edx
mov dword [ebp - 0xc], edx
movzx ecx, byte [edx]
inc ecx
add edx, ecx
mov byte [ebp - 0x25], 1
jmp 0x405dff
inc cl
jne 0x405d68
movzx ecx, word [edx + 1]
add edi, ecx
add edx, 3
jmp 0x405dff
inc cl
jne 0x405d7c
movzx ecx, word [edx + 1]
add edi, ecx
mov ecx, dword [edx + 3]
add eax, ecx
add edx, 7
jmp 0x405d8f
movzx ecx, byte [edx]
shr ecx, 6
add edi, ecx
mov cl, byte [edx]
and cl, 0x3f
movzx ecx, cl
add eax, ecx
inc edx
cmp eax, dword [ebp + 0x10]
jne 0x405d99
mov esi, eax
mov dword [ebp - 0x24], edi
cmp eax, dword [ebp + 0x10]
jl 0x405df6
sub eax, dword [ebp + 0x10]
cmp eax, 0xa
jle 0x405dac
cmp byte [ebp - 0x25], 0
jne 0x405df4
mov eax, dword [ebp - 0xc]
mov cl, byte [eax]
mov eax, dword [ebp + 0xc]
mov byte [eax], cl
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
cmp eax, dword [ebp - 0x14]
jle 0x405de2
inc dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dl, byte [eax + ecx]
xor dl, 0xaa
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov byte [eax + ecx], dl
jmp 0x405dbd
movzx eax, word [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
add esi, dword [ebp - 0x18]
mov eax, esi
jmp 0x405e06
jmp 0x405e04
mov esi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 0x25], 0
jmp 0x405d2c
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4062dc
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x10
cld
push ecx
call fcn.004062b8
call fcn.00403450
mov dword [0x40828c], eax
lea edx, [eax + 0x18]
mov dword [0x4082ec], edx
pop edx
call fcn.00406138
call sub.kernel32.dll_GetEnvironmentStrings
mov dword [0x4082b8], eax
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x4082cc], eax
mov dword [0x4082f4], eax
call fcn.00403080
cmp eax, 3
setb byte [0x408295]
call fcn.004040a0
lea eax, [esp]
xor edx, edx
mov ecx, dword fs:[edx]
mov dword fs:[edx], eax
mov dword [eax], ecx
mov dword [eax + 4], 0x406568
mov dword [eax + 8], ebp
jmp dword [esp + 0x10]
Function at 0x416810
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
jmp 0x41682a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x416831
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x416820
mov eax, 1
add ebx, ebx
jne 0x416843
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x416838
jne 0x416854
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416838
xor ecx, ecx
sub eax, 3
jb 0x416868
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4168da
mov ebp, eax
add ebx, ebx
jne 0x416873
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x416880
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4168a4
inc ecx
add ebx, ebx
jne 0x416890
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x416885
jne 0x4168a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x416885
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4168c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4168b5
jmp 0x416826
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4168c4
add edi, ecx
jmp 0x416826
pop esi
mov edi, esi
mov ecx, 0x219
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4168e2
cmp byte [edi], 5
jne 0x4168e2
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 0x4168e7
lea edi, [esi + 0x14000]
mov eax, dword [edi]
or eax, eax
je 0x416956
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1cec0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1cf2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x416914
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1cf34]
or eax, eax
je 0x416950
mov dword [ebx], eax
add ebx, 4
jmp 0x416931
call dword [esi + 0x1cf30]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x416987
cmp al, 0xef
ja 0x41697a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41695c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x416969
mov ebp, dword [esi + 0x1cf38]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x4169bb
sub esp, 0xffffff80
jmp 0x4029e1
Function at 0x408e00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x408015
lea edi, [esi - 0x7015]
push edi
jmp 0x408e1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408e21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408e10
mov eax, 1
add ebx, ebx
jne 0x408e33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x408e28
jne 0x408e44
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e28
xor ecx, ecx
sub eax, 3
jb 0x408e58
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408eca
mov ebp, eax
add ebx, ebx
jne 0x408e63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x408e70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x408e94
inc ecx
add ebx, ebx
jne 0x408e80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x408e75
jne 0x408e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x408e75
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x408eb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x408ea5
jmp 0x408e16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x408eb4
add edi, ecx
jmp 0x408e16
pop esi
mov edi, esi
mov ecx, 0x74
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x408ed2
cmp byte [edi], 1
jne 0x408ed2
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 0x408ed7
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x408f46
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x408f04
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8088]
or eax, eax
je 0x408f40
mov dword [ebx], eax
add ebx, 4
jmp 0x408f21
call dword [esi + 0x8084]
mov ebp, dword [esi + 0x808c]
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 0x408f7a
sub esp, 0xffffff80
jmp 0x401240