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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebx], ecx
mov byte [ebp - 0x2c], 0
mov ecx, 0x628344
call fcn.004ed6b0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
push esi
lea ecx, [ebp - 0x28]
mov edx, 0x18
call fcn.004f4f20
call sub.KERNEL32.dll_CreateThread
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004f4f51
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov byte [ebp - 0x2c], 1
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], esi
mov ecx, eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10

Function at 0x476a10
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0045c0a0
mov ecx, dword [ebp - 0x14]
push dword [ecx + 4]
lea ecx, [ebp - 0x28]
mov edx, 4
call fcn.004f4f20
call sub.KERNEL32.dll_ResumeThread
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004f4f51
cmp byte [ebp - 0x10], 0
je 0x476a67
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0045c0e0
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x477450
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
lea edx, [eax + 8]
xor ecx, ecx
test eax, eax
cmove edx, ecx
mov eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
lea edx, [ebx + 8]
test ebx, ebx
cmove edx, ecx
mov ebx, edx
mov dword [ebp - 0x14], ebx
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp - 0x2c]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
movsx ecx, word [ebp + 0x14]
push ecx
push ebx
push dword [ebp + 0x1c]
movzx ecx, word [ebp + 0x20]
push ecx
movsx ecx, di
push ecx
push esi
lea ecx, [ebp - 0x28]
mov edx, 0x24
call fcn.004f4f20
call sub.ADVAPI32.dll_ReportEventW
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.004f4f51
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.004f2f69
mov dword [eax + 4], edi
test esi, esi
setne al
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
Function at 0x477500
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
xorps xmm4, xmm4
movups xmmword [ebp - 0x30], xmm4
movups xmmword [ebp - 0x20], xmm4
mov dword [ebp - 0x10], edx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x14]
cmp dword [ecx], ecx
call fcn.0045c0a0
mov edi, dword [ebp + 8]
lea ecx, [edi + 8]
xor edx, edx
test edi, edi
cmove ecx, edx
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 0xc]
lea edx, [edi + 8]
xor eax, eax
test edi, edi
cmove edx, eax
mov dword [ebp - 0x20], edx
mov edi, dword [ebp + 0x10]
lea eax, [edi + 8]
xor edi, edi
cmp dword [ebp + 0x10], 0
cmove eax, edi
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 0x14]
add edi, 8
xor ebx, ebx
cmp dword [ebp + 0x14], 0
cmove edi, ebx
mov dword [ebp - 0x28], edi
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x48], esi
mov esi, dword [ebp - 0x18]
push ecx
push edx
push eax
push edi
push ebx
push dword [ebp - 0x48]
push dword [ebp - 0x10]
push dword [esi + 4]
lea ecx, [ebp - 0x44]
mov edx, 0x20
call fcn.004f4f20
call sub.ADVAPI32.dll_RegEnumKeyExW
mov esi, eax
lea ecx, [ebp - 0x44]
call fcn.004f4f51
xor ecx, ecx
mov dword [ebp - 0x30], ecx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp byte [ebp - 0x14], 0
je 0x4775dc
mov ecx, dword [ebp - 0x18]
cmp byte [ecx], cl
xor edx, edx
call fcn.0045c0e0
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x18

Function at 0x477730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov esi, edx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0045c0a0
test esi, esi
jne 0x477760
xor ecx, ecx
jmp 0x477763
lea ecx, [esi + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push ecx
push dword [edx + 4]
lea ecx, [ebp - 0x2c]
mov edx, 0x18
call fcn.004f4f20
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.004f4f51
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp byte [ebp - 0x10], 0
je 0x4777ac
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0045c0e0
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
Function at 0x479ac0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
mov ebx, edx
shl ebx, 9
mov dword [ebp - 0x10], ebx
xor esi, eax
xor edi, edx
lea ebx, [edx + edx*4]
rol ebx, 7
lea ebx, [ebx + ebx*8]
xor edx, esi
xor eax, edi
xor esi, dword [ebp - 0x10]
rol edi, 0xb
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], edi
mov eax, ebx
shr eax, 1
cmp eax, 0x7fffffff
je 0x479ac7
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4a0220
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp edx, 0xffffffff
je 0x4a024d
mov ecx, edx
call fcn.004a0160
mov edx, eax
mov ecx, 0x62322c
push ecx
mov ecx, 0x61a2f4
call fcn.00411da0
mov ecx, eax
call fcn.004a0100
jmp 0x4a0252
mov eax, 0xd5313557
mov edx, eax
rol edx, 0xd
add edx, eax
mov eax, edx
xor eax, esi
mov edx, eax
rol edx, 0xf
add eax, edx
pop esi
pop ebp
ret

