joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4101e3
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp dword [0x41bdcc], 1
push ebx
push ebp
push esi
push edi
jne 0x41028b
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x1c], eax
jle 0x41028b
mov ecx, dword [esp + 0x18]
lea edx, [ecx + eax*8]
mov esi, dword [edx + 4]
xor edi, edi
or edi, dword [edx]
xor ecx, ecx
or esi, ecx
mov ebp, edi
mov ecx, edi
mov ebx, esi
shld ebp, ebx, 0x10
mov eax, esi
shrd eax, ecx, 0x10
shld edi, esi, 0x10
shl ebx, 0x10
xor eax, ebx
shr ecx, 0x10
xor ecx, ebp
shl esi, 0x10
mov ebx, 0xffff
and eax, ebx
and ecx, ebx
xor eax, esi
xor ecx, edi
mov esi, eax
mov ebx, eax
mov ebp, ecx
shld ebp, esi, 8
mov edi, ecx
shrd ebx, edi, 8
shl esi, 8
xor ebx, esi
shr edi, 8
shld ecx, eax, 8
xor edi, ebp
mov esi, 0xff00ff
shl eax, 8
and ebx, esi
xor ebx, eax
mov eax, dword [esp + 0x10]
and edi, esi
xor edi, ecx
inc eax
mov dword [edx], ebx
mov dword [edx + 4], edi
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x1c]
jl 0x410205
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x410291
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x4103a3
push ebx
push esi
mov ecx, eax
xor esi, esi
xor edx, edx
and ecx, 7
je 0x4102c6
mov ebx, dword [ebp + 8]
mov edx, ecx
mov esi, eax
shr esi, 3
mov bl, byte [esi + ebx]
mov cl, 8
sub cl, dl
shr bl, cl
movzx esi, bl
shr eax, 3
mov dword [ebp - 8], eax
lea eax, [edi + 7]
shr eax, 3
xor edi, edi
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x4103a1
lea ecx, [eax - 1]
cmp edi, ecx
je 0x4102fb
mov ecx, dword [ebp + 0xc]
movzx ecx, byte [edi + ecx]
shl esi, 8
xor cx, si
movzx esi, cx
add edx, 8
jmp 0x41032b
mov ecx, dword [ebp + 0x10]
and ecx, 7
mov dword [ebp - 4], 8
je 0x41030d
mov dword [ebp - 4], ecx
mov ebx, dword [ebp + 0xc]
mov bl, byte [edi + ebx]
mov cl, 8
sub cl, byte [ebp - 4]
shr bl, cl
mov ecx, dword [ebp - 4]
shl si, cl
movzx ebx, bl
or bx, si
movzx esi, bx
add edx, ecx
xor ebx, ebx
lea ecx, [eax - 1]
cmp edi, ecx
setne bl
mov dword [ebp - 0xc], ebx
xor ecx, ecx
cmp edx, 8
setge cl
test dword [ebp - 0xc], ecx
jne 0x41035a
xor ebx, ebx
lea ecx, [eax - 1]
cmp edi, ecx
sete bl
xor ecx, ecx
test edx, edx
setg cl
test ecx, ebx
je 0x410398
push 8
pop eax
mov dword [ebp - 4], eax
cmp edx, eax
jg 0x410367
mov dword [ebp - 4], edx
mov cl, dl
sub cl, byte [ebp - 4]
mov ebx, esi
shr bx, cl
mov ecx, eax
sub ecx, dword [ebp - 4]
mov eax, 0xff00
shl bl, cl
mov ecx, dword [ebp - 4]
sar eax, cl
mov ecx, dword [ebp - 8]
and bl, al
mov eax, dword [ebp + 8]
inc dword [ebp - 8]
sub edx, dword [ebp - 4]
mov byte [ecx + eax], bl
mov eax, dword [ebp - 0x10]
jmp 0x410338
inc edi
cmp edi, eax
jl 0x4102df
pop esi
pop ebx
pop edi
leave
ret
Function at 0x4142d9
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x41430a
mov eax, dword fs:[4]
mov dword [ebp + 8], eax
mov eax, dword fs:[8]
mov dword [ebp - 4], eax
cmp ebx, dword [ebp - 4]
jb 0x414311
cmp ebx, dword [ebp + 8]
jae 0x414311
xor eax, eax
jmp 0x4144f7
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x414322
xor eax, eax
inc eax
jmp 0x4144f6
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x414334
cmp ecx, edx
jae 0x414398
cmp dword [eax + 4], 0
je 0x41433d
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x414329
cmp dword [ebp + 8], 0
je 0x414357
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x414398
cmp eax, esi
jae 0x414398
mov ecx, dword [0x41c1f0]
mov esi, ebx
and esi, 0xfffff000
xor eax, eax
test ecx, ecx
jle 0x414379
cmp dword [eax*4 + 0x41c1f8], esi
je 0x41439f
inc eax
cmp eax, ecx
jl 0x41436b
lea eax, [ebp + 8]
push eax
push 0x1c
lea eax, [ebp - 0x20]
push eax
push 0
push ebx
or edi, 0xffffffff
push edi
call sub.ntdll.dll_NtQueryVirtualMemory
test eax, eax
jl 0x41440f
mov eax, dword [ebp + 8]
jmp 0x414411
xor eax, eax
jmp 0x4144f6
test eax, eax
jle 0x41431a
xor edx, edx
mov ebx, 0x41c238
inc edx
mov edi, ebx
xchg dword [edi], edx
test edx, edx
jne 0x41431a
cmp dword [eax*4 + 0x41c1f8], esi
je 0x4143ee
lea eax, [ecx - 1]
test eax, eax
jl 0x4143db
cmp dword [eax*4 + 0x41c1f8], esi
je 0x4143d7
dec eax
jns 0x4143cb
test eax, eax
jge 0x4143ec
cmp ecx, 0x10
jge 0x4143e7
inc ecx
mov dword [0x41c1f0], ecx
lea eax, [ecx - 1]
jmp 0x4143ee
je 0x414406
xor edx, edx
test eax, eax
jl 0x414406
lea ecx, [edx*4 + 0x41c1f8]
mov edi, dword [ecx]
inc edx
cmp edx, eax
mov dword [ecx], esi
mov esi, edi
jle 0x4143f4
xor eax, eax
xchg dword [ebx], eax
jmp 0x41431a
xor eax, eax
test eax, eax
je 0x4144f4
cmp dword [ebp - 8], 0x1000000
jne 0x4144f4
test byte [ebp - 0xc], 0xcc
je 0x414486
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x4144f4
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4144f4
cmp word [eax + 0x18], 0x10b
jne 0x4144f4
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x4144f4
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x414486
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x414486
test byte [ecx + 0x27], 0x80
jne 0x414398
xor eax, eax
inc eax
mov ecx, eax
mov edx, 0x41c238
xchg dword [edx], ecx
test ecx, ecx
jne 0x4144f6
mov ecx, dword [0x41c1f0]
test ecx, ecx
mov edx, ecx
jle 0x4144b5
lea eax, [ecx*4 + 0x41c1f4]
cmp dword [eax], esi
je 0x4144b5
dec edx
sub eax, 4
test edx, edx
jg 0x4144a9
test edx, edx
jne 0x4144e6
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4144c2
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x4144da
lea eax, [edx*4 + 0x41c1f8]
mov edi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], esi
mov esi, edi
jle 0x4144c8
cmp ecx, 0x10
jge 0x4144e6
inc ecx
mov dword [0x41c1f0], ecx
xor eax, eax
mov ecx, 0x41c238
xchg dword [ecx], eax
jmp 0x41431a
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40d500
Capabilities:
Accept command line arguments
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x1c
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, dword [0x40e6bc]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], 0xbbd26117
jmp 0x40d550
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [str.__bM_], eax
call fcn.0041655f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x4b23519a
nop
nop
nop
mov eax, dword [ebp - 0x20]
cmp eax, 0x7d87a3d9
jg 0x40d5c0
cmp eax, 0xa5dc0ad1
jg 0x40d5d0
cmp eax, 0x83fd94c2
jne 0x40d550
mov dword [esp], 0
call fcn.0040d6b0
mov dword [esp], eax
call fcn.00416582
mov eax, dword [ebp - 0x14]
movzx esi, word [eax]
mov dword [esp], eax
call fcn.00404a70
mov ecx, dword [ebp - 0x14]
movzx edi, word [ecx + eax*2 - 2]
neg edi
sub edi, esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
sub eax, edi
mov dword [ebp - 0x18], eax
mov ecx, 0xe5e7ce41
cmp eax, dword [ebp - 0x1c]
je 0x40d5b0
mov ecx, 0x3331ce66
mov dword [ebp - 0x20], ecx
jmp 0x40d550
cmp eax, 0x7d87a3da
jne 0x40d550
jmp 0x40d533
cmp eax, 0x4b235199
jg 0x40d5ee
cmp eax, 0xbbd26116
jg 0x40d618
cmp eax, 0xa5dc0ad2
jne 0x40d550
jmp 0x40d698
cmp eax, 0x4b23519a
jne 0x40d550
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [str.__bM_], eax
call fcn.0041655f
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xd1fa97d8
jmp 0x40d550
cmp eax, 0xd1fa97d7
jg 0x40d642
cmp eax, 0xbbd26117
jne 0x40d550
mov eax, 0x33873eaf
cmp dword [ebp - 0xc], 0
je 0x40d63a
mov eax, 0x83fd94c2
mov dword [ebp - 0x20], eax
jmp 0x40d550
cmp eax, 0xe5e7ce40
jg 0x40d660
cmp eax, 0xd1fa97d8
jne 0x40d550
mov dword [ebp - 0x20], 0xa5dc0ad2
jmp 0x40d550
cmp eax, 0xe5e7ce41
je 0x40d68c
cmp eax, 0x3331ce66
je 0x40d679
cmp eax, 0x33873eaf
jne 0x40d550
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0xa5dc0ad2
jmp 0x40d550
mov dword [ebp - 0x20], 0x4b23519a
jmp 0x40d550
mov eax, dword [ebp - 0x10]
add esp, 0x1c
pop esi
pop edi
pop ebp
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402880
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
or eax, 0xffffffff
mov word [ebp - 0xc], ax
push ebx
xor ecx, ecx
mov eax, 0x65
cmp dword [eax + ebx*2], 0
mov eax, dword [ebp - 0xc]
or byte [eax], al
add byte [ebx - 0x48f0f3bb], cl
cmp al, 0x58
xor byte [edi], cl
cmp ecx, 0x4f
add al, byte [eax]
add byte [ebp - 0x61723bb], cl
clc
invalid
mov ebp, esp
push esi
mov esi, eax
mov eax, dword [esi + 0xc]
cmp dword [eax], 1
invalid
invalid
invalid
Function at 0x432290
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [0x4a7540], eax
mov edx, 0x4c483
mov eax, 0x4a7540
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a7efc
jl 0x4322a6
mov dword [0xff49205c], 0x20301
mov dword [0x4a7f10], 0x4a870001
pop edi
pop ebp
ret

