joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x475004]
jne 0x40100a
repz ret
jmp fcn.004017db

Function at 0x406b7e
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.00402504
and dword [ebp - 4], 0
cmp dword [0x476ffc], 0
mov ebx, eax
jne 0x406c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406ce0
push eax
call fcn.00402492
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x476ffc], eax
call esi
push eax
call fcn.00402492
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x477000], eax
call esi
push eax
call fcn.00402492
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x477004], eax
call esi
push eax
call fcn.00402492
pop ecx
mov dword [0x47700c], eax
test eax, eax
je 0x406c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402492
pop ecx
mov dword [0x477008], eax
mov eax, dword [0x477008]
cmp eax, ebx
je 0x406c87
cmp dword [0x47700c], ebx
je 0x406c87
push eax
call fcn.0040250d
push dword [0x47700c]
mov esi, eax
call fcn.0040250d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406c87
test edi, edi
je 0x406c87
call esi
test eax, eax
je 0x406c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406c7e
test byte [ebp - 0xc], 1
jne 0x406c87
or dword [ebp + 0x10], 0x200000
jmp 0x406cc0
mov eax, dword [0x477000]
cmp eax, ebx
je 0x406cc0
push eax
call fcn.0040250d
pop ecx
test eax, eax
je 0x406cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406cc0
mov eax, dword [0x477004]
cmp eax, ebx
je 0x406cc0
push eax
call fcn.0040250d
pop ecx
test eax, eax
je 0x406cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x476ffc]
call fcn.0040250d
pop ecx
test eax, eax
je 0x406ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46e720
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x19f
jne 0x46e741
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x46e796
push esi
jmp 0x46e750
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.0046e710
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x46e750
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x46e7b1
mov dword [0x2b75218], 0xa62e7790
mov dword [0x2b7521c], 0xffffffff
add esp, 8
ret
Function at 0x402680
Capabilities:
Hash data using djb2

Disassembly:
xor eax, eax
test ecx, ecx
je 0x402768
test edx, edx
je 0x402768
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov dword [esp], ecx
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4026ca
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
movzx ebx, byte [edx + edi]
test ebx, ebx
je 0x4026d1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, ebx
inc edi
mov ecx, esi
cmp ebp, edi
jne 0x4026b0
jmp 0x4026d3
mov esi, 0x1505
jmp 0x4026d3
mov esi, ecx
mov dword [esp + 4], edx
mov ecx, dword [esp]
mov ebp, dword [ecx + 0x20]
lea ebx, [ebp - 1]
mov edx, ebp
sub edx, 1
mov dword [esp + 0x10], edx
jb 0x402761
and ebx, esi
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x402704
inc ebx
dec ebp
je 0x40275f
mov eax, ebx
and eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40275f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402700
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 8], eax
push eax
call fcn.004090e0
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 0x28]
jne 0x402700
push dword [esp + 0x28]
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00409100
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x402700
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x402761
xor eax, eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402770
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 0x402871
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402871
push ebx
call fcn.004090e0
add esp, 4
test eax, eax
je 0x4027ca
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 0x4027d1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x4027b0
jmp 0x4027d3
mov esi, 0x1505
jmp 0x4027d3
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 0x402871
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402804
inc ebp
dec ebx
je 0x40286f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40286f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402800
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.004090e0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402800
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409100
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402800
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40286f
cmp dword [eax + 4], 2
mov edi, 0
jne 0x402871
mov edi, dword [eax + 8]
jmp 0x402871
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4028a0
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 0x40290b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40290b
push esi
call fcn.004090e0
add esp, 4
test eax, eax
je 0x4028ea
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x4028f1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x4028d0
jmp 0x4028f3
mov ebp, 0x1505
jmp 0x4028f3
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 0x402917
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 0x402934
inc ebx
dec edi
je 0x40290b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40290b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x402930
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.004090e0
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x402930
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00409100
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x402930
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x40290b
cmp dword [eax + 4], 3
jne 0x40290b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x40290b

