joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4019d0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x401a3b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x401a3b
push esi
call fcn.00408840
add esp, 4
test eax, eax
je 0x401a1a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x401a21
inc edi
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
mov ecx, ebp
cmp eax, edi
jne 0x401a00
jmp 0x401a23
mov ebp, 0x1505
jmp 0x401a23
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x401a47
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401a64
inc ebx
dec edi
je 0x401a3b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401a3b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x401a60
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408840
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x401a60
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00408860
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x401a60
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x401a3b
cmp dword [eax + 4], 3
jne 0x401a3b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x401a3b

Function at 0x401b00
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x401c01
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401c01
push ebx
call fcn.00408840
add esp, 4
test eax, eax
je 0x401b5a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401b61
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x401b40
jmp 0x401b63
mov esi, 0x1505
jmp 0x401b63
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x401c01
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401b94
inc ebp
dec ebx
je 0x401bff
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401bff
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401b90
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408840
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401b90
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408860
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401b90
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401bff
cmp dword [eax + 4], 5
mov edi, 0
jne 0x401c01
mov edi, dword [eax + 8]
jmp 0x401c01
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401c30
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x401d34
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x401d34
push ebx
call fcn.00408840
add esp, 4
test eax, eax
je 0x401c8a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x401c91
inc ebp
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebp
jne 0x401c70
jmp 0x401c93
mov esi, 0x1505
jmp 0x401c93
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x401d34
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401cc4
inc ebp
dec ebx
je 0x401d2f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401d2f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x401cc0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408840
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401cc0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408860
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401cc0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x401d2f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x401d34
mov edi, dword [eax + 8]
jmp 0x401d34
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401d40
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 0x2e
push ebp
call fcn.004088b0
add esp, 8
test eax, eax
je 0x401da4
mov esi, eax
jmp 0x401d84
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.004088b0
add esp, 8
mov esi, eax
test eax, eax
je 0x401da4
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.004017b0
add esp, 0xc
xor edi, edi
test eax, eax
je 0x401d70
cmp dword [eax + 4], 4
jne 0x401d70
mov edi, dword [eax + 8]
jmp 0x401d70
xor eax, eax
test edi, edi
je 0x401e0b
test ebp, ebp
je 0x401e0b
push ebp
call fcn.00408840
add esp, 4
test eax, eax
je 0x401deb
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x401df2
inc ebx
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
mov ecx, esi
cmp eax, ebx
jne 0x401dd0
jmp 0x401df4
mov esi, 0x1505
jmp 0x401df4
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x20]
lea ebx, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x401e13
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, esi
mov dword [esp], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x401e34
inc ebx
dec ecx
je 0x401e09
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x401e09
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x401e30
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.00408840
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x401e30
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.00408860
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x401e30
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x401e0b
Function at 0x401f30
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x401f9d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401f9d
push esi
call fcn.00408840
add esp, 4
test eax, eax
je 0x401f7a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x401f81
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x401f60
jmp 0x401f83
mov ebx, 0x1505
jmp 0x401f83
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x401fa5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x401fb4
inc ebp
dec edi
je 0x401f9b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x401f9b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x401fb0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00408840
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x401fb0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00408860
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x401fb0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x401f9d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x401f9d
Function at 0x4021c0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x4022d2
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4022d2
cmp dword [esp + 0x2c], 0
je 0x4022d2
push esi
call fcn.00408840
add esp, 4
test eax, eax
je 0x40222a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402231
inc edi
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
mov ecx, ebx
cmp eax, edi
jne 0x402210
jmp 0x402233
mov ebx, 0x1505
jmp 0x402233
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x4022da
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x402297
call fcn.004023d0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x4022d2
push ecx
call fcn.00408840
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x40234d
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4022f8
inc edi
dec esi
je 0x40224c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402251
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4022f0
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.00408840
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4022f0
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.00408860
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4022f0
mov eax, 0xffffffff
jmp 0x4022d2
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x402368
inc edi
dec esi
je 0x402292
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x402297
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x402360
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.00408840
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402360
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.00408860
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402360
jmp 0x402297
Function at 0x402b60
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x402ce6
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x402cdf
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
mov eax, edx
jmp 0x402bf5
mov eax, dword [esp]
sub eax, dword [esp + 0xc]
add ebp, eax
mov esi, dword [esp + 4]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov eax, 0x15b0
je 0x402cdf
xor ebx, ebx
cmp eax, 8
mov dword [esp], eax
mov dword [esp + 4], esi
jb 0x402c6e
mov ebx, eax
and ebx, 0x1ff8
xor edx, edx
nop
nop
nop
mov eax, edx
movzx edx, byte [ebp + edx]
add edx, edi
add ecx, edx
movzx esi, byte [ebp + eax + 1]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 2]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 3]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 4]
add edx, esi
add ecx, edx
movzx esi, byte [ebp + eax + 5]
add esi, edx
add ecx, esi
movzx edx, byte [ebp + eax + 6]
add edx, esi
add ecx, edx
movzx edi, byte [ebp + eax + 7]
add edi, edx
add ecx, edi
lea edx, [eax + 8]
add eax, 0xf
cmp eax, dword [esp]
mov eax, dword [esp]
jb 0x402c10
add ebp, edx
mov esi, dword [esp + 4]
mov edx, ebx
sub edx, eax
jae 0x402bbd
mov dword [esp + 8], edx
mov esi, eax
and esi, 3
mov dword [esp + 0xc], ebx
mov eax, ebx
mov edx, ebp
je 0x402c9c
nop
nop
nop
nop
nop
movzx ebx, byte [edx]
add edi, ebx
inc edx
add ecx, edi
inc eax
dec esi
jne 0x402c90
cmp dword [esp + 8], 0xfffffffc
ja 0x402bb0
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x402cb0
jmp 0x402bb0
shl ecx, 0x10
or ecx, edi
jmp 0x402ceb
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x402d63
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x402d65
not eax
xor esi, esi
nop
nop
nop
nop
movzx edx, byte [ecx + esi]
mov ebx, eax
mov edi, edx
and edi, 0xf
mov ebp, edi
and ebp, eax
and eax, 0xf
add eax, edi
add ebp, ebp
sub eax, ebp
shr ebx, 4
xor ebx, dword [eax*4 + 0x44280c]
mov eax, ebx
and ebx, 0xf
shr edx, 4
xor edx, ebx
shr eax, 4
xor eax, dword [edx*4 + 0x44280c]
mov edx, dword [esp + 0x1c]
inc esi
cmp edx, esi
jne 0x402d20
not eax
jmp 0x402d65
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x408eb0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [esp + 4]
mov dword [0x44a764], ecx
mov eax, 0xfffffd92
nop
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x26f
mov dword [eax*4 + 0x44b120], ecx
test eax, eax
je 0x408f01
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul ecx, edx, 0x6c078965
add ecx, eax
add ecx, 0x270
mov dword [eax*4 + 0x44b124], ecx
add eax, 2
jmp 0x408ec0
mov dword [0x44a760], 0x270
ret

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

Disassembly:
push esi
mov eax, dword [0x44a760]
cmp eax, 0x270
jne 0x408f6f
mov eax, 0xfffff640
mov edx, dword [0x44a764]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0x44b128]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x44b758]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x44bae4], esi
add eax, 4
jne 0x408f30
mov eax, 0x270
jmp 0x408f85
cmp eax, 0x4e0
jb 0x408f85
mov ecx, 0x44a760
call fcn.00409200
mov eax, dword [0x44a760]
lea ecx, [eax + 1]
mov dword [0x44a760], ecx
mov eax, dword [eax*4 + 0x44a764]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0x44bae4]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret
Function at 0x408fd0
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x21c
call fcn.0043bc40
test al, al
je 0x4091ed
lea eax, [esp + 0x14]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.004355f0
test al, al
je 0x4091e8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, 0xf1f9473f
mov ebp, 0xcc39656d
mov ecx, ebx
shrd ebp, edx, cl
mov dword [esp + 8], eax
shr edx, cl
test bl, 0x20
je 0x409031
mov ebp, edx
xor edx, edx
mov ecx, ebp
xor ecx, 0xcc39656d
mov ebx, edx
xor ebx, 0xf1f9473f
and ebp, 0x73242d9b
and edx, 0x5024
xor ebp, 0x33040892
xor edx, 0x1000
mov edi, ecx
and edi, 0x8cdbd264
mov esi, ebx
and esi, 0xffffafdb
mov eax, edi
imul edi, edx
mul ebp
mov dword [esp], eax
add edi, edx
imul esi, ebp
add esi, edi
mov edi, ecx
and edi, 0x73242d9b
mov edx, ebx
and edx, 0x5024
or ecx, 0x73242d9b
mov eax, ecx
imul ecx, edx
mul edi
add ecx, edx
or ebx, 0x5024
imul ebx, edi
add ebx, ecx
add eax, dword [esp]
adc ebx, esi
mov ebp, ebx
shr ebp, 0x15
xor ebp, ebx
mov esi, ebx
shld esi, eax, 0xb
xor esi, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x4091c4
mov edi, esi
not edi
mov ebx, ebp
not ebx
or ebx, 0xdccd3d7f
or edi, 0xf96cf7f4
add edi, esi
adc ebx, ebp
add edi, 1
adc ebx, 0
mov eax, esi
and eax, 0x693080b
mov dword [esp + 4], eax
mov ecx, ebp
and ecx, 0x2332c280
xor eax, 0x693080b
imul ebx, eax
mul edi
mov dword [esp], eax
or esi, 0x693080b
mov eax, esi
imul esi, ecx
xor ecx, 0x2332c280
imul ecx, edi
add ecx, edx
mov edi, dword [esp + 4]
mul edi
add ecx, ebx
add esi, edx
or ebp, 0x2332c280
imul ebp, edi
add ebp, esi
add eax, dword [esp]
adc ebp, ecx
mov edx, eax
mov ecx, dword [esp + 8]
shrd edx, ebp, cl
mov esi, ebp
shr esi, cl
xor ebx, ebx
test cl, 0x20
je 0x40914c
mov edx, esi
xor esi, esi
mov edi, edx
and edi, eax
mov ecx, esi
and ecx, ebp
add eax, edx
adc ebp, esi
mov dword [esp], ebp
shld ecx, edi, 1
add edi, edi
mov dword [esp + 8], eax
not eax
add eax, edi
mov ebp, dword [esp]
not ebp
adc ebp, ecx
and ebp, esi
and eax, edx
mov edx, eax
and edx, 2
mov ecx, eax
or ecx, 0xfffffffd
add ecx, 1
adc ebx, 0xffffffff
mov dword [esp + 4], ebx
mov edi, eax
or eax, 2
mov ebx, ecx
imul ebx, ebp
imul ebp, edx
mul edx
mov dword [esp + 0x10], eax
or edx, ebp
mov dword [esp + 0xc], edx
mov ebp, dword [esp]
and edi, 0xfffffffd
mov eax, ecx
mul edi
mov esi, eax
add edx, ebx
imul edi, dword [esp + 4]
add edi, edx
sub esi, dword [esp + 0x10]
sbb edi, dword [esp + 0xc]
add esi, dword [esp + 8]
adc ebp, edi
or ebp, 0x1010101
or esi, 0x1010101
push ebp
push esi
call fcn.0040a3a0
add esp, 8
test al, al
je 0x4091e8
call fcn.0040cfd0
call fcn.0040bd30
call fcn.0043d3c0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x409200
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 - 0x630]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4]
xor edi, edx
mov dword [ecx + eax*4 - 0xff4], edi
inc eax
cmp eax, 0x4e1
jne 0x409210
mov eax, 0x353
mov edx, SysReAllocString
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [eax - 0x270]
mov ebx, dword [ecx + eax*4 + 4]
and ebx, edx
and esi, 1
mov edi, eax
or edi, 1
add edi, esi
mov esi, dword [ecx + edi*4 + 4]
mov edi, esi
and edi, 0x7ffffffe
or edi, ebx
shr edi, 1
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [ecx + eax*4 - 0xd48]
xor esi, edi
mov dword [ecx + eax*4 - 0x9bc], esi
inc eax
cmp eax, 0x4df
jne 0x409260
mov edx, SysReAllocString
and edx, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov esi, eax
and esi, 0x7fffffff
or edx, esi
shr edx, 1
xor eax, 0x7ffffffe
and eax, esi
je 0x4092d1
mov eax, 0x9908b0df
xor eax, edx
mov edx, dword [ecx + 0x634]
mov esi, eax
and esi, edx
add eax, edx
add esi, esi
sub eax, esi
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0x40a3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x22c
mov eax, dword [0x44bb3c]
mov dword [esp + 0x1ac], 0xf0e1108
mov dword [esp + 0x1b0], 0
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x1ac]
lea esi, [ecx + 0x82]
and esi, edx
add edx, ecx
add esi, esi
sub edx, esi
add edx, 0x8a151b82
mov esi, edx
and esi, 0x75
xor edx, 0x75
lea edx, [edx + esi*2]
inc dl
mov byte [esp + ecx + 0x1ac], dl
mov edx, ecx
and edx, 1
xor ecx, 1
lea ecx, [ecx + edx*2]
cmp ecx, 8
jb 0x40a3d0
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x1c], 0x9870b85
mov dword [esp + 0x20], 0x5e707c6
mov dword [esp + 0x24], 0x1cc03c9
mov dword [esp + 0x28], 0x1de21f32
mov dword [esp + 0x2c], 0x19ee1be8
mov word [esp + 0x30], 0x1718
mov dword [esp + 0x32], 0
xor edx, edx
movzx esi, byte [esp + edx + 0x1c]
lea edi, [edx - 0x7ddef23d]
xor edi, esi
mov esi, edi
and esi, 0x30
xor edi, 0x30
lea ebx, [edi + esi*2]
inc bl
mov byte [esp + edx + 0x1c], bl
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, 0x1a
jb 0x40a450
lea edi, [esp + 0x1c]
push ecx
push 0
push edi
call eax
mov ecx, 0x44bb40
push eax
call fcn.0043bbb0
movzx eax, al
mov eax, dword [eax*4 + 0x445a24]
mov ecx, 0x53dfd65
xor ecx, dword [0x445a2c]
add ecx, eax
inc ecx
xor eax, eax
jmp ecx

Function at 0x40b710
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x150
mov esi, esp
mov eax, dword [ebp + 8]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0x3c
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x50], 0xffffffff
mov edx, 0xfffffffe
mov ecx, dword [0x44bb18]
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [eax + edx + 2], 0
lea edx, [edx + 2]
jne case.default.0x40b7be
sar edx, 1
lea edi, [esi + 0x20]
push edi
push 0
push edx
push eax
call ecx
xor ecx, ecx
test eax, eax
setne cl
jmp dword [ecx*4 + 0x445cd4]
jmp dword [0x445ce4]