joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10042019
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x10071b11
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1007198e

Function at 0x100722c2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
mov edx, dword [ebp + 0xc]
push ebx
sar ecx, 6
push esi
push edi
imul edi, eax, 0x30
mov eax, dword [ecx*4 + 0x100b7730]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10072303
cmp byte [edx], 0xa
jne 0x10072303
or byte [eax + edi + 0x28], 4
jmp 0x10072308
and byte [eax + edi + 0x28], 0xfb
lea eax, [edx + ecx]
mov ebx, edx
mov dword [ebp - 8], eax
mov esi, edx
cmp edx, eax
jae 0x100723f9
mov al, byte [ebx]
cmp al, 0x1a
je 0x100723da
cmp al, 0xd
je 0x10072331
mov byte [esi], al
inc esi
inc ebx
jmp 0x100723cf
lea eax, [ebx + 1]
cmp eax, dword [ebp - 8]
jae 0x10072351
cmp byte [eax], 0xa
jne 0x10072346
push 2
mov byte [esi], 0xa
pop eax
jmp 0x1007234c
xor eax, eax
mov byte [esi], 0xd
inc eax
add ebx, eax
inc esi
jmp 0x100723cf
push 0
mov ebx, eax
lea eax, [ebp - 0x14]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100723c8
cmp dword [ebp - 0x14], 0
je 0x100723c8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100b7730]
test byte [eax + edi + 0x28], 0x48
je 0x1007239f
mov dl, byte [ebp - 1]
cmp dl, 0xa
jne 0x1007238f
mov byte [esi], dl
jmp 0x100723cb
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100b7730]
mov byte [eax + edi + 0x2a], dl
jmp 0x100723cb
cmp byte [ebp - 1], 0xa
jne 0x100723b1
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x100723b1
mov byte [esi], 0xa
jmp 0x1007234e
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10072dc3
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100723cc
mov byte [esi], 0xd
inc esi
mov edx, dword [ebp + 0xc]
cmp ebx, dword [ebp - 8]
jb 0x1007231a
jmp 0x100723f9
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100b7730]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100723f4
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100723f9
mov cl, byte [ebx]
mov byte [esi], cl
inc esi
sub esi, edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10072404
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
and eax, 0x3f
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
sar ecx, 6
imul edi, eax, 0x30
mov dword [ebp - 8], ecx
push 0xa
mov eax, dword [ecx*4 + 0x100b7730]
pop ebx
mov edx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0xc]
test esi, esi
je 0x10072448
cmp word [edx], bx
jne 0x10072448
or byte [edi + eax + 0x28], 4
jmp 0x1007244d
and byte [edi + eax + 0x28], 0xfb
lea eax, [edx + esi*2]
mov ebx, edx
mov dword [ebp - 0xc], eax
mov esi, edx
cmp edx, eax
jae 0x100725a1
mov dword [ebp - 0x10], 0xd
movzx eax, word [ebx]
cmp eax, 0x1a
je 0x10072581
cmp ax, word [ebp - 0x10]
je 0x10072486
mov word [esi], ax
add esi, 2
add ebx, 2
jmp 0x10072576
lea eax, [ebx + 2]
cmp eax, dword [ebp - 0xc]
jae 0x100724ac
push 0xa
pop ecx
cmp word [eax], cx
jne 0x1007249c
push ecx
pop eax
push 4
jmp 0x100724a1
push 0xd
pop eax
push 2
mov word [esi], ax
pop eax
add ebx, eax
jmp 0x10072570
push 0
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10072567
cmp dword [ebp - 0x18], 0
je 0x10072567
mov ecx, dword [ebp - 8]
push 0xa
mov eax, dword [ecx*4 + 0x100b7730]
test byte [edi + eax + 0x28], 0x48
pop eax
je 0x10072533
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x100724f7
mov word [esi], ax
jmp 0x1007252b
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ecx*4 + 0x100b7730]
mov word [ebp - 0x20], dx
push 0xa
mov byte [edi + eax + 0x2a], dl
mov ecx, dword [ecx*4 + 0x100b7730]
mov al, byte [ebp - 0x1f]
pop edx
mov byte [edi + ecx + 0x2b], al
mov ecx, dword [ebp - 8]
mov eax, dword [ecx*4 + 0x100b7730]
mov byte [edi + eax + 0x2c], dl
mov edx, dword [ebp + 0xc]
add esi, 2
jmp 0x10072576
cmp word [ebp - 4], ax
jne 0x10072548
mov edx, dword [ebp + 0xc]
cmp esi, edx
jne 0x10072548
mov word [esi], ax
add esi, 2
jmp 0x10072576
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10072dc3
mov edx, dword [ebp + 0xc]
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10072573
jmp 0x1007256a
mov edx, dword [ebp + 0xc]
push 0xd
pop eax
mov word [esi], ax
add esi, 2
mov ecx, dword [ebp - 8]
cmp ebx, dword [ebp - 0xc]
jb 0x10072466
jmp 0x100725a1
mov ecx, dword [ecx*4 + 0x100b7730]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x10072598
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x100725a1
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
sub esi, edx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402b3f
Capabilities:
Terminate process

