joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41626e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x504ba0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4162b1
cmp word [esi], dx
jne 0x4162b1
or byte [edi + eax + 0x28], 4
jmp 0x4162b6
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x416409
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4163e9
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4162f8
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41632e
cmp eax, edx
jae 0x41633a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4162d0
jmp 0x416409
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4163e5
cmp dword [ebp - 0x14], 0
je 0x4163e5
mov eax, dword [ebx*4 + 0x504ba0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4163bd
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x416386
mov word [esi], cx
jmp 0x4163b9
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x504ba0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x504ba0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x504ba0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x416409
pop ebx
cmp word [ebp - 4], bx
jne 0x4163ce
cmp esi, dword [ebp + 0xc]
jne 0x4163ce
mov word [esi], bx
jmp 0x416406
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00416ca2
add esp, 0x10
cmp word [ebp - 4], bx
je 0x416409
push 0xd
jmp 0x416402
mov ecx, dword [ebx*4 + 0x504ba0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x416400
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x416409
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x418bbb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x418c58
push ebx
push esi
call fcn.00418b84
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00417965
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x418c05
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418c57
push edi
push eax
call fcn.004137c3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x418c25
call fcn.00412a7b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418c56
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00417965
add esp, 0x20
test eax, eax
jne 0x418c44
push edi
call fcn.00412a7b
jmp 0x418c4c
push ebx
call fcn.00412a7b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41e950
Capabilities:
Parse pe header

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

Function at 0x420545
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
sub eax, dword [esp + 0x10]
sar eax, 2
push edi
mov edi, dword [esp + 0x20]
test eax, eax
je 0x42061d
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [esp + 0x2c], ebx
jbe 0x42061b
push ebp
mov dword [esp + 0x10], ebx
mov ebp, 0x5041e8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebp
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebp
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00401eb7
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x421548
mov byte [edi + esi], al
call fcn.0040d3de
add esp, 0x1c
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ebx
call fcn.00401920
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
xor byte [edi + esi], al
mov eax, dword [esp + 0x18]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00401800
inc esi
mov dword [esp + 0x18], ebx
pop ecx
pop ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x30]
jb 0x420582
pop ebp
pop esi
pop ebx
lea ecx, [esp + 0x14]
call fcn.0040433b
pop edi
add esp, 0xc
ret 0x14

Function at 0x42062d
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x420649
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x40a400
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
mov edi, dword [0x682080]
xor esi, esi
mov dword [esp + 0x14], esi
mov ebp, dword [edi + 0x1b94]
test al, 0x10
jne 0x40a55d
mov ebx, dword [ebp + 0x118]
test ebx, ebx
je 0x40a45d
cmp dword [edi + 0x1bc8], ebx
jne 0x40a553
mov esi, dword [edi + 0x1c00]
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
cmp byte [esi + edi + 0xec], al
je 0x40a553
xor al, al
jmp 0x40a4e2
cmp byte [edi + 0xec], 0
je 0x40a553
test al, 8
je 0x40a553
test byte [ebp + 0x11c], 1
jne 0x40a493
cmp dword [edi + 0x1bc8], esi
je 0x40a553
cmp dword [edi + 0x1bf8], ebp
jne 0x40a553
lea esi, [ebp + 0x120]
mov ecx, ebp
push esi
call fcn.0040e100
mov ebx, eax
push ebx
push esi
mov dword [ebp + 0x118], ebx
call fcn.00410310
add esp, 8
mov byte [esp + 0x13], al
test al, al
je 0x40a4d8
cmp byte [edi + 0x3d8], 0
je 0x40a4d8
push ebp
push ebx
call fcn.00418840
push ebp
call fcn.0040dab0
mov al, byte [esp + 0x1f]
add esp, 0xc
cmp dword [edi + 0x1bc8], ebx
jne 0x40a553
xor esi, esi
mov byte [edi + 0x1bd5], al
mov ecx, dword [ebp + 0xc0]
mov eax, dword [ebp + 0xc8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esp + 0x14], eax
mov eax, dword [0x682080]
cmp byte [eax + esi + 0xec], 0
jne 0x40a50f
xor al, al
jmp 0x40a527
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + esi*4 + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
mov dword [edi + 0x1bdc], 0xffffffff
mov dword [edi + 0x1be0], 0xffffffff
mov dword [edi + 0x1be8], 0xffffffff
mov dword [edi + 0x1bec], 0xffffffff
test al, al
jne 0x40a59b
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xc
ret
xor ebp, ebp
or ebx, 0xffffffff
mov edx, 0x5cbeb5
mov al, 0x23
or esi, 0xffffffff
nop dword [eax]
cmp al, 0x23
jne 0x40a57e
cmp byte [edx], al
jne 0x40a57e
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x5cb4a0]
test al, al
jne 0x40a570
not ebx
mov esi, ebp
cmp byte [edi + 0x1e3c], 0
jne 0x40a5df
call fcn.0040bda0
mov eax, dword [esp + 0x14]
mov dword [edi + 0x1e58], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 0x1e54], ebx
mov byte [edi + 0x1e3c], 1
mov dword [edi + 0x1e40], eax
mov dword [edi + 0x1e48], esi
cmp ebx, dword [edi + 0x1bc8]
jne 0x40a5df
mov byte [edi + 0x1bd6], 1
mov ebx, dword [esp + 0x20]
mov eax, dword [edi + 0x1b38]
mov dword [edi + 0x1e44], eax
mov byte [edi + 0x1e3d], 1
test bl, 1
jne 0x40a630
push 0
push 0
call fcn.0040abe0
add esp, 8
cmp dword [edi + 0x1ea4], 0
je 0x40a630
test dword [edi + 0x1e98], 0x1000
je 0x40a630
mov eax, dword [edi + 0x1b94]
mov byte [eax + 0x8f], 1
mov byte [eax + 0xa8], 1
test bl, 0x12
jne 0x40a63c
and dword [ebp + 0x11c], 0xfffffffe
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0xc
ret
Function at 0x40e030
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [ecx + 0xc0]
mov eax, dword [ecx + 0xc8]
push esi
push edi
lea esi, [esp + 0xc]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop dword [eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5cb4a0]
sub edi, 1
jne 0x40e050
mov ecx, dword [0x682080]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1bc8], eax
jne 0x40e082
mov dword [ecx + 0x1bcc], eax
cmp dword [ecx + 0x1c04], eax
jne 0x40e091
mov byte [ecx + 0x1c08], 1
ret 4

