joyce8/EMBER2024-capa huggingface dataset:
Function at 0xaed984
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ae950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.00aeb584
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0xaed9dd
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.00ae88d4
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.00ae88c4
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00aed034
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x100b2570]
push 0
lea ecx, [esp + 0x4c]
call fcn.00b53f2b
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00afc6b4
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.00aeafe4
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x100b20f0]
mov ecx, ebx
call fcn.00ae8844
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0xaedaa8
push edi
mov ecx, esi
call fcn.00aeb0f4
push eax
push ebp
mov ecx, esi
call fcn.00aeb2b4
cmp eax, dword [esp + 0x40]
jg 0xaedaa4
inc edi
mov ebp, eax
cmp edi, ebx
jl 0xaeda82
mov eax, ebx
jmp 0xaedaae
cmp edi, ebx
jl 0xaedaac
mov eax, ebx
jmp 0xaedaae
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0xaedabf
mov dword [esp + 0x30], eax
jmp 0xaedaca
cmp edi, ebx
jl 0xaedac5
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.00ae8804
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0xaedb11
push edi
mov ecx, esi
call fcn.00aeb014
push eax
push ebx
mov ecx, esi
call fcn.00aeb3e4
cmp eax, dword [esp + 0x44]
jg 0xaedb09
inc edi
mov ebx, eax
cmp edi, ebp
jl 0xaedae3
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0xaedb1b
cmp edi, ebp
jl 0xaedb15
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0xaedb1b
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0xaedb24
mov ecx, eax
jmp 0xaedb2d
cmp edi, ebp
jl 0xaedb2a
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.00aeb004
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.00b53f9d
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0xaf3b04
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100aee08
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0xaf3b3d
inc eax
mov dword [esi + 0x10], eax
jmp 0xaf3c50
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0xaf3b51
mov eax, 0xffffffc7
jmp 0xaf3c52
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0xaf3b62
cmp dword [esi + 8], eax
jne 0xaf3b51
cmp dword [esi + 8], eax
jne 0xaf3b7b
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0xaf3b7b
mov eax, 0xffffffc7
jmp 0xaf3c52
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0xaf3b8f
push eax
mov ecx, ebx
call fcn.00af3334
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00ac5ba4
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0xaf3bc0
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00ac5bc4
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00af2aa4
test eax, eax
mov dword [esp + 0x38], eax
je 0xaf3bf3
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100eee88
call fcn.00ac5da4
mov eax, dword [esp + 0x38]
jmp 0xaf3c52
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00af3964
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0xaf3c37
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00af3984
mov esi, eax
test esi, esi
jne 0xaf3c67
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00af3964
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0xaf3c09
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100eee88
call fcn.00ac5da4
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100eee88
call fcn.00ac5da4
mov eax, esi
jmp 0xaf3c52
Function at 0xafcd14
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100af438
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x100b2570]
push 0
lea ecx, [esp + 0x20]
call fcn.00b53f2b
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00afc6b4
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00b53e59
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00b50705
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00b50705
push 1
push 0
push 0
mov ecx, esi
call fcn.00b506ad
push 1
push 0
push 1
mov ecx, esi
call fcn.00b506ad
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00b53f9d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0xafce94
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100af458
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00b53f2b
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00afc6b4
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00b53e59
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x100b2570]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0xafcf58
cmp dword [esp + 0x40], 1
jne 0xafcf56
cmp ecx, eax
jge 0xafcf58
mov eax, ecx
cmp eax, 0xc8
jge 0xafcf64
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00afcd14
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x100b256c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00b53f9d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0xafd6d4
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100af4c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00b4eb20
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x100ffbf8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x100f1f58
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x100b20bc]
push eax
mov ecx, edi
call fcn.00b541d3
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00b55855
test eax, eax
je 0xafd7f0
mov ecx, dword [esp + 0x3c]
call fcn.00b54200
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x100b2590]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0xafd7b4
push edi
mov ecx, esi
call fcn.00b5184c
mov ecx, esi
call fcn.00afd954
cmp dword [esp + 0x38], 1
jne 0xafd7e9
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00b51987
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0xb00204
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0xb00237
push esi
call fcn.00b032f4
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0xb00230
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0xb002bd
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0xb002a6
mov eax, dword [esi + 8]
test eax, eax
je 0xb0025b
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0xb002a2
cmp eax, 2
je 0xb002a6
mov ecx, dword [esi + 8]
test ecx, ecx
je 0xb0024e
cmp eax, 3
je 0xb00281
cmp eax, 1
jne 0xb0024e
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0xb0024e
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0xb0024e
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00b002e4
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0xb002cc
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00b002e4
add esp, 4
pop esi
ret
Function at 0xb1da14
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100b0800
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0xb1dbbb
mov ecx, dword [0x101230a8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0xb1db10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.00b1c734
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.00b4d622
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.00b4d535
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x10117f6c
call fcn.00b4d5a3
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00b1caf4
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.00b4d622
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.00b4d535
lea ecx, [esp + 0xc]
call fcn.00b4d9fd
mov ecx, dword [esp + 0xc]
push 0x101189ac
push ecx
call fcn.00b3cd48
add esp, 8
test eax, eax
je 0xb1db38
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0xb1da71
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.00b4d535
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.00b4d535
jmp 0xb1dbbf
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.00b1d7b4
test eax, eax
push 0
je 0xb1dba3
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.00b1be54
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0xb1db89
cmp eax, 0x64
jg 0xb1db77
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [0x100b238c]
mov esi, eax
jmp 0xb1db14
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [0x100b238c]
mov esi, eax
jmp 0xb1db14
cmp eax, 0x64
jge 0xb1db10
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [0x100b238c]
mov esi, eax
jmp 0xb1db14
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.00b1be54
mov esi, eax
jmp 0xb1db14
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0xb1dbc9
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0xb2c9b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0xb2cad5
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0xb2cab9
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0xb2ca0b
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0xb2c9e9
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x406c81
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x406cbf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c95
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x406c90
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ccd
not eax
pop ebp
ret 0xc

Function at 0x407bae
Capabilities:
Encode data using xor

Disassembly:
nop
and byte [ecx + edx*2 - 0x5cabc20], dl
and dword [edi], edx
leave
test al, 0xba
out 0x89, al
xor ebx, dword [edx]
pop ecx
rcr byte gs:[esi - 0xb], 0x95
daa
cmpsd dword [esi], dword es:[edi]
adc edx, dword [esi - 0x5bbf4061]
je 0x407bcb
retf
lcall 0xeb47, 0xf5aef49
sbb al, 0xff
and eax, section.sect_0
push section.sect_0
call 0x407bae
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [ebx + 0x20e908c4], al
js 0x407c12
add byte [esi - 0x1e], ah
xchg ebx, eax
loop 0x407b6a
add edi, dword [ebx - 0x62]
sahf
sahf
add dh, byte [ecx + esi*4 - 0x576373ce]
adc eax, 0x965236e4
xchg byte [esi], dh
add bh, bh
in eax, dx
cmpsb byte [esi], byte es:[edi]
pop edx
jno 0x407c1e
add eax, 0x9e3474b0
and esp, ebp
dec esp
mov edx, 0x6a5745be
fsin
shl edx, 1
mov bh, 0x7f
pop eax
pop es
imul edx, dword [edx], 0x8f854d16
and eax, 0xa9d3250b
cmp eax, 0xfe5f908f
clc
jns 0x407bd4
invalid
aas
and eax, 0x788acfa8
mov byte [esp + edi], dh
js 0x407ba8
xor al, 0x3c
sar edx, cl
imul esi, dword [edx + 2], 0xffffff8d
loop 0x407bd9
invalid
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x296264e7
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x59147a2a
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x402e23
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x54]
mov eax, 0x421118
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x6c]
mov ebx, 0x8000
test edi, edi
cmovne ebx, dword [esp + 0x70]
xor esi, esi
test edi, edi
cmovne eax, edi
mov dword [esp + 0x10], eax
test ecx, ecx
js 0x402e5f
mov eax, dword [0x42f138]
add eax, ecx
push eax
call fcn.00402e0c
push 4
lea eax, [esp + 0x70]
push eax
push dword [0x40a010]
call fcn.00406306
test eax, eax
je 0x40303f
mov eax, dword [esp + 0x6c]
test eax, eax
jns 0x402fe7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [0x40ba84], esi
and dword [0x40ba80], esi
mov dword [esp + 0x70], eax
mov eax, 0x40d108
mov dword [0x415110], eax
mov dword [0x41510c], eax
mov eax, dword [esp + 0x6c]
and eax, 0x7fffffff
mov dword [0x40b568], 8
mov ecx, eax
mov dword [0x415108], 0x415108
mov dword [esp + 0x14], eax
mov dword [esp + 0x6c], ecx
jbe 0x402fdf
mov ebp, 0x4000
cmp ecx, ebp
cmovl ebp, ecx
push ebp
push 0x41d118
call fcn.00402df6
test eax, eax
je 0x40303f
sub dword [esp + 0x6c], ebp
mov dword [0x40b55c], ebp
mov ebp, dword [esp + 0x10]
mov dword [0x40b558], 0x41d118
push 0x40b558
mov dword [0x40b560], ebp
mov dword [0x40b564], ebx
call fcn.00406bc5
mov dword [esp + 0x1c], eax
test eax, eax
js 0x402fe3
mov eax, dword [0x40b560]
sub eax, ebp
mov dword [esp + 0x64], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x42f1d4], 1
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
je 0x402f9b
sub eax, dword [esp + 0x70]
cmp eax, 0xc8
ja 0x402f5f
test ecx, ecx
jne 0x402f9b
mov eax, dword [esp + 0x14]
push eax
push 0x64
sub eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [esp + 0x24]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push 0
call fcn.004057b1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
test eax, eax
je 0x402fd7
test edi, edi
jne 0x402fbc
push eax
push ebp
push dword [esp + 0x70]
call fcn.004063c5
test eax, eax
je 0x403027
mov eax, dword [esp + 0x64]
jmp 0x402fc8
mov ebp, dword [0x40b560]
sub ebx, eax
mov dword [esp + 0x10], ebp
add esi, eax
cmp dword [esp + 0x1c], 1
jne 0x402f0c
jmp 0x402fdf
test ecx, ecx
jg 0x402ed7
mov eax, esi
jmp 0x403042
push 0xfffffffffffffffc
jmp 0x403041
test edi, edi
jne 0x40302b
test eax, eax
jle 0x402fdf
mov ebp, 0x41d118
cmp eax, ebx
mov edi, ebx
cmovl edi, eax
push edi
push ebp
call fcn.00402df6
test eax, eax
je 0x40303f
push edi
push ebp
push dword [esp + 0x70]
call fcn.004063c5
test eax, eax
je 0x403027
mov eax, dword [esp + 0x6c]
add esi, edi
sub eax, edi
mov dword [esp + 0x6c], eax
test eax, eax
jg 0x402ff4
jmp 0x402fdf
push 0xfffffffffffffffe
jmp 0x403041
mov esi, dword [esp + 0x70]
cmp eax, esi
cmovl esi, eax
push esi
push edi
call fcn.00402df6
test eax, eax
jne 0x402fdf
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10
Function at 0x40304c
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
je 0x40306b
mov eax, dword [0x40b550]
test eax, eax
je 0x403063
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [0x40b550], 0
ret
cmp dword [0x40b550], 0
je 0x40307c
push 0
call fcn.00405c90
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x42f0e4]
jbe 0x4030af
push 0
push 0x403312
push 0
push 0x6f
push dword [0x42e8d4]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
push 5
push eax
mov dword [0x40b550], eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x405896
Capabilities:
Create directory

Disassembly:
push esi
xor esi, esi
push esi
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4058b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, esi
pop esi
ret 4

Function at 0x4058b6
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
push 4
pop eax
mov word [ebp - 0x1e], ax
mov eax, 0x408654
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov word [ebp - 0x20], 1
mov dword [ebp - 0x10], 0x408644
mov dword [ebp - 0xc], 0xc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x405924
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40592e
lea eax, [ebp - 0x20]
push eax
push 0x80000007
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
test eax, eax
je 0x405928
xor eax, eax
jmp 0x40592e
call dword [sym.imp.KERNEL32.dll_GetLastError]
leave
ret 4