Disassembly:
jmp 0x4501e8
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4501f9
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.004016b3
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40397c
Capabilities:
Parse pe header

Disassembly:
jmp 0x441568
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4415a8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4415a8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4415a8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4415a8
cmp dword [ecx + 0x74], 0xe
jbe 0x4415a8
cmp dword [ecx + 0xe8], 0
je 0x4415a8
mov al, 1
ret
xor al, al
ret

Function at 0x4047c8
Capabilities:
Query environment variable

Disassembly:
jmp 0x48d04f
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x48d063
xor edi, edi
jmp 0x48d09a
push ebx
push esi
call fcn.0048cf57
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403139
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x48d08a
push ebx
push esi
push edi
call fcn.00404926
add esp, 0xc
push 0
call fcn.004017f3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x10003f90
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 0x10003fdc
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10003fbf
cmp edi, 2
jb 0x10003fbf
cmp byte [esi], cl
jne 0x10003fbf
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 + 0x1006d0f0]
test edi, edi
jne 0x10003fa5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1000400b
cmp cl, 0x23
jne 0x10003ff2
cmp byte [esi], cl
jne 0x10003ff2
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 + 0x1006d0f0]
test cl, cl
jne 0x10003fe3
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10004100
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 0x10004113
mov dword [edi], 0
mov edx, 0x1006c478
call fcn.10004020
mov esi, eax
test esi, esi
je 0x100041cb
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x100041c1
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100041c1
push esi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x100041c1
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x100041c1
mov ecx, ebx
call fcn.10008050
mov dword [ebp + 8], eax
test eax, eax
je 0x100041c1
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, ebx
je 0x100041aa
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp + 8]
add esp, 4
call fcn.100080f0
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x100041b9
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x10007580
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a7010]
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 + 0x1006d0f0]
sub esi, 1
jne 0x100075c0
mov eax, dword [edi]
not ebx
cmp dword [eax + 0x40a0], ebx
jne 0x100075f7
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.100272d0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10068185
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100a7010]
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 + 0x1006d0f0]
sub edi, 1
jne 0x10007690
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.10068185
mov esp, ebp
pop ebp
ret 4
Function at 0x1001b6f0
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 0x1001b75c
push 0
call fcn.10027ae0
push dword [ebp + 8]
lea ecx, [esi + 0x5fac]
push ebx
call fcn.10004950
mov edx, dword [esi + 0x5fac]
mov ecx, 0x100a79ac
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 dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
push ebx
call fcn.10004950
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001ba40
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 [0x100a79b0]
test bl, bl
je 0x1001ba86
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001ba67
cmp byte [esi], bl
jne 0x1001ba67
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 + 0x1006d0f0]
test bl, bl
jne 0x1001ba58
mov edi, dword [0x100a79b0]
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 0x1001baad
cmp dword [edx + 4], eax
je 0x1001bab0
add edx, 0x24
cmp edx, ecx
jne 0x1001baa1
xor eax, eax
ret
mov eax, edx
ret

