joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5485cb
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00548547
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x54873a
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x54873a
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x5486ef
jg 0x548627
test eax, eax
je 0x5486e5
push 1
push 0x1000
call fcn.005446bd
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x54864a
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x5486dc
push 0x8000
push ebx
call fcn.0054139c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x548673
jg 0x54866e
cmp ecx, 0x1000
jb 0x548673
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00532bde
add esp, 0x10
cmp eax, 0xffffffff
je 0x5486b8
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x54866e
jl 0x54869f
test ecx, ecx
jne 0x548660
push dword [ebp - 0xc]
push ebx
call fcn.0054139c
push esi
call fcn.00544683
add esp, 0xc
xor ebx, ebx
jmp 0x548748
cmp byte [edi + 0x24], 0
je 0x5486cf
cmp dword [edi + 0x20], 5
jne 0x5486cf
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x5486da
mov ebx, dword [edi + 0x18]
jmp 0x5486dc
xor ebx, ebx
push esi
call fcn.00544683
pop ecx
jmp 0x548748
test ecx, ecx
jg 0x5486b1
jl 0x5486ef
test eax, eax
jae 0x5486b1
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00533a1e
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x54870f
cmp byte [edi + 0x1c], 0
je 0x5486b1
jmp 0x548740
push ebx
call fcn.005478b9
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x5486b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x548748
cmp byte [edi + 0x1c], 0
je 0x548745
mov ebx, dword [edi + 0x18]
jmp 0x548748
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00533a1e
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x54cb4b
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5b03a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x54cb96
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0054cce6
test al, al
jne 0x54cb90
sub edx, 2
cmp edx, edi
jne 0x54cb76
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x54cbb8
lea eax, [edi + 2]
cmp edx, eax
je 0x54cbb8
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0054ca97
add esp, 0x10
jmp 0x54ccb2
push esi
lea ecx, [ebp - 0x255]
call fcn.0054cce6
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x54cbfb
push dword [ebp - 0x25c]
jmp 0x54cba8
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x54cc38
cmp word [ebp - 0x226], 0
je 0x54cc59
cmp word [ebp - 0x226], ax
jne 0x54cc38
cmp word [ebp - 0x224], 0
je 0x54cc59
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0054ca97
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x54cca5
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x54cc12
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x54cc8d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x54ccb2
push 0x54c8c7
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00552480
add esp, 0x10
jmp 0x54cc82
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004deaec
leave
ret

Function at 0x54d5c8
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x54d5d9
pop esi
ret
push ebx
push edi
push esi
call fcn.0054d591
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0054471a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x54d601
push ebx
push esi
push edi
call fcn.00527ef0
add esp, 0xc
push 0
call fcn.00544683
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x54d9d1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0054d616
Function at 0x54fa55
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00544398
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x54fac4
cmp esi, dword [ebp - 4]
je 0x54fabf
cmp dword [ebp + 0xc], 0
je 0x54fabf
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x54fa9c
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0054f5a7
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x54fac6
xor eax, eax
inc eax
jmp 0x54fac6
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x54fb2b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5b03a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00544398
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00544398
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x54fba2
cmp word [ecx], dx
je 0x54fba2
mov eax, dword [0x58ec4c]
push edi
dec eax
push eax
push 0x58eb38
call fcn.0054faca
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x54fc15
cmp word [eax], dx
je 0x54fc15
mov eax, dword [edi]
test eax, eax
je 0x54fbc6
cmp word [eax], dx
je 0x54fbc6
lea eax, [ebp - 0x10]
push eax
call fcn.0054f4ad
jmp 0x54fbcf
lea eax, [ebp - 0x10]
push eax
call fcn.0054f548
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x54fc3f
mov eax, dword [0x58eb34]
push dword [ebp - 0x14]
dec eax
push eax
push 0x58e828
call fcn.0054faca
add esp, 0xc
test al, al
je 0x54fc3f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x54fc0a
cmp word [eax], di
je 0x54fc0a
lea eax, [ebp - 0x10]
push eax
call fcn.0054f4ad
pop ecx
jmp 0x54fc41
lea eax, [ebp - 0x10]
push eax
call fcn.0054f548
jmp 0x54fc07
mov eax, dword [edi]
test eax, eax
je 0x54fc2c
cmp word [eax], dx
je 0x54fc2c
lea eax, [ebp - 0x10]
push eax
call fcn.0054f462
pop ecx
jmp 0x54fc3f
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x54fd0a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0054f94f
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x54fd0a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x54fd0a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x54fd0a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x54fc97
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0054669e
test ebx, ebx
je 0x54fd05
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0054669e
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x54fd0a
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x54fd0a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0053ee94
add esp, 0x10
xor eax, eax
inc eax
jmp 0x54fd0c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004deaec
leave
ret
Function at 0x557b50
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56b810
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5b03a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
test edi, edi
je 0x557c9d
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x557c9d
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x557c9d
push edi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x557c9d
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 5
push SysReAllocString
push edi
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, 0xffffffff
je 0x557c89
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push edi
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x557c82
cmp dword [ebp - 0x1c], ebx
jne 0x557c82
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ebx
cmp eax, ecx
ja 0x557c1d
mov dword [esi + 0x10], eax
mov ecx, esi
cmp dword [esi + 0x14], 0x10
jb 0x557c17
mov ecx, dword [esi]
mov byte [ecx + eax], 0
jmp 0x557c29
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00421d10
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push dword [ebp - 0x20]
mov ecx, esi
push 0
call fcn.00441a70
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x557c82
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jne 0x557c82
push edi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0x17c00d79
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x31dc39b7
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10001046
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x10003bc0
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10003bc6
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10003be4
add byte [eax], al
add byte [eax - 0x15], ah
push ds
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10003c42
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10003c29
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10003c32
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10003c3c
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10003c1e
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10003ba8
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10003c8f
dec eax
je 0x10003c86
sub eax, 3
je 0x10003c7d
mov dword [ebp - 4], 0x40
jmp 0x10003cac
mov dword [ebp - 4], 4
jmp 0x10003c92
mov dword [ebp - 4], 0x20
jmp 0x10003c92
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10003cde
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10003c5e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100034ef
mov esp, 0xffd6252d
jne 0x10003ce9
push 1
push esi
call edi
mov eax, esi
jmp 0x10003cea
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001866
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x10003b00
cmp dword [eax + 4], ebx
jne 0x10003a94
cmp dword [eax + 0xc], ebx
je 0x10003b37
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.100034ef
push esi
mov esp, 0x5d3970dd
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x10003b25
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x10003b00
and eax, 0xffff
push eax
jmp 0x10003b04
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100034b4
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x10003cde
add edi, 4
add dword [ebp + 0x10], 4
inc ebp
adc byte [ebx + ebp*8], al
invalid
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x10003a86
call fcn.100034ef
sub edi, edx
add dword [edx], ebp
mov eax, dword [edi + 0xa0]
cmp eax, ebx
je 0x10003ba3
add eax, esi
cmp dword [eax], ebx
je 0x10003ba3
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10003b9e
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10003b88
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10003b90
cmp edx, ebx
jne 0x10003cde
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10003b5f
add eax, dword [eax + 4]
jmp 0x10003b4c
mov dword [ebp + 0xc], ebx
jmp 0x10003bae

