joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53ff10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5400f5
add esp, 0xffffff80
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x84]
call fcn.00463f3c
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0053f9a0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00463a86
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x88]
xor ecx, ecx
jmp 0x53ffc2
mov edx, dword [esp + 0xc]
lea ecx, [edx + 1]
cmp ecx, 5
jge 0x540090
mov dword [esp + 0xc], ecx
imul edx, ecx, 0x33
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1d
add edx, ebx
mov dword [esp + 0x1c], edx
and edx, 0xfffffff8
sub ebx, edx
cmp ebx, 0x20
sbb edx, edx
lea esi, [ebx - 0x20]
mov dword [esp + 0x18], esi
cmp esi, 0x20
sbb edi, edi
mov dword [esp + 0x14], edi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb ebp, ebp
mov dword [esp + 0x10], ebp
lea edi, [esp + ecx*8 + 0x58]
mov ebp, dword [edi]
mov dword [esp + 8], ebp
mov edi, dword [edi + 4]
mov ecx, ebx
shl ebp, cl
and ebp, edx
xchg ebp, eax
mov byte [esp + 0x20], al
xchg ebp, eax
shl edi, cl
and edi, edx
mov ecx, esi
mov edx, dword [esp + 8]
mov ebx, edx
shr edx, cl
mov esi, dword [esp + 0x10]
and edx, esi
or edx, edi
mov ecx, dword [esp + 0x18]
shl ebx, cl
mov esi, dword [esp + 0x14]
and ebx, esi
or ebx, edx
mov edx, ebp
shr ebp, 8
mov esi, ebx
shl ebx, 0x18
or ebp, ebx
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
mov ebx, edx
shr edx, 0x10
mov ebp, esi
shl esi, 0x10
or esi, edx
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
mov edx, ebp
shl ebp, 8
shr ebx, 0x18
or ebx, ebp
mov byte [esp + 0x23], bl
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
xor ecx, ecx
jmp 0x5400c3
test byte [eax], al
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x20
mov dword [esp + 0x94], 0x20
sub esp, 0xffffff80
ret
movzx esi, byte [eax + edx]
or esi, ebx
xchg esi, ebx
mov byte [eax + edx], bl
xchg esi, ebx
inc ecx
mov edx, ebp
cmp ecx, 8
jge 0x53ffbb
movzx ebx, byte [esp + ecx + 0x28]
mov ebp, edx
sar edx, 3
add edx, ecx
cmp edx, 0x20
jge 0x53ffbb
test byte [eax], al
cmp edx, 0x20
jb 0x5400b3
mov eax, edx
mov ecx, 0x20
call fcn.004638e0
nop
call fcn.00462450
jmp fcn.0053ff10
Function at 0x5507e0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5509f6
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, 6
jne 0x550879
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
jmp 0x5509d7
cmp ecx, 0xe
jne 0x5508f2
mov dword [eax], 0x19544da2
mov dword [eax + 4], 0x8c3d37c8
mov dword [eax + 8], 0x89dcd4d6
mov dword [eax + 0xc], 0x73e19966
mov dword [eax + 0x10], 0x32ff9c82
mov dword [eax + 0x14], 0x1dfab7ae
mov dword [eax + 0x18], 0x582f9fcf
mov dword [eax + 0x1c], 0x679dd514
mov dword [eax + 0x20], 0x7bd44da8
mov dword [eax + 0x24], 0xf6d2b69
mov dword [eax + 0x28], 0x4c48942
mov dword [eax + 0x2c], 0x77e36f73
mov dword [eax + 0x30], 0x6a1d36c8
mov dword [eax + 0x34], 0x3f9d85a8
mov dword [eax + 0x38], 0x91d692a1
mov dword [eax + 0x3c], 0x1112e6ad
jmp 0x5509d7
cmp ecx, 0xf
jne 0x550968
mov dword [eax], 0xfc2bf72c
mov dword [eax + 4], 0x22312194
mov dword [eax + 8], 0xc84c64c2
mov dword [eax + 0xc], 0x9f555fa3
mov dword [eax + 0x10], 0x6f53b151
mov dword [eax + 0x14], 0x2393b86b
mov dword [eax + 0x18], 0x5940eabd
mov dword [eax + 0x1c], 0x96387719
mov dword [eax + 0x20], 0xa88effe3
mov dword [eax + 0x24], 0x96283ee2
mov dword [eax + 0x28], 0x53863992
mov dword [eax + 0x2c], 0xbe5e1e25
mov dword [eax + 0x30], 0x2c85b8aa
mov dword [eax + 0x34], 0x2b0199fc
mov dword [eax + 0x38], 0x81c52ca2
mov dword [eax + 0x3c], 0xeb72ddc
jmp 0x5509d7
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
ret
call fcn.00462450
jmp fcn.005507e0
Function at 0x553720
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x553893
movzx eax, byte [esp + 4]
lea ecx, [eax - 0x61]
cmp cl, 0x19
jbe 0x553753
lea ecx, [eax - 0x41]
cmp cl, 0x19
jbe 0x553753
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x553759
mov byte [esp + 0xc], 0
ret
mov ecx, dword [esp + 8]
cmp ecx, 3
je 0x553767
cmp ecx, 4
jne 0x553798
cmp al, 0x2c
ja 0x553780
lea edx, [eax - 0x21]
cmp dl, 1
jbe 0x553792
cmp al, 0x24
je 0x553792
cmp al, 0x26
jae 0x553792
jmp 0x553798
lea edx, [eax - 0x3a]
cmp dl, 4
jbe 0x553792
cmp al, 0x5b
je 0x553792
cmp al, 0x5d
jne 0x553798
mov byte [esp + 0xc], 0
ret
cmp al, 0x2f
ja 0x5537cf
cmp al, 0x26
ja 0x5537b1
cmp al, 0x24
je 0x5537ee
cmp al, 0x26
je 0x5537ee
jmp 0x553875
lea edx, [eax - 0x2b]
cmp dl, 1
jbe 0x5537ee
lea edx, [eax - 0x2d]
cmp dl, 1
jbe 0x55386f
cmp al, 0x2f
je 0x5537ee
jmp 0x553875
cmp al, 0x3d
ja 0x5537e6
lea edx, [eax - 0x3a]
cmp dl, 1
jbe 0x5537ee
cmp al, 0x3d
je 0x5537ee
jmp 0x553875
lea edx, [eax - 0x3f]
cmp dl, 1
ja 0x553865
cmp ecx, 2
jg 0x553829
cmp ecx, 1
je 0x55381e
cmp ecx, 2
jne 0x553875
cmp al, 0x2f
je 0x55380c
cmp al, 0x3b
je 0x55380c
cmp al, 0x2c
jne 0x553813
mov eax, 1
jmp 0x553819
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 5
jne 0x55384f
cmp al, 0x40
je 0x55383d
cmp al, 0x2f
je 0x55383d
cmp al, 0x3f
jne 0x553844
mov eax, 1
jmp 0x55384a
cmp al, 0x3a
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 6
je 0x55385f
cmp ecx, 7
jne 0x553875
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
cmp al, 0x5f
je 0x55386f
cmp al, 0x7e
jne 0x553875
mov byte [esp + 0xc], 0
ret
cmp ecx, 7
jne 0x55388d
cmp al, 0x21
je 0x553887
add eax, 0xffffffd8
cmp al, 2
ja 0x55388d
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
call fcn.00462450
jmp fcn.00553720
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x6317633b
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x431060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x42069a
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x30013624
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x30013633
pop dword [ebp - 8]
mov eax, 0x30013633
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3916f
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x468c
xor ebx, ebx
add ebx, eax
mov esi, 0x30026800
add esi, dword [ebp - 8]
mov edi, 0x1fa3ffeb
sub dword [ebp - 4], 0x92ea92d3
mov edx, dword [esi]
xor edx, edi
mov dword [ebp - 4], 0x36ccfac8
mov dword [ebx], edx
xor dword [ebp - 4], 0x5b5f027b
add ebx, 4
add esi, 0x48b9de5e
sub esi, 0x48b9de5a
loop 0x30013678
add eax, 0x10d03
mov ebx, eax
add eax, 0x6b1a1f7c
add eax, 0x94e5e089
mov ecx, 0xec348f75
sub ecx, 0xbc348f75
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0xc74058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xc741a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xc7407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc7406a
add dl, dl
jne 0xc74089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc740dc
xor eax, eax
add dl, dl
jne 0xc74096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xc7417d
add dl, dl
jne 0xc740a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc740b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc740bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc740c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xc740d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xc74075
mov eax, 1
add dl, dl
jne 0xc740ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xc740f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc740e1
sub eax, ebx
mov ebx, 1
jne 0xc74128
mov ecx, 1
add dl, dl
jne 0xc7410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc74119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc74105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc74075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xc7413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xc7414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xc74136
cmp eax, 0x7d00
jae 0xc7416d
cmp eax, 0x500
jb 0xc74168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc74075
cmp eax, 0x7f
ja 0xc74170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xc74075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xc7419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xc74075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1142ee54
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1142ee5e
pushal
call 0x1142ee64
pop ebp
sub ebp, 0x10
sub ebp, 0x42ee54
mov al, byte [esp + 0x28]
cmp al, 1
je 0x1142ee88
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x1142ee91
mov eax, 0x42ee54
add eax, ebp
add eax, 0x63
mov ecx, 0x5fa
mov edx, 0xe52f0521
xor byte [eax], dl
inc eax
dec ecx
jne 0x1142eea8
jmp 0x1142eebb
stosb byte es:[edi], al
in al, dx
stosb byte es:[edi], al
test al, 0x1d
and dword [ecx], esp
and dword [eax + 0x2121d9e0], esp
and dword [edx], esp
in al, dx
cdq
and eax, 0x9b212121
or dword [ecx], esp
and dword [ecx], esp
salc
ret

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
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
popal
nop
jmp loc.00401219

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

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0xf1e0755
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
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
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x32f30979
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4022c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x4022cf
pop dword [ebp - 0x30]
mov eax, 0x729d9972
add eax, 0x8da2895d
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x38586
push 0
mov eax, 0x90daf9b9
sub eax, 0x909ae8f5
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x712dd10a
sub ecx, 0x712d8304
xor ebx, ebx
add ebx, eax
mov edx, 0xe358391a
sub edx, 0xe317711a
add edx, dword [ebp - 0x30]
mov edi, 0x2f704408
add edi, 0x8a155436
xor dword [ebp - 0x1c], ecx
mov esi, dword [edx]
sub dword [ebp - 0x18], edi
add esi, edi
sub dword [ebp - 0x2c], eax
mov dword [ebx], esi
sub dword [ebp - 0x24], edx
add ebx, 0x645c134f
add ebx, 0x9ba3ecb5
add edx, 4
loop 0x402330
add eax, 0xdb880f44
add eax, 0x24791ba7
mov ebx, eax
add eax, 0xd96db2d7
add eax, 0x26924d2e
mov ecx, 0x400000
add ecx, dword [ebp - 0x30]
call ebx
leave
ret