Function at 0x442e1b
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x34a7f10], 2
push esi
push edi
mov esi, 0x4a7540
jne 0x442e3b
push 0
call fcn.004148c2
push eax
call fcn.00432290
add esp, 8
mov dword [0x49205c], 0x840f0270
mov dword [0x4a753c], esi
mov edx, 0x4a87e3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x2000634]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x442e50
mov edx, 0x18c
lea esp, [esp]
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
dec edx
mov dword [esi - 4], edi
jne 0x442e8b
mov ecx, dword [0x4a7540]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret

Function at 0x444b07
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 0xdd840f02
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004115e6
mov ebx, eax
lea eax, [edi + edi]
push eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
push eax
push ebx
call fcn.00410e6f
lea eax, [edi + edi]
add dword [esi], eax
xor ecx, ecx
mov word [eax + ebx], cx
add esp, 0x10
xor eax, eax
test edi, edi
jle 0x444b65
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x444b5c
pop edi
pop esi
int3

Function at 0x44b313
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
dec dword [0x49205c]
jne 0x44b324
call fcn.00442e1b
mov ecx, dword [0x4a753c]
mov eax, dword [ecx]
add ecx, 4
mov dword [0x4a753c], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [ebp - 4], edx
fild dword [ebp - 4]
jns 0x44b36b
fadd qword [0x48cd18]
fmul qword [0x48cd20]
mov esp, ebp
pop ebp
ret
Function at 0x44b375
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x49205c]
jne 0x44b382
call fcn.00442e1b
mov eax, dword [0x4a753c]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4a753c], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
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
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4060b6
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.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4010d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x6255
mov edi, 0x10
xor esi, esi
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4010e2
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x40115f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40115f
cmp ebx, eax
jae 0x40115f
mov eax, 0x4b3d
mov ecx, 0xf1
mov edi, edi
cmp edi, ecx
cmovg edi, ecx
dec eax
jne 0x401110
mov edi, dword [ebp + 0xc]
sub edi, ebx
lea ecx, [ecx]
inc esi
mov eax, 0x55555556
imul esi
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, esi
lea eax, [eax + eax*2]
sub ecx, eax
jne 0x401139
inc esi
cmp esi, 0x5268
jl 0x401120
xor eax, eax
test edi, edi
je 0x40115f
jmp 0x401150
mov cl, byte [eax + ebx + 1]
sub cl, 0x64
xor byte [eax + ebx], cl
inc eax
cmp eax, edi
jb 0x401150
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x402d90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov ecx, 0x210f
mov ebx, 0x92
xor esi, esi
mov eax, 0xa57eb503
imul ecx
add edx, ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402da5
lea ebx, [ebx]
inc edi
mov eax, 0x38e38e39
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, edi
lea eax, [eax + eax*8]
sub ecx, eax
jne 0x402ddb
inc edi
cmp edi, 0x5262
jl 0x402dc0
mov eax, 0x7bb6
mov ecx, 0xd2
lea ecx, [ecx]
cmp ebx, ecx
cmovg ebx, ecx
dec eax
jne 0x402df0
mov edx, dword [ebp + 8]
mov ecx, 0x1ece
lea ebx, [edx + 0x28]
mov dword [ebp - 4], ebx
mov edi, 0xe0
mov eax, 0xf3
cmp eax, 0xe0
cmovg eax, edi
dec ecx
jne 0x402e10
inc byte [edx + 0x13]
movzx edi, byte [edx + 0x13]
movzx ecx, byte [edi + ebx]
movzx eax, byte [edx + 1]
add edi, ebx
add eax, ecx
mov byte [edx + 1], al
mov dword [ebp + 8], eax
mov ecx, 0x5d86
mov edx, 0x62
mov eax, 0xd1
cmp eax, 0x62
cmovl eax, edx
dec ecx
jne 0x402e43
mov ecx, 0x6e62
mov edx, 0xa0
mov eax, 0xa1
jmp 0x402e60
cmp eax, 0xa0
cmovg eax, edx
dec ecx
jne 0x402e60
mov ecx, 0x646d
mov edx, 0x51
mov eax, 0xcd
lea ebx, [ebx]
cmp eax, 0x51
cmovg eax, edx
dec ecx
jne 0x402e80
mov eax, dword [ebp + 8]
movzx ecx, al
mov al, byte [ecx + ebx]
add ecx, ebx
mov bl, byte [edi]
mov byte [edi], al
mov byte [ecx], bl
lea ebx, [ebx]
inc esi
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax*8]
sub ecx, eax
mov eax, esi
sub eax, ecx
jne 0x402ec4
inc esi
cmp esi, 0x410c
jl 0x402ea0
mov al, byte [edi]
mov ecx, dword [ebp - 4]
add al, bl
movzx eax, al
pop edi
movzx eax, byte [eax + ecx]
movzx ecx, byte [ebp + 0xc]
pop esi
xor eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret