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

Disassembly:
cmp ecx, dword [0x80a004]
jne 0x40100a
repz ret
jmp fcn.004015e1

Function at 0x40541b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x80a004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00403efa
and dword [ebp - 0x14], 0
cmp dword [0x80cd68], 0
mov dword [ebp - 0x18], eax
jne 0x4054ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405576
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405576
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x80cd68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x80cd6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x80cd70], eax
call edi
push eax
call esi
mov dword [0x80cd78], eax
test eax, eax
je 0x4054ce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x80cd74], eax
mov eax, dword [0x80cd74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405527
cmp dword [0x80cd78], ecx
je 0x405527
push eax
call esi
push dword [0x80cd78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405527
test ebx, ebx
je 0x405527
call edi
test eax, eax
je 0x40551e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40551e
test byte [ebp - 8], 1
jne 0x405527
or dword [ebp + 0x10], 0x200000
jmp 0x40555a
mov eax, dword [0x80cd6c]
cmp eax, dword [ebp - 0x18]
je 0x40555a
push eax
call esi
test eax, eax
je 0x40555a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40555a
mov eax, dword [0x80cd70]
cmp eax, dword [ebp - 0x18]
je 0x40555a
push eax
call esi
test eax, eax
je 0x40555a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x80cd68]
call esi
test eax, eax
je 0x405576
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405578
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x806490
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x804
mov eax, dword [0x80a004]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0xbfb930]
imul eax, eax, 0x343fd
cmp dword [0xbfdda4], 0x139e
mov dword [0xbfb930], eax
jne 0x8064d1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_PrepareTape]
mov eax, dword [0xbfb930]
add eax, 0x269ec3
push esi
mov dword [0xbfb930], eax
movzx esi, word [0xbfb932]
and esi, 0x7fff
cmp dword [0xbfdda4], 0x8e7
jne 0x806506
push 0
lea eax, [esp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [esp + 0x804]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret

Function at 0x806550
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x806564
call fcn.00806490
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x806557
pop esi
cmp ebx, 0x2d
jne 0x80657e
mov dword [0xbfddb0], 0xa62e7790
mov dword [0xbfddb4], 0xffffffff
ret

Function at 0x806580
Capabilities:
Create pipe

Disassembly:
mov eax, dword [0x80b1e8]
sub esp, 0x14
push ebx
mov ebx, dword [0xbfdda4]
push edi
mov edi, dword [0xbfb934]
call fcn.00806520
cmp dword [0xbfdda4], 0x2f
jne 0x8065da
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
call fcn.00806550
pop edi
pop ebx
add esp, 0x14
ret
Function at 0x8068f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.00409fb0
mov eax, dword [0x80a004]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
jmp 0x806919
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xbbe0f4a
jge 0x8069c1
cmp dword [0xbfdda4], 0xa5f
jne 0x806965
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [ebp - 0x818]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x1018]
push edx
push str.zayekezipusunagozisanuhima
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp dword [ebp - 4], 0x84620b
jne 0x80698a
mov eax, dword [0x80c008]
mov dword [0xbfdda4], eax
mov ecx, dword [0xbfdda4]
add ecx, 0xa231
mov dword [0xbfdda4], ecx
cmp dword [0xbfdda4], 0x141
jne 0x8069bc
push str.wucusipeyekexe_zelisapecuyozabozecaxufer_miweyumeriwosizupuyubahu_regorekuzet_begazixezibunodumekacefasuhato
lea edx, [ebp - 0x1818]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov dword [0x80d2a8], 0xec58acac
mov dword [0x80d2ac], 0xffffffff
jmp 0x806910
call fcn.008065f0
jmp dword [0xbfb934]
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10003db0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10003dfc
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10003ddf
cmp edi, 2
jb 0x10003ddf
cmp byte [esi], cl
jne 0x10003ddf
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1009a760]
test edi, edi
jne 0x10003dc5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10003e2b
cmp cl, 0x23
jne 0x10003e12
cmp byte [esi], cl
jne 0x10003e12
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 + 0x1009a760]
test cl, cl
jne 0x10003e03
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10003f10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10003f23
mov dword [edi], 0
mov edx, 0x10099aec
call fcn.10003e40
mov esi, eax
test esi, esi
je 0x10003fd5
push esi
call fcn.1006ab96
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x10003fcc
push 2
push 0
push esi
call fcn.1006b44d
add esp, 0xc
test eax, eax
jne 0x10003fcc
push esi
call fcn.1006ab96
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10003fcc
push 0
push dword [ebp + 8]
push esi
call fcn.1006b44d
add esp, 0xc
test eax, eax
jne 0x10003fcc
mov ecx, ebx
call fcn.10007e60
mov dword [ebp + 8], eax
test eax, eax
je 0x10003fcc
push esi
push ebx
push 1
push eax
call fcn.1006ddaa
add esp, 0x10
push esi
cmp eax, ebx
je 0x10003fb6
call fcn.1006b0f2
mov ecx, dword [ebp + 8]
add esp, 4
call fcn.10007f00
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.1006b0f2
add esp, 4
test edi, edi
je 0x10003fc4
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call fcn.1006b0f2
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10007390
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100d7010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov esi, 4
mov eax, dword [edi + 0x124]
mov ebx, dword [edi + 0x12c]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1009a760]
sub esi, 1
jne 0x100073d0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x40a0], ebx
jne 0x10007407
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.100270f0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10064b15
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100d7010]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0x140]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x144]
subss xmm0, xmm1
mov ecx, dword [edx + 0x124]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0x12c]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
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 + 0x1009a760]
sub edi, 1
jne 0x100074a0
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.10064b15
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b760
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100d7010]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [0x100d9260]
mov ebx, edx
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], ebx
mov edi, dword [esi + 0x4068]
mov ecx, edi
mov eax, dword [esi + 0x4a34]
or eax, 0x100
mov dword [esi + 0x4a70], 1
mov dword [esi + 0x4a34], eax
cmp dword [edi + 0x1d0], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
jne 0x1000b7c1
cmp dword [esi + 0x4e34], 0
mov eax, 0x268
je 0x1000b7c6
mov eax, 0x238
movss xmm1, dword [edi + eax]
movss xmm2, dword [edi + eax + 4]
mov eax, dword [ebp + 8]
subss xmm2, dword [ecx + 0x134]
subss xmm1, dword [ecx + 0x130]
lea ecx, [ebp - 0x24]
push dword [eax + 4]
push dword [eax]
call fcn.100154d0
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ebp - 0x20]
or eax, 2
mov dword [esi + 0x4a34], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x4a5c], ecx
mov ecx, dword [ebp - 0x10]
mov dword [esi + 0x4a58], eax
mov dword [esi + 0x4a3c], 1
mov eax, dword [edi + 4]
push ebx
test ecx, ecx
je 0x1000b83e
push ecx
push eax
push str._s__s__08X
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10003c80
add esp, 0x18
jmp 0x1000b852
push eax
push str._s__08X
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.10003c80
add esp, 0x14
movss xmm0, dword [esi + 0x3984]
xor edx, edx
mov ecx, dword [ebp - 0x14]
push 0x1080107
movss dword [ebp - 0x10], xmm0
call fcn.1000ee60
mov edi, dword [esi + 0x4068]
add esp, 4
movss xmm0, dword [ebp - 0x10]
movss dword [esi + 0x3984], xmm0
mov byte [ebp - 9], al
cmp word [edi + 0xf4], 1
mov dword [ebp - 0x10], edi
mov dword [edi + 0xb0], ebx
jne 0x1000b8af
mov eax, dword [ebp - 0x18]
mov ecx, dword [edi + 0x4c]
mov edx, dword [edi + 0x50]
mov dword [eax + 0x130], ecx
mov dword [eax + 0x134], edx
mov edi, ebx
mov edx, 0x10098ed9
not edi
mov al, 0x23
mov ebx, edi
nop dword [eax]
cmp al, 0x23
jne 0x1000b8ce
cmp byte [edx], al
jne 0x1000b8ce
cmp byte [edx + 1], al
cmove ebx, edi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x1009a760]
test al, al
jne 0x1000b8c0
mov edi, dword [ebp - 0x10]
not ebx
cmp dword [esi + 0x40b8], ebx
jne 0x1000b8fd
xor edx, edx
xor ecx, ecx
call fcn.10007750
mov eax, dword [ebp - 0x1c]
cmp dword [esi + 0x4ba8], eax
jne 0x1000b942
cmp word [edi + 0x18c], 0
jne 0x1000b91b
cmp byte [edi + 0x192], 0
je 0x1000b942
xor edx, edx
mov ecx, edi
call fcn.10012070
xor dl, dl
mov ecx, edi
call fcn.10017eb0
mov edx, edi
mov ecx, ebx
call fcn.10007750
mov eax, dword [esi + 0x4bd4]
mov dword [esi + 0x40dc], eax
mov ecx, dword [ebp - 8]
mov al, byte [ebp - 9]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10064b15
mov esp, ebp
pop ebp
ret
Function at 0x1001b500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
cmp dword [esi + 0x5fa8], 0
lea ecx, [esi + 0x5fac]
je 0x1001b56b
push 0
call fcn.10027900
push dword [ebp + 8]
lea ecx, [esi + 0x5fac]
push ebx
call fcn.10004750
mov edx, dword [esi + 0x5fac]
mov ecx, 0x100d925c
push dword [esi + 0x5fa8]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x5fb4]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.1006d9b7
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
push ebx
call fcn.10004750
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001b850
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x100d9260]
test bl, bl
je 0x1001b896
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001b877
cmp byte [esi], bl
jne 0x1001b877
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x1009a760]
test bl, bl
jne 0x1001b868
mov edi, dword [0x100d9260]
mov ecx, dword [edi + 0x5f40]
not eax
mov edx, dword [edi + 0x5f48]
pop edi
pop esi
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
pop ebx
cmp edx, ecx
je 0x1001b8bd
cmp dword [edx + 4], eax
je 0x1001b8c0
add edx, 0x24
cmp edx, ecx
jne 0x1001b8b1
xor eax, eax
ret
mov eax, edx
ret