Function at 0x4064a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x409a50]
jne 0x407826
repz ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x40a2b8], eax
mov dword [0x40a2b4], ecx
mov dword [0x40a2b0], edx
mov dword [0x40a2ac], ebx
mov dword [0x40a2a8], esi
mov dword [0x40a2a4], edi
mov word [0x40a2d0], ss
mov word [0x40a2c4], cs
mov word [0x40a2a0], ds
mov word [0x40a29c], es
mov word [0x40a298], fs
mov word [0x40a294], gs
pushfd
pop dword [0x40a2c8]
mov eax, dword [ebp]
mov dword [0x40a2bc], eax
mov eax, dword [ebp + 4]
mov dword [0x40a2c0], eax
lea eax, [ebp + 8]
mov dword [0x40a2cc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x40a208], 0x10001
mov eax, dword [0x40a2c0]
mov dword [0x40a1bc], eax
mov dword [0x40a1b0], 0xc0000409
mov dword [0x40a1b4], 1
mov eax, dword [0x409a50]
mov dword [ebp - 0x328], eax
mov eax, dword [0x409a54]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x40a200], eax
push 1
call fcn.004068ed
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x4021d8
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x40a200], 0
jne 0x407916
push 1
call fcn.004068ed
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x5360a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdf000]
push edi
jmp 0x5360ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5360c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5360b0
mov eax, 1
add ebx, ebx
jne 0x5360d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5360e4
jne 0x536103
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x536103
dec eax
add ebx, ebx
jne 0x5360f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5360c8
add ebx, ebx
jne 0x5360ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x536155
xor ecx, ecx
sub eax, 3
jb 0x53611b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53618a
sar eax, 1
mov ebp, eax
jmp 0x536126
add ebx, ebx
jne 0x536126
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5360f4
inc ecx
add ebx, ebx
jne 0x536134
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5360f4
add ebx, ebx
jne 0x536141
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x536136
jne 0x536152
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x536136
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x536174
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x536166
jmp 0x5360b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x536174
add edi, ecx
jmp 0x5360b6
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x536192
cmp byte [edi], 0x11
jne 0x536192
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 0x536197
lea edi, [esi + 0x12f000]
mov eax, dword [edi]
or eax, eax
je 0x53620f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19364c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1937c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5361c4
mov ecx, edi
jns 0x5361f3
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 + 0x1937cc]
or eax, eax
je 0x536209
mov dword [ebx], eax
add ebx, 4
jmp 0x5361e1
call dword [esi + 0x1937dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x536240
cmp al, 0xef
ja 0x536233
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x536215
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x536222
mov ebp, dword [esi + 0x1937d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x536274
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x406840
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4b5870]
xor eax, esp
mov dword [esp + 0x18], eax
cmp dword [0x4ba890], 0
push esi
je 0x406870
xor al, al
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0046f685
mov esp, ebp
pop ebp
ret
push 0x18
call fcn.0046ebbd
add esp, 4
test eax, eax
je 0x40688d
push ecx
mov ecx, eax
call fcn.00406740
mov dword [0x4ba890], eax
jmp 0x406897
mov dword [0x4ba890], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [esp + 0x18], 7
xor eax, eax
mov dword [esp + 0x14], 0
mov word [esp + 4], ax
cmp word [edx], ax
jne 0x4068bf
xor ecx, ecx
jmp 0x4068d3
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4068c4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0xc]
call fcn.00402920
lea eax, [esp + 4]
push eax
call fcn.00407320
cmp dword [esp + 0x18], 8
jb 0x4068fb
push dword [esp + 4]
call fcn.0046ec0e
add esp, 4
mov ecx, dword [esp + 0x1c]
mov al, 1
pop esi
xor ecx, esp
call fcn.0046f685
mov esp, ebp
pop ebp
ret

