joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00405c21
cmp dword [eax], 2
jge 0x401021
xor eax, eax
jmp 0x40117d
lea ecx, [ebp - 0x1c]
call fcn.00401ab0
lea ecx, [ebp - 0x34]
call fcn.00401ab0
mov dword [ebp - 0x50], 1
jmp 0x401043
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
call fcn.00405c21
mov ecx, dword [eax]
sub ecx, 1
cmp dword [ebp - 0x50], ecx
jg 0x401086
call fcn.00405c27
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
mov ecx, dword [edx + eax*4]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
call fcn.00405c21
mov edx, dword [eax]
sub edx, 1
cmp dword [ebp - 0x50], edx
je 0x401084
push 0x40f184
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
jmp 0x40103a
lea ecx, [ebp - 0x1c]
call fcn.00402600
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x68], eax
lea ecx, [ebp - 0x1c]
call fcn.004026a0
lea ecx, [eax + eax + 2]
mov dword [ebp - 0x6c], ecx
push 0
push 0x40f188
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4010f2
lea edx, [ebp - 0x4c]
push edx
call fcn.00401190
add esp, 4
push eax
lea ecx, [ebp - 0x34]
call fcn.00401d40
lea ecx, [ebp - 0x4c]
call fcn.00401c90
push 0
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.00402600
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x58], 0
jmp 0x401104
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x12c
jge 0x401163
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push str.TeleNVDAURLHandler
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jbe 0x401161
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0x4a
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x34]
call fcn.00401c90
lea ecx, [ebp - 0x1c]
call fcn.00401c90
mov eax, dword [ebp - 0x60]
jmp 0x40117d
jmp 0x4010fb
mov dword [ebp - 0x64], 1
lea ecx, [ebp - 0x34]
call fcn.00401c90
lea ecx, [ebp - 0x1c]
call fcn.00401c90
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402902
mov esp, ebp
pop ebp
ret 0x10

Function at 0x401320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00401db0
mov dword [ebp - 0x40c], 0x400
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0x404]
push edx
push 0
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00402600
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
jne 0x40138c
lea ecx, [ebp - 0x404]
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.00401e20
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00402902
mov esp, ebp
pop ebp
ret
Function at 0x40319a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4031d9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4031d9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4031d9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4031d9
cmp dword [ecx + 0x74], 0xe
jbe 0x4031d9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x407c5e
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
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 0x407ca9
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00407e7b
test al, al
jne 0x407ca3
sub edx, 2
cmp edx, edi
jne 0x407c89
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x407ccb
lea eax, [edi + 2]
cmp edx, eax
je 0x407ccb
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00407baa
add esp, 0x10
jmp 0x407dc5
push esi
lea ecx, [ebp - 0x255]
call fcn.00407e7b
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 0x407d0e
push dword [ebp - 0x25c]
jmp 0x407cbb
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 0x407d4b
cmp word [ebp - 0x226], 0
je 0x407d6c
cmp word [ebp - 0x226], ax
jne 0x407d4b
cmp word [ebp - 0x224], 0
je 0x407d6c
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00407baa
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x407db8
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x407d25
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x407da0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x407dc5
push 0x4079da
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040a890
add esp, 0x10
jmp 0x407d95
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.00402902
leave
ret