Function at 0x1001bab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x100d9260]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x5f30], 0
push edi
test esi, esi
je 0x1001bb0b
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1001bb20
mov edx, 0x10099af0
mov ecx, esi
mov edi, eax
call fcn.10003e40
mov esi, eax
test esi, esi
je 0x1001bb0b
push esi
push dword [esp + 0x10]
push 1
push edi
call fcn.1006d9b7
push esi
call fcn.1006b0f2
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002ff20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002ff43
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.10007f00
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1002ff64
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.10007f00
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1002ff85
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.10007f00
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1002ffc2
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.10007f00
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1002ffe3
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.10007f00
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10030004
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.10007f00
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10032280
Function at 0x10032c60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
push edi
cmp byte [ecx + 0x3c], 0
jne 0x10032d02
push dword [0x100d9258]
lea edi, [ebx + 0x3c]
push 0x60
call fcn.100033b0
mov esi, dword [0x100d9260]
add esp, 8
mov ecx, eax
test esi, esi
je 0x10032ce7
movsx edx, word [esi + 0x6058]
lea eax, [esi + 0x605c]
mov edi, dword [esi + 0x3fe0]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x10032cda
lea eax, [edx + 1]
mov dword [ebp - 8], 6
cdq
idiv dword [ebp - 8]
movzx eax, dx
mov word [esi + 0x6058], ax
cwde
lea eax, [eax*8 + 0x605c]
add eax, esi
xor edx, edx
mov dword [eax], edi
mov dword [eax + 4], edx
inc word [eax + 4]
lea edi, [ebx + 0x3c]
inc dword [esi + 0x6050]
test ecx, ecx
je 0x10032cf2
call fcn.10034ca0
jmp 0x10032cf4
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, edi
lea eax, [ebp - 8]
push eax
call fcn.10027970
mov ecx, dword [ebx + 0x54]
mov edi, dword [ebx + 0x58]
cmp ecx, edi
jne 0x10032d5d
lea esi, [ecx + 1]
test edi, edi
je 0x10032d1e
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10032d23
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, edi
jle 0x10032d5d
imul ecx, esi, 0x7c
call fcn.10007e60
mov edi, eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x10032d54
imul ecx, dword [ebx + 0x54], 0x7c
push ecx
push eax
push edi
call fcn.10067c30
mov ecx, dword [ebx + 0x5c]
add esp, 0xc
call fcn.10007f00
mov ecx, dword [ebx + 0x54]
mov dword [ebx + 0x5c], edi
mov dword [ebx + 0x58], esi
mov edi, dword [ebx + 0x5c]
mov edx, dword [ebp + 8]
mov esi, edx
imul eax, ecx, 0x7c
mov ecx, 0x1f
add edi, eax
rep movsd dword es:[edi], dword [esi]
inc dword [ebx + 0x54]
imul edi, dword [ebx + 0x54], 0x7c
add edi, dword [ebx + 0x5c]
mov ecx, dword [edi - 4]
test ecx, ecx
jne 0x10032d8f
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x44]
mov ecx, dword [eax + ecx*4 - 4]
mov dword [edi - 4], ecx
cmp byte [edi - 0x74], 0
jne 0x10032dbb
mov ecx, dword [edi - 0x78]
call fcn.10007e60
mov ecx, dword [ebp + 8]
push dword [edi - 0x78]
mov dword [edi - 0x7c], eax
mov byte [edi - 0x74], 1
push dword [ecx]
push eax
call fcn.10067c30
mov ecx, dword [edi - 4]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x10032dce
mov ax, word [edx + 0x4c]
mov word [ecx + 0x3c], ax
imul esi, dword [ebx + 0x54], 0x7c
mov ecx, dword [ebx + 0x5c]
add esi, ecx
cmp ecx, esi
je 0x10032e00
nop dword [eax + eax]
cmp byte [ecx + 0x3c], 0
mov edx, dword [ecx + 0x78]
jne 0x10032df0
mov dword [edx + 0x34], ecx
xor eax, eax
jmp 0x10032df4
movzx eax, word [edx + 0x38]
inc eax
add ecx, 0x7c
mov word [edx + 0x38], ax
cmp ecx, esi
jne 0x10032de0
mov ecx, dword [ebx + 0x1c]
mov byte [ebx + 0x18], 0
test ecx, ecx
je 0x10032e10
call fcn.10007f00
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x10032e1c
call fcn.10007f00
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov byte [ebx + 0x19], 0
mov eax, dword [edi - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10034b60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, ecx
call fcn.10034860
mov ecx, ebx
call fcn.10034990
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x48], eax
jle 0x10034c6f
xor ecx, ecx
mov dword [esp + 0x14], ecx
nop
mov edi, dword [ebx + 0x50]
add edi, ecx
cmp dword [edi + 0x18], 0
je 0x10034c5a
cmp dword [edi + 8], 0
je 0x10034c5a
movzx eax, word [edi + 4]
sub esp, 0x20
movzx esi, word [edi]
movzx ecx, word [edi + 6]
movzx edx, word [edi + 2]
movss xmm0, dword [edi + 0xc]
movss xmm4, dword [edi + 0x14]
movss dword [esp + 0x1c], xmm0
movd xmm6, eax
add eax, esi
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
movd xmm2, eax
lea eax, [edx + ecx]
mulss xmm3, dword [ebx + 0x30]
mov ecx, dword [edi + 0x18]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [ebx + 0x30]
mulss xmm2, dword [ebx + 0x2c]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x18], xmm1
addss xmm0, xmm4
mulss xmm6, dword [ebx + 0x2c]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [edi + 0x10]
movss dword [esp + 0xc], xmm6
movss dword [esp + 8], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x10]
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
push dword [edi + 8]
push 0
call fcn.10035490
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
inc eax
add ecx, 0x1c
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
cmp eax, dword [ebx + 0x48]
jl 0x10034b90
mov esi, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x10034c94
nop dword [eax]
mov ecx, dword [esi]
cmp byte [ecx + 0x48], 0
je 0x10034c8d
call fcn.10034e50
add esi, 4
cmp esi, edi
jne 0x10034c80
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004fbb0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100d7010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x28], edx
push edi
xor ebx, ebx
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1004fcd9
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1004fcf2
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x24], 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x1004fc95
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1004fc95
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1004fc95
mov edx, dword [esi]
test edx, edx
jne 0x1004fc61
push 0x200
push edx
push dword [0x100d926c]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1004fcba
jmp 0x1004fc89
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1004fc89
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x100d926c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1004fcba
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1004fc20
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1004fcef
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1004fcf2
push eax
push ebx
push dword [0x100d926c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 9
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10064b15
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1004fcd9
cmp dword [esi], 0
je 0x1004fd49
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1004fd49
nop dword [eax]
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1004fd43
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov ecx, edi
call fcn.1004fa40
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x1004fd10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10064b15
mov esp, ebp
pop ebp
ret