Function at 0x4029d0
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 0x402ad1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402ad1
push ebx
call fcn.004090e0
add esp, 4
test eax, eax
je 0x402a2a
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 0x402a31
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402a10
jmp 0x402a33
mov esi, 0x1505
jmp 0x402a33
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 0x402ad1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402a64
inc ebp
dec ebx
je 0x402acf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402acf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402a60
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.004090e0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402a60
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409100
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402a60
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402acf
cmp dword [eax + 4], 5
mov edi, 0
jne 0x402ad1
mov edi, dword [eax + 8]
jmp 0x402ad1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402b00
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 0x402c04
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x402c04
push ebx
call fcn.004090e0
add esp, 4
test eax, eax
je 0x402b5a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x402b61
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x402b40
jmp 0x402b63
mov esi, 0x1505
jmp 0x402b63
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 0x402c04
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x402b94
inc ebp
dec ebx
je 0x402bff
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x402bff
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x402b90
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.004090e0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402b90
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409100
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402b90
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x402bff
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x402c04
mov edi, dword [eax + 8]
jmp 0x402c04
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402c10
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
push 0x2e
push edi
call fcn.00409150
add esp, 8
test eax, eax
je 0x402c76
mov ebx, eax
jmp 0x402c54
mov edi, ebx
inc edi
push 0x2e
push edi
call fcn.00409150
add esp, 8
mov ebx, eax
test eax, eax
je 0x402c76
mov eax, ebx
sub eax, edi
mov ecx, esi
mov edx, edi
push eax
call fcn.00402680
add esp, 4
xor esi, esi
test eax, eax
je 0x402c40
cmp dword [eax + 4], 4
jne 0x402c40
mov esi, dword [eax + 8]
jmp 0x402c40
xor eax, eax
test esi, esi
je 0x402cda
test edi, edi
je 0x402cda
push edi
call fcn.004090e0
add esp, 4
test eax, eax
je 0x402cba
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [edi + ebp]
test edx, edx
je 0x402cc1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc ebp
mov ecx, ebx
cmp eax, ebp
jne 0x402ca0
jmp 0x402cc3
mov ebx, 0x1505
jmp 0x402cc3
mov ebx, ecx
mov dword [esp + 4], eax
mov ecx, dword [esi + 0x20]
lea ebp, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x402ce2
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov dword [esp], esi
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
jmp 0x402cf4
inc ebp
dec ecx
je 0x402cd8
mov eax, ebp
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x402cd8
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + esi*4], ebx
jne 0x402cf0
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.004090e0
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x402cf0
push dword [esp + 4]
push dword [esp + 0x10]
push edi
call fcn.00409100
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x402cf0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + esi*4]
jmp 0x402cda
Function at 0x402df0
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 0x402e5d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x402e5d
push esi
call fcn.004090e0
add esp, 4
test eax, eax
je 0x402e3a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x402e41
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x402e20
jmp 0x402e43
mov ebx, 0x1505
jmp 0x402e43
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 0x402e65
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 0x402e74
inc ebp
dec edi
je 0x402e5b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x402e5b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x402e70
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.004090e0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x402e70
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00409100
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x402e70
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x402e5d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x402e5d
Function at 0x403080
Capabilities:
Hash data using djb2