Function at 0x1001bca0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x100a79b0]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x5f30], 0
push edi
test esi, esi
je 0x1001bcfd
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.1001bd10
mov edx, 0x1006c47c
mov ecx, esi
mov edi, eax
call fcn.10004020
mov esi, eax
test esi, esi
je 0x1001bcfd
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10030100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10030123
mov dword [esi + 4], 0
mov dword [esi], 0
call fcn.100080f0
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10030144
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
call fcn.100080f0
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10030165
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
call fcn.100080f0
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 0x100301a2
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
call fcn.100080f0
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x100301c3
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
call fcn.100080f0
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x100301e4
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
call fcn.100080f0
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10032460
Function at 0x10032e40
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 0x10032ee2
push dword [0x100a79a8]
lea edi, [ebx + 0x3c]
push 0x60
call fcn.10003570
mov esi, dword [0x100a79b0]
add esp, 8
mov ecx, eax
test esi, esi
je 0x10032ec7
movsx edx, word [esi + 0x6058]
lea eax, [esi + 0x605c]
mov edi, dword [esi + 0x3fe0]
lea eax, [eax + edx*8]
cmp dword [eax], edi
je 0x10032eba
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 0x10032ed2
call fcn.10034e80
jmp 0x10032ed4
xor eax, eax
mov dword [ebp - 8], eax
mov ecx, edi
lea eax, [ebp - 8]
push eax
call fcn.10027b50
mov ecx, dword [ebx + 0x54]
mov edi, dword [ebx + 0x58]
cmp ecx, edi
jne 0x10032f3d
lea esi, [ecx + 1]
test edi, edi
je 0x10032efe
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x10032f03
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, edi
jle 0x10032f3d
imul ecx, esi, 0x7c
call fcn.10008050
mov edi, eax
mov eax, dword [ebx + 0x5c]
test eax, eax
je 0x10032f34
imul ecx, dword [ebx + 0x54], 0x7c
push ecx
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [ebx + 0x5c]
add esp, 0xc
call fcn.100080f0
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 0x10032f6f
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 0x10032f9b
mov ecx, dword [edi - 0x78]
call fcn.10008050
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 sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [edi - 4]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0xffff
cmp word [ecx + 0x3c], ax
jne 0x10032fae
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 0x10032fe0
nop dword [eax + eax]
cmp byte [ecx + 0x3c], 0
mov edx, dword [ecx + 0x78]
jne 0x10032fd0
mov dword [edx + 0x34], ecx
xor eax, eax
jmp 0x10032fd4
movzx eax, word [edx + 0x38]
inc eax
add ecx, 0x7c
mov word [edx + 0x38], ax
cmp ecx, esi
jne 0x10032fc0
mov ecx, dword [ebx + 0x1c]
mov byte [ebx + 0x18], 0
test ecx, ecx
je 0x10032ff0
call fcn.100080f0
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x10032ffc
call fcn.100080f0
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 0x10034d40
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.10034a40
mov ecx, ebx
call fcn.10034b70
xor eax, eax
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x48], eax
jle 0x10034e4f
xor ecx, ecx
mov dword [esp + 0x14], ecx
nop
mov edi, dword [ebx + 0x50]
add edi, ecx
cmp dword [edi + 0x18], 0
je 0x10034e3a
cmp dword [edi + 8], 0
je 0x10034e3a
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.10035670
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 0x10034d70
mov esi, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x10034e74
nop dword [eax]
mov ecx, dword [esi]
cmp byte [ecx + 0x48], 0
je 0x10034e6d
call fcn.10035030
add esi, 4
cmp esi, edi
jne 0x10034e60
pop edi
pop esi
mov byte [ebx + 0x18], 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10052920
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100a7010]
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 0x10052a49
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10052a62
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x24], 1
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10052a05
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10052a05
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10052a05
mov edx, dword [esi]
test edx, edx
jne 0x100529d1
push 0x200
push edx
push dword [0x100a79bc]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10052a2a
jmp 0x100529f9
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100529f9
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x100a79bc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10052a2a
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 0x10052990
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x10052a5f
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x10052a62
push eax
push ebx
push dword [0x100a79bc]
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.10068185
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x10052a49
cmp dword [esi], 0
je 0x10052ab9
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10052ab9
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 0x10052ab3
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x28]
mov ecx, edi
call fcn.100527b0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10052a80
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10068185
mov esp, ebp
pop ebp
ret