Function at 0x4097f1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41114c
push 0x411144
push str.FlsAlloc
push 0x1f
call fcn.0040972c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409825
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f128]
call esi
jmp 0x40982b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x40986f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41115c
push 0x411154
push str.FlsGetValue
push 0x21
call fcn.0040972c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4098a6
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f128]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4098ae
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411164
push 0x41115c
push str.FlsSetValue
push 0x22
call fcn.0040972c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4098e8
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40f128]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40e5b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e5dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e5dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41ae80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x41aea2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41aea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ae98
mov eax, 1
add ebx, ebx
jne 0x41aebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41aeb0
jne 0x41aecc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41aeb0
xor ecx, ecx
sub eax, 3
jb 0x41aee0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41af52
mov ebp, eax
add ebx, ebx
jne 0x41aeeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41aef8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41af1c
inc ecx
add ebx, ebx
jne 0x41af08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41aefd
jne 0x41af19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41aefd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41af3c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41af2d
jmp 0x41ae9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41af3c
add edi, ecx
jmp 0x41ae9e
pop esi
mov edi, esi
mov ecx, 0x689
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41af5a
cmp byte [edi], 5
jne 0x41af5a
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 0x41af5f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41afce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b484]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b55c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41af8c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b564]
or eax, eax
je 0x41afc8
mov dword [ebx], eax
add ebx, 4
jmp 0x41afa9
call dword [esi + 0x1b560]
mov ebp, dword [esi + 0x1b568]
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 0x41b002
sub esp, 0xffffff80
jmp section.DEN9
Function at 0x401016
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4010a6
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x4010a3
push 0x5c
push esi
call dword [sym.imp.MSVCR80.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4010a3
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40107c
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x401075
test ebp, ebp
je 0x401075
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x40107c
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x40109d
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x40109d
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x40102e
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x401bc8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x401bd7
pop dword [ebp - 0x30]
mov eax, 0x91ea94a8
add eax, 0x6e55872f
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x28528f8
add dword [ebp - 0x40], 0x4bcd1c53
mov dword [ebp - 0x3c], 0x3a837e3e
add dword [ebp - 0x3c], 0xf7afce07
mov dword [ebp - 0x38], 0x96cbe8f9
add dword [ebp - 0x38], 0xb5805b35
mov dword [ebp - 0x34], 0x27ced5c6
add dword [ebp - 0x34], 0xd8312a3a
lea eax, [ebp - 0x40]
push eax
mov eax, 0xd3e9d8b
add eax, 0xf301d2d5
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xea0f4347
add dword [ebp - 0x40], 0x8a63260f
mov dword [ebp - 0x3c], 0xfa8d7c34
sub dword [ebp - 0x3c], 0xb9211abf
mov dword [ebp - 0x38], 0xd1485888
sub dword [ebp - 0x38], 0x6dd8ec1c
mov dword [ebp - 0x34], 0x44e9754
sub dword [ebp - 0x34], 0x44e9754
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x2217fa8b
add eax, 0xde287675
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x3d25b
push 0
call eax
mov ecx, 0x30ea1757
sub ecx, 0x30e9b50d
mov edi, eax
mov ebx, 0x410000
add ebx, dword [ebp - 0x30]
mov edx, 0xa797a69e
sub edx, 0x3186c304
xor dword [ebp - 0x14], 0xd303ab43
mov esi, dword [ebx]
xor dword [ebp - 0x28], eax
xor esi, edx
sub dword [ebp - 0x14], ecx
mov dword [edi], esi
sub dword [ebp - 0x14], 0x6ddf650a
add edi, 0x5774ebe2
add edi, 0xa88b1422
add ebx, 0x64f488b9
sub ebx, 0x64f488b5
loop 0x401cf3
add eax, 0x27745d56
sub eax, 0x2772e15b
mov ebx, eax
add eax, 0xd024a857
add eax, 0x2fdb57ae
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x40216b
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
call main
jmp 0x402175
push 0x14
push 0x411788
call fcn.00405300
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4021a3
xor ebx, ebx
jmp 0x4021d6
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40219f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40219f
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4021d6
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004048ef
test eax, eax
jne 0x4021ea
push 0x1c
call main
pop ecx
call fcn.00403b58
test eax, eax
jne 0x4021fb
push 0x10
call main
pop ecx
call fcn.004051cc
and dword [ebp - 4], 0
call fcn.00404904
test eax, eax
jns 0x402215
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4162e8], eax
call main
mov dword [0x414430], eax
call main
test eax, eax
jns 0x40223b
push 8
call main
pop ecx
call fcn.00404de7
test eax, eax
jns 0x40224c
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x40225f
push eax
call main
pop ecx
call fcn.00405299
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x402281
push esi
call main
call fcn.00404663
jmp 0x4022b6
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00405345
ret
Function at 0x415fa3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x415fb2
pop dword [ebp - 0x18]
mov eax, 0x415fb2
sub dword [ebp - 0x18], eax
push 0x40
push 0x1000
push 0x3a284
push 0
mov eax, 0x1efe42b4
add eax, 0xe1440f64
add eax, dword [ebp - 0x18]
call dword [eax]
mov ecx, 0xfa92f97
add ecx, 0xf05709b6
mov edi, eax
mov ebx, 0x11b2cc67
add ebx, 0xee908799
add ebx, dword [ebp - 0x18]
mov esi, 0x4103f123
add esi, 0x1943cafd
add dword [ebp - 0xc], ebx
mov edx, dword [ebx]
sub dword [ebp - 4], esi
xor edx, esi
add dword [ebp - 0xc], ebx
mov dword [edi], edx
add edi, 0x688d3ba4
sub edi, 0x688d3ba0
add ebx, 4
loop 0x41600c
add eax, 0xbefb7bc2
add eax, 0x41055c45
mov ebx, eax
add eax, 0xd50bdf78
add eax, 0x2af4208d
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp int.00401219
Function at 0x40d540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x40d55a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d561
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d550
mov eax, 1
add ebx, ebx
jne 0x40d573
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d568
jne 0x40d584
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d568
xor ecx, ecx
sub eax, 3
jb 0x40d598
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d60a
mov ebp, eax
add ebx, ebx
jne 0x40d5a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d5b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d5d4
inc ecx
add ebx, ebx
jne 0x40d5c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d5b5
jne 0x40d5d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d5b5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d5f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d5e5
jmp 0x40d556
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d5f4
add edi, ecx
jmp 0x40d556
pop esi
mov edi, esi
mov ecx, 0x2b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40d612
cmp byte [edi], 0
jne 0x40d612
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 0x40d617
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d686
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1199c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x11a24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d644
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x11a2c]
or eax, eax
je 0x40d680
mov dword [ebx], eax
add ebx, 4
jmp 0x40d661
call dword [esi + 0x11a28]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40d6b7
cmp al, 0xef
ja 0x40d6aa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40d68c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40d699
mov ebp, dword [esi + 0x11a30]
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 0x40d6eb
sub esp, 0xffffff80
jmp 0x403212
Function at 0x40a340
Capabilities:
Resolve function by parsing pe exports