Function at 0x407320
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x4b5870]
xor eax, esp
mov dword [esp + 0x34], eax
mov dword [esp], 0
mov edx, str._t_n_v_f_r
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
mov edi, dword [0x4ba890]
lea ecx, [edx + 2]
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x407376
sub edx, ecx
lea ecx, [esp + 0x24]
sar edx, 1
push edx
push str._t_n_v_f_r
call fcn.00402920
lea eax, [esp + 0xc]
mov ecx, esi
push eax
push 3
lea edx, [esp + 0x2c]
call fcn.00413ac0
add esp, 8
cmp dword [esp + 0x38], 8
jb 0x4073bc
push dword [esp + 0x24]
call fcn.0046ec0e
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x4073fa
cmp dword [esp + 0x20], 8
lea ecx, [esp + 8]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
cmovae eax, dword [esp + 0xc]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov ecx, edi
push esi
push dword [esp + 0xc]
call fcn.004069f0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [esp + 0x20], 8
jb 0x40740d
push dword [esp + 0xc]
call fcn.0046ec0e
add esp, 4
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
xor ecx, esp
call fcn.0046f685
mov esp, ebp
pop ebp
ret 4
Function at 0x40b5b0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x4b5870]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov bl, dl
push esi
mov byte [ebp - 0x461], bl
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40b5ef
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046f685
mov esp, ebp
pop ebp
ret
test al, 0x10
je 0x40b782
test bl, bl
je 0x40b770
mov ecx, esi
mov edi, 0x4a7f5c
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40b610
sub ecx, edx
mov eax, 0x4a7f58
sar ecx, 1
push 0x4a7f60
cmp word [esi + ecx*2 - 2], 0x5c
cmovne eax, edi
push eax
push esi
push 0x4a7f64
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0040b420
push 0x24c
lea eax, [ebp - 0x45c]
mov dword [ebp - 0x460], 0
push 0
push eax
call fcn.00470210
add esp, 0x24
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40b770
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x40b6a0
mov edx, 0x4a7f74
lea ecx, [ebp - 0x434]
jmp 0x40b6b0
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x40b6d6
test ax, ax
je 0x40b6d2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x40b6d6
add ecx, 4
add edx, 4
test ax, ax
jne 0x40b6b0
xor eax, eax
jmp 0x40b6db
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b757
mov eax, 0x4a7f78
lea ecx, [ebp - 0x434]
lea ebx, [ebx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40b716
test dx, dx
je 0x40b712
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40b716
add ecx, 4
add eax, 4
test dx, dx
jne 0x40b6f0
xor eax, eax
jmp 0x40b71b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b757
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x468]
lea eax, [ebp - 0x210]
push esi
push 0x4a7f64
push 0x104
push eax
call fcn.0040b420
mov dl, byte [ebp - 0x461]
lea ecx, [ebp - 0x210]
add esp, 0x18
call fcn.0040b5b0
lea eax, [ebp - 0x460]
push eax
push edi
call ebx
test eax, eax
jne 0x40b6a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x40b792
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
test eax, eax
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.0046f685
mov esp, ebp
pop ebp
ret