Function at 0x10001a19
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x10003990
xor dword [ebx - 0x3a], 0xc6628245
inc ebp
sbb dword [ebx - 0x3a], 0x45
test byte [ecx - 0x3a], bh
inc ebp
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid

Function at 0x100023ce
Capabilities:
Inspect section memory permissions

Disassembly:
jmp 0x100039f0
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x10003ce8
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.10003460
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x10003a5f
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.10003460
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x10003a2c
call fcn.100034ef
enter 0xffffffffffffcc70, 0x17
mov edi, dword [esi + 0x3c]
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x10003cde
invalid
add eax, esi
mov dword [ebp - 0x44], eax
Function at 0x42a6d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e000]
push edi
or ebp, 0xffffffff
jmp 0x42a6f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42a6f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42a6e8
mov eax, 1
add ebx, ebx
jne 0x42a70b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42a700
jne 0x42a71c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a700
xor ecx, ecx
sub eax, 3
jb 0x42a730
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42a7a2
mov ebp, eax
add ebx, ebx
jne 0x42a73b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42a748
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42a76c
inc ecx
add ebx, ebx
jne 0x42a758
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42a74d
jne 0x42a769
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a74d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42a78c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42a77d
jmp 0x42a6ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42a78c
add edi, ecx
jmp 0x42a6ee
pop esi
mov edi, esi
mov ecx, 0x5e2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42a7aa
cmp byte [edi], 0xa
jne 0x42a7aa
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 0x42a7af
lea edi, [esi + 0x28000]
mov eax, dword [edi]
or eax, eax
je 0x42a827
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x300dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x301b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42a7dc
mov ecx, edi
jns 0x42a80b
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 + 0x301bc]
or eax, eax
je 0x42a821
mov dword [ebx], eax
add ebx, 4
jmp 0x42a7f9
call dword [esi + 0x301c0]
popal
jmp 0x40a7b9

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x665f7266
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x730d3446
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402390
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x800
push 0
lea eax, [ebp - 0x804]
push eax
call fcn.00404130
add esp, 0xc
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x808], ecx
mov edx, dword [ebp - 0x808]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x400
lea ecx, [ebp - 0x804]
push ecx
call fcn.00402800
mov dword [ebp - 0x808], 0
push 0x4156c0
push 0x400
lea edx, [ebp - 0x804]
push edx
call fcn.004027a0
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040352b
mov esp, ebp
pop ebp
ret

Function at 0x402420
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
push str.WmGpLaunch
mov eax, dword [ebp + 8]
push eax
call fcn.00402650
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x402470
push str.WmGpLaunch
mov edx, dword [ebp + 8]
push edx
push 0x415800
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00402c50
add esp, 0x14
mov al, 1
jmp 0x4025a5
push 0x208
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.00404130
add esp, 0xc
push 0x208
push 0
lea eax, [ebp - 0x414]
push eax
call fcn.00404130
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str._s.
lea edx, [ebp - 0x20c]
push edx
call fcn.00402160
add esp, 0xc
push 0x250
push 0
lea eax, [ebp - 0x664]
push eax
call fcn.00404130
add esp, 0xc
lea ecx, [ebp - 0x664]
push ecx
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp dword [ebp - 0x668], 0xffffffff
je 0x402573
mov eax, dword [ebp - 0x664]
and eax, 0x10
je 0x402547
lea ecx, [ebp - 0x638]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00402650
add esp, 8
movzx eax, al
test eax, eax
je 0x402547
mov ecx, dword [ebp - 0x668]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x638]
push edx
mov eax, dword [ebp + 8]
push eax
push str._s_s
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00402c50
add esp, 0x14
mov al, 1
jmp 0x4025a5
lea eax, [ebp - 0x664]
push eax
mov ecx, dword [ebp - 0x668]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40256e
mov edx, dword [ebp - 0x668]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x402573
jmp 0x4024e4
push 0x415828
mov eax, dword [ebp + 8]
push eax
call fcn.00402650
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4025a3
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00406e86
add esp, 0xc
mov al, 1
jmp 0x4025a5
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040352b
mov esp, ebp
pop ebp
ret