Function at 0x40e100
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x14
mov eax, dword [0x67c3c0]
xor eax, esp
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc0]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [esp + 8], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [esp + 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [esp + 0x10], eax
cvttss2si eax, xmm0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc8]
lea esi, [esp + 8]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x5cb4a0]
sub edi, 1
jne 0x40e180
mov eax, dword [0x682080]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bc8], edx
jne 0x40e1b1
mov dword [eax + 0x1bcc], edx
cmp dword [eax + 0x1c04], edx
jne 0x40e1c0
mov byte [eax + 0x1c08], 1
mov ecx, dword [esp + 0x10]
mov eax, edx
xor ecx, esp
call fcn.0059a5ad
add esp, 0x14
ret 4

Function at 0x40ec80
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0xc]
not ebx
push edi
mov edi, dword [esp + 0x14]
mov eax, ebx
test edi, edi
je 0x40ece2
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x40ecc6
cmp edi, 2
jb 0x40ecc6
cmp byte [esi], cl
jne 0x40ecc6
cmp byte [esi + 1], cl
jne 0x40ecc6
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5cb4a0]
jmp 0x40ec97
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5cb4a0]
test edi, edi
jne 0x40ec97
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x40ed18
nop dword [eax]
cmp cl, 0x23
jne 0x40ecff
cmp byte [esi], cl
jne 0x40ecff
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x5cb4a0]
test cl, cl
jne 0x40ecf0
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x40ef60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xc
xor edx, edx
push ebx
push ebp
push esi
push edi
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x18], edx
test ebp, ebp
je 0x40ef81
cmp eax, ebp
jae 0x40f0fc
mov cl, byte [eax]
mov byte [esp + 0x12], cl
test cl, cl
je 0x40f0fc
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, ebp
movsx ecx, byte [ecx + 0x5cb9dc]
test ecx, ecx
mov dword [esp + 0x14], ecx
sete bl
add ebx, ecx
test ebp, ebp
jne 0x40efb2
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x12]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x40efcd
mov ch, byte [esi]
mov byte [esp + 0x11], ch
jmp 0x40efd2
mov byte [esp + 0x11], 0
lea esi, [eax + 2]
cmp esi, edx
jae 0x40efe1
mov ch, byte [esi]
mov byte [esp + 0x10], ch
jmp 0x40efe6
mov byte [esp + 0x10], 0
lea esi, [eax + 3]
cmp esi, edx
jae 0x40eff1
mov ch, byte [esi]
jmp 0x40eff3
xor ch, ch
mov ebp, dword [esp + 0x14]
movzx esi, byte [esp + 0x11]
movzx edx, byte [esp + 0x10]
movzx edi, ch
mov ebp, dword [ebp*4 + 0x5cb9fc]
mov byte [esp + 0x12], ch
movzx ecx, cl
and ebp, ecx
mov ecx, esi
and ecx, 0x3f
shl ebp, 6
or ebp, ecx
and esi, 0xc0
shl ebp, 6
mov ecx, edx
and ecx, 0x3f
and edx, 0xc0
or ebp, ecx
mov ecx, edi
and ecx, 0x3f
shr edi, 2
or edi, edx
shl ebp, 6
or ebp, ecx
shr edi, 2
mov ecx, dword [esp + 0x14]
or edi, esi
mov esi, dword [esp + 0x14]
shr edi, 2
mov ecx, dword [ecx*4 + 0x5cba24]
shr ebp, cl
cmp ebp, dword [esi*4 + 0x5cba10]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, ebp
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, ebp
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [esi*4 + 0x5cba38]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x40f0e0
xor edx, edx
cmp byte [esp + 0x13], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x10], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
mov edx, dword [esp + 0x18]
inc edx
jmp 0x40ef6d
add eax, ebx
test ebp, ebp
je 0x40f0f0
mov edx, dword [esp + 0x18]
inc edx
jmp 0x40ef6d
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0xc
ret
Function at 0x40f160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
dec eax
push ebp
mov ebp, edx
lea eax, [edx + eax*2]
mov dword [esp + 0x14], eax
cmp edx, eax
mov eax, dword [esp + 0x24]
jae 0x40f330
push esi
mov esi, dword [esp + 0x2c]
push ebx
push edi
nop dword [eax]
test esi, esi
je 0x40f19c
cmp eax, esi
jae 0x40f329
mov cl, byte [eax]
mov byte [esp + 0x2c], cl
test cl, cl
je 0x40f329
movzx ecx, cl
xor ebx, ebx
shr ecx, 3
mov edx, esi
movsx ecx, byte [ecx + 0x5cb9dc]
test ecx, ecx
mov dword [esp + 0x18], ecx
sete bl
add ebx, ecx
mov dword [esp + 0x1c], ebx
test esi, esi
jne 0x40f1d1
lea edx, [ebx + eax]
cmp eax, edx
lea esi, [eax + 1]
sbb cl, cl
and cl, byte [esp + 0x2c]
mov byte [esp + 0x13], cl
cmp esi, edx
jae 0x40f1e8
mov bh, byte [esi]
jmp 0x40f1ea
xor bh, bh
lea esi, [eax + 2]
mov byte [esp + 0x12], bh
cmp esi, edx
jae 0x40f1f9
mov ch, byte [esi]
jmp 0x40f1fb
xor ch, ch
lea esi, [eax + 3]
mov byte [esp + 0x11], ch
cmp esi, edx
jae 0x40f20a
mov bl, byte [esi]
jmp 0x40f20c
xor bl, bl
movzx edx, ch
movzx ecx, cl
movzx esi, bh
movzx edi, bl
mov byte [esp + 0x2c], bl
mov ebx, dword [esp + 0x18]
mov ebx, dword [ebx*4 + 0x5cb9fc]
and ebx, ecx
mov ecx, esi
and ecx, 0x3f
mov dword [esp + 0x14], ebx
shl dword [esp + 0x14], 6
and esi, 0xc0
or dword [esp + 0x14], ecx
mov ecx, edx
shl dword [esp + 0x14], 6
and ecx, 0x3f
or dword [esp + 0x14], ecx
and edx, 0xc0
shl dword [esp + 0x14], 6
mov ecx, edi
mov ebx, dword [esp + 0x14]
and ecx, 0x3f
or ebx, ecx
shr edi, 2
mov ecx, dword [esp + 0x18]
or edi, edx
shr edi, 2
or edi, esi
shr edi, 2
mov ecx, dword [ecx*4 + 0x5cba24]
shr ebx, cl
mov esi, ebx
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x18]
cmp esi, dword [ebx*4 + 0x5cba10]
sbb ecx, ecx
xor edx, edx
and ecx, 0x40
or edi, ecx
mov ecx, esi
and ecx, 0xfffff800
cmp ecx, 0xd800
mov ecx, 0x80
cmove edx, ecx
mov ecx, 0xffff
or edi, edx
cmp ecx, esi
sbb ecx, ecx
and ecx, 0x100
or edi, ecx
mov ecx, dword [ebx*4 + 0x5cba38]
mov ebx, dword [esp + 0x1c]
xor edi, 0x2a
sar edi, cl
test edi, edi
je 0x40f30e
xor edx, edx
mov esi, 0xfffd
cmp byte [esp + 0x2c], dl
setne dl
xor ecx, ecx
cmp byte [esp + 0x11], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x12], cl
setne cl
add edx, ecx
xor ecx, ecx
cmp byte [esp + 0x13], cl
setne cl
add edx, ecx
cmp ebx, edx
cmovl edx, ebx
add eax, edx
jmp 0x40f314
add eax, ebx
test esi, esi
je 0x40f329
mov word [ebp], si
add ebp, 2
mov esi, dword [esp + 0x34]
cmp ebp, dword [esp + 0x20]
jb 0x40f190
mov edx, dword [esp + 0x28]
pop edi
pop ebx
pop esi
xor ecx, ecx
mov word [ebp], cx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x40f340
mov dword [ecx], eax
sub ebp, edx
sar ebp, 1
mov eax, ebp
pop ebp
add esp, 0x14
ret
Function at 0x415590
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 8
mov eax, dword [0x67c3c0]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [0x682080]
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x1b94]
mov esi, 4
mov eax, dword [esp + 0x1c]
add edi, 0xc0
mov dword [esp + 0x10], eax
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + ebp*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x5cb4a0]
sub esi, 1
jne 0x4155d0
mov esi, dword [edi + 4]
not ebx
cmp ebp, esi
jne 0x415617
lea ecx, [ebp + 1]
test esi, esi
je 0x415605
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x41560a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.0041c2f0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0059a5ad
add esp, 8
ret
Function at 0x41acb0
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, dword [0x682080]
cmp byte [edi + 0x2e91], 0
lea eax, [edi + 0x20]
jne 0x41adc0
mov ecx, dword [eax]
push ebx
push ebp
test ecx, ecx
je 0x41adb7
push esi
push 0x5cbed4
push ecx
call fcn.0040eac0
mov esi, eax
add esp, 8
test esi, esi
je 0x41adb3
push esi
call fcn.005a1c66
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x41adaa
push 2
push 0
push esi
call fcn.005a1607
add esp, 0xc
test eax, eax
jne 0x41adaa
push esi
call fcn.005a1c66
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x41adaa
push 0
push ebx
push esi
call fcn.005a1607
add esp, 0xc
test eax, eax
jne 0x41adaa
mov eax, dword [0x682080]
test eax, eax
je 0x41ad48
inc dword [eax + 0x370]
push dword [0x682088]
push ebp
call dword [0x668ce8]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x41adaa
push esi
push ebp
push 1
push ebx
call fcn.005a11e3
add esp, 0x10
push esi
cmp eax, ebp
je 0x41ad99
call fcn.005a0c77
add esp, 4
mov eax, dword [0x682080]
test eax, eax
je 0x41ad87
dec dword [eax + 0x370]
push dword [0x682088]
push ebx
call dword [0x668cec]
add esp, 8
jmp 0x41adb3
call fcn.005a0c77
push ebp
push ebx
call fcn.00410670
add esp, 0xc
jmp 0x41ad78
push esi
call fcn.005a0c77
add esp, 4
lea eax, [edi + 0x20]
pop esi
pop ebp
mov byte [edi + 0x2e91], 1
pop ebx
movss xmm0, dword [edi + 0x2e94]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x41ae0e
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2e94], xmm0
jb 0x41ae0e
mov eax, dword [eax]
test eax, eax
je 0x41adfd
push eax
call fcn.00418290
add esp, 4
mov dword [edi + 0x2e94], 0
pop edi
ret
mov byte [edi + 0x358], 1
mov dword [edi + 0x2e94], 0
pop edi
ret
Function at 0x41d660
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
push ebx
call fcn.00410c10
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
shl edx, 8
add edx, ecx
mov dword [esp + 0x10], eax
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x41d757
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x41d757
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
mov edx, dword [esp + 0x10]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x6820ac], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x6820a8], edx
shl ecx, 8
add ecx, edx
mov dword [0x6820b0], edx
add edi, ecx
push esi
mov dword [0x6820a4], edi
call fcn.00424000
add esp, 4
cmp eax, esi
je 0x41d757
nop word [eax + eax]
cmp dword [0x6820b0], edi
ja 0x41d757
push eax
mov esi, eax
call fcn.00424000
add esp, 4
cmp eax, esi
jne 0x41d740
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x41d7a1
push 0x78
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0059c4a0
mov eax, 0xffff
mov byte [esp + 0x2c], 1
add esp, 0xc
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 1
lea esi, [esp + 0x18]
mov dword [esp + 0x50], 0x7f7fffff
mov dword [esp + 0x5c], 0x3f800000
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x90]
movss xmm0, dword [ebp + 0x10]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1e
lea esi, [esp + 0x90]
lea edi, [esp + 0x108]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1e
mov byte [esp + 0x110], 1
lea esi, [esp + 0x108]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x18]
test eax, eax
mov dword [esp + 0x1c], ebx
cmovne ecx, eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.0041d170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14