Function at 0x4a8a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], edx
mov ecx, 0x62efb0
call fcn.004f3f00
mov edi, eax
mov byte [edi + 0x38], 1
mov dword [edi + 0x2c], 0xffffffff
mov dword [edi + 0x30], 0xffffffff
mov byte [edi + 0x39], 1
mov eax, 0x600780
mov dword [ebp - 0x2c], eax
mov ecx, eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, edx
add ebx, 1
mov esi, ecx
adc esi, 0
push esi
push ebx
mov dword [ebp - 0x1c], ecx
push ecx
mov dword [ebp - 0x18], edx
push edx
mov ecx, eax
call fcn.004f6410
mov esi, dword [ebp - 0x18]
xor eax, esi
mov ebx, dword [ebp - 0x1c]
xor edx, ebx
or edx, eax
mov eax, dword [ebp - 0x2c]
jne 0x4a8a39
mov ecx, ebx
mov edx, esi
add edx, 1
adc ecx, 0
lea eax, [edi + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov esi, dword [ebp - 0x28]
lea edx, [esi + 4]
call fcn.004f421e
mov ecx, 0x6396d8
call fcn.004f3f00
mov edi, eax
movzx ecx, byte [ebp - 0x10]
movzx eax, byte [ebp + 8]
mov dword [ebp - 0x14], eax
mov edx, eax
mov esi, 4
mov ebx, 2
test eax, eax
cmovne ebx, esi
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
mov ecx, 0x63955c
call fcn.004f3f00
mov esi, eax
mov byte [esi + 8], bl
mov ecx, 0x64b21c
call fcn.004f3f00
mov ebx, eax
mov ecx, ebx
mov edx, 5
call fcn.004cc0a0
lea edx, [esi + 4]
call fcn.004f41d4
lea edx, [edi + 4]
call fcn.004f41f9
mov byte [edi + 9], 1
mov ecx, 0x639a6c
call fcn.004f3f00
mov esi, eax
push dword [ebp - 0x14]
push 0
push 0
push 0
push 0
push edi
movzx edx, byte [ebp - 0x10]
mov ecx, esi
call fcn.004aa420
mov edi, dword [ebp - 0x28]
lea edx, [edi + 8]
call fcn.004f41f9
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x4a8b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov ecx, 0x62efb0
call fcn.004f3f00
mov ebx, eax
mov byte [ebx + 0x38], 1
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 0x30], 0xffffffff
mov byte [ebx + 0x39], 1
mov eax, 0x600780
mov dword [ebp - 0x28], eax
mov ecx, eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edi, edx
add edi, 1
mov esi, ecx
adc esi, 0
push esi
push edi
mov dword [ebp - 0x14], ecx
push ecx
mov dword [ebp - 0x10], edx
push edx
mov ecx, eax
call fcn.004f6410
mov esi, dword [ebp - 0x10]
xor eax, esi
mov edi, dword [ebp - 0x14]
xor edx, edi
or edx, eax
mov eax, dword [ebp - 0x28]
jne 0x4a8b79
mov ecx, edi
mov edx, esi
add edx, 1
adc ecx, 0
lea eax, [ebx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov esi, dword [ebp - 0x20]
lea edx, [esi + 4]
call fcn.004f41d4
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x4a8be0
lea edx, [esi + 8]
call fcn.004f421e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, 0x625bd0
call fcn.00418970
int3

Function at 0x4d8ae0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [edx + 4]
test eax, eax
jle 0x4d8b10
add edx, 8
nop
mov esi, edx
mov esi, dword [esi]
test esi, esi
je 0x4d8afd
mov esi, dword [esi + 0x10]
jmp 0x4d8aff
xor esi, esi
mov edi, ecx
rol edi, 0xd
add edi, ecx
mov ecx, edi
xor ecx, esi
add edx, 4
dec eax
jne 0x4d8af0
mov eax, ecx
rol eax, 0xf
add eax, ecx
pop esi
pop edi
pop ebp
ret

Function at 0x4d8b20
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, dword [edx + 4]
test eax, eax
jle 0x4d8b50
add edx, 8
nop
mov esi, edx
mov esi, dword [esi]
test esi, esi
je 0x4d8b3d
mov esi, dword [esi + 0x10]
jmp 0x4d8b3f
xor esi, esi
mov edi, ecx
rol edi, 0xd
add edi, ecx
mov ecx, edi
xor ecx, esi
add edx, 4
dec eax
jne 0x4d8b30
mov eax, ecx
rol eax, 0xf
add eax, ecx
pop esi
pop edi
pop ebp
ret

Function at 0x4e5860
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
mov edi, edx
mov ebx, 0x628c94
cmp dword [ebx - 4], 0
jne 0x4e58c4
mov eax, dword [ebx]
imul edx, esi, 0xc2b2ae3d
lea eax, [eax + edx + 0x165667b9]
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul edx, edi, 0xc2b2ae3d
add eax, edx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
mov edx, eax
shr edx, 0xf
xor edx, eax
imul eax, edx, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004f251f
jmp 0x4e5875
Function at 0x4e58d0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
mov edi, edx
mov ebx, 0x628c94
cmp dword [ebx - 4], 0
jne 0x4e5948
mov eax, dword [ebx]
imul edx, esi, 0xc2b2ae3d
lea eax, [eax + edx + 0x165667bd]
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul edx, edi, 0xc2b2ae3d
add eax, edx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
imul edx, dword [ebp + 8], 0xc2b2ae3d
add eax, edx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
mov edx, eax
shr edx, 0xf
xor edx, eax
imul eax, edx, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 4
call fcn.004f251f
jmp 0x4e58e5

Function at 0x4e5950
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
mov edi, edx
mov ebx, 0x628c94
cmp dword [ebx - 4], 0
jne 0x4e59fb
mov eax, dword [ebx]
imul edx, esi, 0x85ebca77
lea edx, [eax + edx + 0x24234428]
rol edx, 0xd
imul edx, edx, 0x9e3779b1
rol edx, 1
imul ecx, edi, 0x85ebca77
lea ecx, [eax + ecx - 0x7a143589]
rol ecx, 0xd
imul ecx, ecx, 0x9e3779b1
rol ecx, 7
add edx, ecx
imul ecx, dword [ebp + 0xc], 0x85ebca77
add ecx, eax
rol ecx, 0xd
imul ecx, ecx, 0x9e3779b1
rol ecx, 0xc
add edx, ecx
imul ecx, dword [ebp + 8], 0x85ebca77
lea eax, [eax + ecx + 0x61c8864f]
rol eax, 0xd
imul eax, eax, 0x9e3779b1
rol eax, 0x12
lea eax, [edx + eax + 0x10]
mov edx, eax
shr edx, 0xf
xor edx, eax
imul eax, edx, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 8
call fcn.004f251f
jmp 0x4e5969

Function at 0x4eefc0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
mov edi, dword [edx + 4]
test edi, edi
jle 0x4eefea
lea ebx, [edx + 8]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edx, esi
rol edx, 0xd
add edx, esi
mov esi, eax
xor esi, edx
add ebx, 4
dec edi
jne 0x4eefd2
mov eax, esi
rol eax, 0xf
add eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4

Function at 0x4ef000
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, ecx
mov edi, dword [edx + 4]
test edi, edi
jle 0x4ef02a
lea ebx, [edx + 8]
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov edx, esi
rol edx, 0xd
add edx, esi
mov esi, eax
xor esi, edx
add ebx, 4
dec edi
jne 0x4ef012
mov eax, esi
rol eax, 0xf
add eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x4f9d10
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x600600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x4f9dad
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x40010003
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x4f9da6
mov eax, dword [ebp - 0x2d0]
push ebx
mov bl, 1
test eax, eax
js 0x4f9d77
push dword [ebp - 0x218]
mov ecx, edi
call fcn.004f5540
test al, al
jne 0x4f9da5
mov eax, dword [ebp - 0x2d0]
test eax, 0x18000000
setne cl
bt eax, 0x1f
setb al
test al, cl
mov ecx, 0
movzx eax, bl
cmove ecx, eax
test cl, cl
je 0x4f9da5
push edi
lea eax, [ebp - 0x2d0]
push eax
call dword [0x60362c]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005278ad
mov esp, ebp
pop ebp
ret 8

Function at 0x4f9fd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x4f9ff1
xor al, al
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebp
ret 8

Function at 0x4fa000
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
push 4
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x4fa025
xor al, al
pop esi
pop ebp
ret 8
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebp
ret 8
Function at 0x4fb850
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x600600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xa8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0x40
push ecx
push eax
mov dword [ebp - 0xbc], edi
call fcn.004fb590
push 0x11
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov dword [ebp - 0xb8], eax
test eax, eax
je 0x4fb9ab
cmp eax, 0x11
jae 0x4fb9ab
xorps xmm0, xmm0
xor ebx, ebx
movlpd qword [ebp - 0xb0], xmm0
mov esi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xb0]
test eax, eax
je 0x4fb991
nop dword [eax + eax]
cmp byte [ebp + 0x10], 0
movzx edi, word [ebp + ebx*2 - 0x28]
lea eax, [edi - 0x30]
movzx eax, ax
je 0x4fb90b
cmp eax, 9
ja 0x4fb9ab
mov eax, ecx
mov edx, esi
shld edx, eax, 2
shl eax, 2
add ecx, eax
mov eax, edi
adc esi, edx
cdq
shld esi, ecx, 1
add ecx, ecx
add ecx, eax
adc esi, edx
add ecx, 0xffffffd0
jmp 0x4fb97b
shld esi, ecx, 4
shl ecx, 4
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xac], esi
cmp eax, 9
ja 0x4fb93b
mov eax, edi
cdq
mov ecx, eax
mov esi, edx
add ecx, dword [ebp - 0xb4]
adc esi, dword [ebp - 0xac]
add ecx, 0xffffffd0
jmp 0x4fb97b
lea eax, [edi - 0x61]
cmp ax, 5
ja 0x4fb95c
mov eax, edi
cdq
mov ecx, eax
mov esi, edx
add ecx, dword [ebp - 0xb4]
adc esi, dword [ebp - 0xac]
add ecx, 0xffffffa9
jmp 0x4fb97b
lea eax, [edi - 0x41]
cmp ax, 5
ja 0x4fb9ab
mov eax, edi
cdq
mov ecx, eax
mov esi, edx
add ecx, dword [ebp - 0xb4]
adc esi, dword [ebp - 0xac]
add ecx, 0xffffffc9
adc esi, 0xffffffff
inc ebx
cmp ebx, dword [ebp - 0xb8]
jb 0x4fb8d0
mov edi, dword [ebp - 0xbc]
mov dword [edi + 4], esi
mov al, 1
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005278ad
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005278ad
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4fba40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 0x14]
add edx, 0x14
cmp dword [eax + 0x10], ecx
je 0x4fba76
test ecx, ecx
je 0x4fba76
mov eax, dword [eax]
cmp eax, edx
jne 0x4fba58
mov eax, dword [ebp + 8]
mov dword [eax], 0
xor eax, eax
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov dword [ecx], edx
movzx eax, word [eax + 0x1c]
shr eax, 1
pop ebp
ret 8
Function at 0x4fd9e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
cmp ebx, 0x3e8
jbe 0x4fda0c
mov eax, 0x10624dd3
mul ebx
push 0
shr edx, 6
push edx
call dword [sym.imp.KERNEL32.dll_SleepEx]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push ebx
call fcn.00527f90
push 0
push 0xf4240
push edx
push eax
call fcn.005278c0
add eax, dword [ebp - 0x14]
mov esi, 1
mov ebx, eax
adc edx, dword [ebp - 0x10]
xor edi, edi
mov dword [ebp - 8], edx
test esi, esi
jle 0x4fda5d
mov eax, esi
pause
sub eax, 1
jne 0x4fda56
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jg 0x4fda7e
jl 0x4fda76
cmp dword [ebp - 0x14], ebx
ja 0x4fda7e
inc edi
rol esi, 1
cmp edi, 0x1e
jl 0x4fda50
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
pop edi
pop esi
test eax, eax
je 0x4fda8c
add dword [eax], ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x527d35
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x527d6a
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x527d67
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x527d73
add edx, 0x28
cmp edx, esi
jne 0x527d55
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x527d70