Disassembly:
nop
mov esi, dword [edx + 0x28]
nop
jmp 0x40a258
xor edi, edi
nop
jmp 0x40a267
movzx ecx, word [edx + 0x26]
nop
jmp 0x40a27d
nop
jmp 0x40a288
xor eax, eax
lodsb al, byte [esi]
nop
cmp al, 0x61
jl 0x40a292
sub al, 0x20
jmp 0x40a2a0
ror edi, 0xd
jmp 0x40a2b1
add edi, eax
nop
jmp 0x40a2c5
dec ecx
nop
jne 0x40a27d
jmp 0x40a2d8
push edx
nop
mov edx, dword [edx + 0x10]
nop
jmp 0x40a2e8
push edi
nop
jmp 0x40a2fa
mov eax, dword [edx + 0x3c]
nop
add eax, edx
mov eax, dword [eax + 0x78]
nop
test eax, eax
je 0x40a4a1
nop
nop
add eax, edx
mov ebx, dword [eax + 0x20]
nop
jmp 0x40a31e
push eax
nop
add ebx, edx
nop
jmp 0x40a32f
mov ecx, dword [eax + 0x18]
jmp fcn.0040a340
test ecx, ecx
nop
jmp 0x40a350
je 0x40a47f
nop
dec ecx
xor edi, edi
nop
jmp 0x40a367
mov esi, dword [ebx + ecx*4]
nop
jmp 0x40a37c
add esi, edx
jmp 0x40a38d
nop
jmp 0x40a39b
xor eax, eax
jmp 0x40a3ad
ror edi, 0xd
lodsb al, byte [esi]
add edi, eax
nop
jmp 0x40a3c0
cmp al, ah
jne 0x40a38d
nop
nop
add edi, dword [ebp - 8]
jmp 0x40a3da
cmp edi, dword [ebp + 0x24]
nop
jne 0x40a332
nop
nop
pop eax
mov ebx, dword [eax + 0x24]
add ebx, edx
nop
mov cx, word [ebx + ecx*2]
nop
mov ebx, dword [eax + 0x1c]
add ebx, edx
jmp 0x40a402
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
jmp 0x40a418
pop ebx
jmp 0x40a42b
popal
nop
jmp 0x40a43a
pop ecx
nop
jmp 0x40a48c
pop eax
nop
jmp 0x40a4a1
nop
jmp 0x40a4b6
pop edi
nop
jmp 0x40a4c9
pop edx
jmp 0x40a4d7
mov edx, dword [edx]
jmp 0x40a245
Function at 0x4071bb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x4071ca
pop dword [ebp - 0x24]
mov eax, 0x4071ca
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf0c4b8f2
add dword [ebp - 0x34], 0x5d8d8c59
mov dword [ebp - 0x30], 0xe959db82
add dword [ebp - 0x30], 0x48d970c3
mov dword [ebp - 0x2c], 0x23ffd51a
sub dword [ebp - 0x2c], 0xd7b390ec
mov dword [ebp - 0x28], 0xea62542c
sub dword [ebp - 0x28], 0xea62542c
lea eax, [ebp - 0x34]
push eax
mov eax, 0x4d5870a2
add eax, 0xb2e9bfd2
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x935678f0
add dword [ebp - 0x34], 0xe11bf066
mov dword [ebp - 0x30], 0xb2da296c
sub dword [ebp - 0x30], 0x716dc7f7
mov dword [ebp - 0x2c], 0x3c36daec
add dword [ebp - 0x2c], 0x27389180
mov dword [ebp - 0x28], 0x5bb505b2
add dword [ebp - 0x28], 0xa44afa4e
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0xf2b1440d
sub eax, 0xf26f12e9
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x3fa14
push 0
call eax
mov ecx, 0xf6c50c70
sub ecx, 0xf6c4bd49
mov esi, eax
mov edi, 0xd5269d31
sub edi, 0xd4e35931
add edi, dword [ebp - 0x24]
mov edx, 0x2ada6273
sub edx, 0xec18c809
sub dword [ebp - 0xc], ebx
mov ebx, dword [edi]
sub dword [ebp - 0x20], ecx
xor ebx, edx
xor dword [ebp - 0xc], esi
mov dword [esi], ebx
xor dword [ebp - 0x18], edx
add esi, 0x8ea6b753
add esi, 0x715948b1
add edi, 4
loop 0x4072e7
add eax, 0x4dd2b3d7
sub eax, 0x4dd18468
mov ebx, eax
add eax, 0xa3923766
sub eax, 0xa3923761
mov ecx, 0x213424a1
add ecx, 0xdf0bdb5f
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x465ec0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x43000]
push edi
or ebp, 0xffffffff
jmp 0x465ee2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x465ee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x465ed8
mov eax, 1
add ebx, ebx
jne 0x465efb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x465ef0
jne 0x465f0c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465ef0
xor ecx, ecx
sub eax, 3
jb 0x465f20
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x465f92
mov ebp, eax
add ebx, ebx
jne 0x465f2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x465f38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x465f5c
inc ecx
add ebx, ebx
jne 0x465f48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x465f3d
jne 0x465f59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x465f3d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x465f7c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x465f6d
jmp 0x465ede
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x465f7c
add edi, ecx
jmp 0x465ede
pop esi
mov edi, esi
mov ecx, 0xf58
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x465f9a
cmp byte [edi], 0xe
jne 0x465f9a
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 0x465f9f
lea edi, [esi + 0x62000]
mov eax, dword [edi]
or eax, eax
je 0x466017
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x871b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x872a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x465fcc
mov ecx, edi
jns 0x465ffb
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 + 0x872ac]
or eax, eax
je 0x466011
mov dword [ebx], eax
add ebx, 4
jmp 0x465fe9
call dword [esi + 0x872bc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x466048
cmp al, 0xef
ja 0x46603b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x46601d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x46602a
mov ebp, dword [esi + 0x872b0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x46607c
sub esp, 0xffffff80
jmp 0x41317f