Disassembly:
mov eax, 0xffffffff
test ecx, ecx
je 0x40318c
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, edx
test edx, edx
je 0x403185
mov dword [esp], ecx
cmp dword [esp + 0x2c], 0
je 0x403185
push esi
call fcn.004090e0
add esp, 4
test eax, eax
je 0x4030da
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x4030e1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x4030c0
jmp 0x4030e3
mov ebp, 0x1505
jmp 0x4030e3
mov ebp, ecx
mov dword [esp + 8], esi
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 0x10], edx
jae 0x40318d
mov edi, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x40314a
call fcn.00403280
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 8]
jne 0x403185
push ecx
call fcn.004090e0
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp]
mov esi, dword [ecx + 0x20]
lea ebx, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 0x10], eax
jae 0x4031ff
mov edi, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 8]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + edi*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], edi
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x4031a8
inc ebx
dec esi
je 0x4030ff
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x403104
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x4031a0
mov ecx, dword [ecx + 0xc]
mov edi, dword [ecx + eax*4]
push edi
call fcn.004090e0
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4031a0
push dword [esp + 4]
push edi
push dword [esp + 0x10]
call fcn.00409100
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x4031a0
mov eax, 0xffffffff
jmp 0x403185
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], eax
jmp 0x403218
inc ebx
dec esi
je 0x403145
mov edi, ebx
and edi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edi*4]
cmp eax, 0xffffffff
je 0x40314a
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebp
jne 0x403210
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x14], eax
push eax
call fcn.004090e0
mov ecx, dword [esp + 4]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x403210
push dword [esp + 4]
push dword [esp + 0x18]
push dword [esp + 0x10]
call fcn.00409100
mov ecx, dword [esp + 0xc]
add esp, 0xc
test eax, eax
jne 0x403210
jmp 0x40314a
Function at 0x4039c0
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 0x403b66
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x403b5f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x403a55
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
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 edx, 0x15b0
je 0x403b5f
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x403ace
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 4]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 5]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 6]
add eax, esi
add ecx, eax
movzx edi, byte [ebp + edx + 7]
add edi, eax
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x403a70
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x403a1d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x403b10
neg eax
xor ebx, ebx
mov edx, ebp
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec ebx
cmp eax, ebx
jne 0x403af0
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x403a10
jmp 0x403b1f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x403a10
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
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 0x403b30
jmp 0x403a10
shl ecx, 0x10
or ecx, edi
jmp 0x403b6b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4096e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
mov esi, esp
call fcn.00409910
push eax
mov dword [esi + 0x10], esp
sub esp, 0x18
mov ebx, esp
and ebx, 0xfffffff8
mov esp, ebx
push eax
mov edi, esp
sub esp, 0x100
mov dword [esi + 0xc], esp
call fcn.0043d2d0
test al, 1
jne 0x40971b
jmp 0x4098da
mov al, byte [edi]
mov byte [esi], al
mov byte [ebx], 0x46
mov byte [ebx + 1], 0xd9
mov byte [ebx + 2], 0x57
mov byte [ebx + 3], 0xdb
mov byte [ebx + 4], 0x77
mov byte [ebx + 5], 0xd5
mov byte [ebx + 6], 0x4d
mov byte [ebx + 7], 0xd7
mov byte [ebx + 8], 0x47
mov byte [ebx + 9], 0xd1
mov byte [ebx + 0xa], 0x4c
mov byte [ebx + 0xb], 0xd3
mov byte [ebx + 0xc], 0x52
mov byte [ebx + 0xd], 0xcd
mov byte [ebx + 0xe], 0xce
mov byte [ebx + 0xf], 0xcf
mov eax, 0x10
mov byte [ebx + eax], 0
add eax, 1
cmp eax, 0x11
jne 0x409763
mov dword [esi + 8], ebx
xor eax, eax
mov dword [esi + 4], eax
cmp dword [esi + 4], 0x11
jae 0x4097ca
call fcn.00409910
call fcn.00409910
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
movzx ebx, byte [ecx + eax]
mov edx, ebx
not edx
mov edi, ebx
add edi, edi
not edi
add edi, ebx
and edi, edx
mov ebx, 0xa5ef675b
sub ebx, eax
or edi, ebx
not edi
and ebx, edx
or ebx, edi
mov edx, ebx
add edx, edx
not edx
add ebx, edx
mov dword [esi + 0x14], ebx
mov edx, dword [esi + 0x14]
add dl, 0x84
mov byte [ecx + eax], dl
mov eax, dword [esi + 4]
add eax, 1
jmp 0x409774
mov eax, dword [esi + 8]
xor ecx, ecx
sub esp, 0xc
mov dword [esp], 0
mov dword [esp + 4], 1
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, dword [esi + 0x10]
mov dword [edi], eax
call fcn.004350f0
test al, 1
jne 0x4097fe
jmp 0x4098bb
xor eax, eax
sub esp, 8
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0
jl 0x4098b9
xor eax, eax
sub esp, 0x24
mov dword [esp], 0
mov dword [esp + 4], 0xffffffff
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, 0
setge al
test al, 1
jne 0x40987f
jmp 0x4098b3
call fcn.0040ae50
test al, 1
jne 0x40988a
jmp 0x4098b1
lea eax, str.system_or_character_via_spellings_glyphs_a_is_uses_that_in_their_modified_other_on_often_reflection_or_resemblance_on_it_leetspeak__used_similarity_internet._play_eleet_the_of_the_replacements_of_primarily_ways
sub esp, 8
mov ecx, dword [esi + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004098f0
add esp, 8
call fcn.0040d820
call fcn.0040c5d0
jmp 0x4098b1
jmp 0x4098b3
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4098bb
cmp dword [edi], 0
setne al
test al, 1
jne 0x4098c7
jmp 0x4098d5
mov eax, dword [edi]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043da40
xor eax, eax
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]