Function at 0x52871b
Capabilities:
Parse pe header

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

Function at 0x52ae70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x52ae9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x52ae9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4010d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
xor ecx, ecx
push ebx
mov esi, eax
sub esp, 0x2c
mov dword [ebp - 0x1c], edx
mov edx, 0x1c
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
je 0x4011a0
test edx, 0x2000000
mov ebx, eax
jne 0x401190
mov dword [ebx + 4], edx
mov eax, 0x41abc8
mov dword [ebx], 2
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x10], 0
mov dword [esp + 4], eax
lea eax, [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.ntdll.dll_RtlMapGenericMask]
sub esp, 8
mov dword [esp], esi
call fcn.00407a40
lea edx, [esi + 0x80]
mov dword [ebx + 0x14], esi
lea eax, [ebx + 8]
mov dword [ebx + 8], edx
mov edx, dword [esi + 0x84]
mov dword [ebx + 0xc], edx
mov dword [edx], eax
mov dword [esi + 0x84], eax
mov dword [esp], esi
call fcn.00407a60
xor eax, eax
mov dword [edi], ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
or edx, 0xf01ff
jmp 0x40111c
mov dword [esp], esi
call fcn.00406e20
mov eax, 0x46a
jmp 0x40117f

Function at 0x4011b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x10
mov eax, dword [eax + 0x40]
cmp eax, dword [edx + 0x40]
je 0x4011e7
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [esi + 0x44]
cmp eax, dword [ebx + 0x44]
je 0x401212
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [esi + 0x50]
cmp eax, dword [ebx + 0x50]
je 0x40123d
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [esi + 0x54]
cmp eax, dword [ebx + 0x54]
je 0x401268
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [esi + 0x60]
cmp eax, dword [ebx + 0x60]
je 0x401293
mov dword [esp + 8], eax
xor ecx, ecx
mov dword [esp + 4], ecx
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
mov eax, dword [esi + 0x64]
cmp eax, dword [ebx + 0x64]
je 0x4012be
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret