joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e16d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [esp + 8], ecx
cmp byte [0xb532ac], 0
jne 0x6e184d
mov eax, dword [esp + 0x20]
cmp eax, 0x10000000
ja 0x6e184d
test byte [0xb53271], 1
jne 0x6e184d
dec eax
or eax, 1
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov esi, 1
shl esi, cl
mov edi, dword [esp + 8]
lea eax, [edi + 0xc]
mov ebx, dword [edi + 4]
mov edx, 2
shl edx, cl
mov ecx, eax
push ebx
push edx
call fcn.006dfb50
lea eax, [esi - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov eax, dword [edi + 4]
mov eax, dword [eax]
cmp eax, ebx
je 0x6e1843
mov dword [esp], ebx
jmp 0x6e175e
mov dword [edx + ebp*4], ecx
mov dword [edx + esi*4], ecx
cmp eax, ebx
je 0x6e1843
mov ecx, eax
mov eax, dword [eax]
movzx edx, byte [ecx + 8]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
movzx esi, byte [ecx + 9]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xa]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xb]
xor esi, edx
imul edi, esi, 0x1000193
mov edx, dword [esp + 8]
and edi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
lea ebp, [edi + edi]
lea esi, [edi + edi]
inc esi
mov edi, dword [edx + edi*8]
cmp edi, ebx
je 0x6e1750
mov dword [esp + 4], ebp
mov ebp, dword [edx + esi*4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [ebp + 8]
jne 0x6e17f0
mov edi, dword [ebp]
cmp edi, ecx
je 0x6e1835
mov ebx, dword [ecx + 4]
mov dword [esp + 4], ebx
mov dword [ebx], eax
mov ebp, dword [eax + 4]
mov dword [ebp], edi
mov ebx, dword [edi + 4]
mov dword [ebx], ecx
mov dword [edi + 4], ebp
mov edi, dword [esp + 4]
mov dword [eax + 4], edi
mov dword [ecx + 4], ebx
jmp 0x6e1835
cmp edi, ebp
je 0x6e1819
mov ebp, dword [ebp + 4]
cmp ebx, dword [ebp + 8]
jne 0x6e17f0
mov edx, dword [ebp]
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], edx
mov ebx, dword [edx + 4]
mov dword [ebx], ecx
mov dword [edx + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
jmp 0x6e1838
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], ebp
mov ebx, dword [ebp + 4]
mov dword [ebx], ecx
mov dword [ebp + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov esi, dword [esp + 4]
mov dword [edx + esi*4], ecx
mov ebx, dword [esp]
cmp eax, ebx
jne 0x6e175e
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret 4
movzx eax, byte [0xb38b9a]
cmp al, 0x1e
je 0x6e18b8
mov cl, 0xc9
nop word [eax + eax]
mov al, 0x66
lock cmpxchg byte [0xb38b9a], cl
je 0x6e1872
cmp al, 0x1e
jne 0x6e1860
jmp 0x6e18b8
movdqa xmm0, xmmword [0xb38b80]
paddb xmm0, xmmword [0xabe1a0]
movdqa xmmword [0xb38b80], xmm0
movq xmm0, qword [0xb38b90]
paddb xmm0, xmmword [0xabe1b0]
movq qword [0xb38b90], xmm0
add byte [0xb38b98], 0x6e
add byte [0xb38b99], 0xc1
mov al, 0x1e
xchg byte [0xb38b9a], al
push 0xb38b80
call fcn.00766c6a
int3
Function at 0x6ee040
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
cmp eax, 0x10000001
jae 0x6ee1c6
mov ebx, ecx
add eax, dword [0xb53344]
mov ecx, dword [0xb532c8]
add eax, ecx
dec eax
or eax, 1
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov esi, 1
shl esi, cl
lea eax, [ebx + 0xc]
mov ebp, dword [ebx + 4]
mov edx, 2
shl edx, cl
mov ecx, eax
push ebp
push edx
call fcn.00598b30
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx + 4]
mov eax, dword [eax]
cmp eax, ebp
je 0x6ee1bc
mov dword [esp + 4], ebx
mov dword [esp], ebp
jmp 0x6ee0c4
mov dword [edx + ebx*4], ecx
mov dword [edx + esi*4], ecx
mov ebx, eax
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x6ee1bc
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 0xc], eax
movzx edx, byte [ecx + 8]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
movzx esi, byte [ecx + 9]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xa]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xb]
xor esi, edx
imul edi, esi, 0x1000193
and edi, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
mov eax, ebx
lea ebx, [edi + edi]
lea esi, [edi + edi]
inc esi
mov edi, dword [edx + edi*8]
cmp edi, ebp
je 0x6ee0b0
mov dword [esp + 8], ebx
mov ebp, dword [edx + esi*4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [ebp + 8]
je 0x6ee160
mov eax, dword [esp + 0xc]
nop dword [eax]
cmp edi, ebp
je 0x6ee18e
mov ebp, dword [ebp + 4]
cmp ebx, dword [ebp + 8]
jne 0x6ee130
mov edx, dword [ebp]
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], edx
mov ebx, dword [edx + 4]
mov dword [ebx], ecx
mov dword [edx + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
jmp 0x6ee1ad
mov edi, dword [ebp]
cmp edi, ecx
mov eax, dword [esp + 0xc]
je 0x6ee1aa
mov ebx, dword [ecx + 4]
mov dword [esp + 8], ebx
mov dword [ebx], eax
mov ebp, dword [eax + 4]
mov dword [ebp], edi
mov ebx, dword [edi + 4]
mov dword [ebx], ecx
mov dword [edi + 4], ebp
mov edi, dword [esp + 8]
mov dword [eax + 4], edi
mov dword [ecx + 4], ebx
jmp 0x6ee1aa
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], ebp
mov ebx, dword [ebp + 4]
mov dword [ebx], ecx
mov dword [ebp + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov esi, dword [esp + 8]
mov dword [edx + esi*4], ecx
mov ebx, dword [esp + 4]
mov ebp, dword [esp]
cmp eax, ebp
jne 0x6ee0c4
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
movzx eax, byte [0xb39d2a]
cmp al, 0x79
je 0x6ee238
mov cl, 0xe6
nop word cs:[eax + eax]
mov al, 0x1b
lock cmpxchg byte [0xb39d2a], cl
je 0x6ee1f2
cmp al, 0x79
jne 0x6ee1e0
jmp 0x6ee238
movdqa xmm0, xmmword [0xb39d10]
paddb xmm0, xmmword [0xabe390]
movdqa xmmword [0xb39d10], xmm0
movq xmm0, qword [0xb39d20]
paddb xmm0, xmmword [0xabe3a0]
movq qword [0xb39d20], xmm0
add byte [0xb39d28], 0xc1
add byte [0xb39d29], 0x57
mov al, 0x79
xchg byte [0xb39d2a], al
push 0xb39d10
call fcn.00766c6a
int3
Function at 0x72ab20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x24]
cmp eax, 0x10000001
jae 0x72aca1
mov ebx, ecx
dec eax
or eax, 1
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov esi, 1
shl esi, cl
lea eax, [ebx + 0xc]
mov ebp, dword [ebx + 4]
mov edx, 2
shl edx, cl
mov ecx, eax
push ebp
push edx
call fcn.00598b30
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov eax, dword [ebx + 4]
mov eax, dword [eax]
cmp eax, ebp
je 0x72ac97
mov dword [esp + 4], ebx
mov dword [esp], ebp
jmp 0x72ab94
mov dword [edx + ebx*4], ecx
mov dword [edx + esi*4], ecx
mov ebx, eax
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x72ac97
mov ecx, eax
mov eax, dword [eax]
mov dword [esp + 0xc], eax
movzx edx, byte [ecx + 8]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
movzx esi, byte [ecx + 9]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xa]
xor esi, edx
imul edx, esi, 0x1000193
movzx esi, byte [ecx + 0xb]
xor esi, edx
imul edi, esi, 0x1000193
and edi, dword [ebx + 0x18]
mov edx, dword [ebx + 0xc]
mov eax, ebx
lea ebx, [edi + edi]
lea esi, [edi + edi]
inc esi
mov edi, dword [edx + edi*8]
cmp edi, ebp
je 0x72ab80
mov dword [esp + 8], ebx
mov ebp, dword [edx + esi*4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [ebp + 8]
jne 0x72ac30
mov edi, dword [ebp]
cmp edi, ecx
mov eax, dword [esp + 0xc]
je 0x72ac85
mov ebx, dword [ecx + 4]
mov dword [esp + 8], ebx
mov dword [ebx], eax
mov ebp, dword [eax + 4]
mov dword [ebp], edi
mov ebx, dword [edi + 4]
mov dword [ebx], ecx
mov dword [edi + 4], ebp
mov edi, dword [esp + 8]
mov dword [eax + 4], edi
mov dword [ecx + 4], ebx
jmp 0x72ac85
mov eax, dword [esp + 0xc]
nop word cs:[eax + eax]
cmp edi, ebp
je 0x72ac69
mov ebp, dword [ebp + 4]
cmp ebx, dword [ebp + 8]
jne 0x72ac40
mov edx, dword [ebp]
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], edx
mov ebx, dword [edx + 4]
mov dword [ebx], ecx
mov dword [edx + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
jmp 0x72ac88
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edi, dword [eax + 4]
mov dword [edi], ebp
mov ebx, dword [ebp + 4]
mov dword [ebx], ecx
mov dword [ebp + 4], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov esi, dword [esp + 8]
mov dword [edx + esi*4], ecx
mov ebx, dword [esp + 4]
mov ebp, dword [esp]
cmp eax, ebp
jne 0x72ab94
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
movzx eax, byte [0xb3f54a]
cmp al, 0x22
je 0x72ad03
mov cl, 0x4a
nop
mov al, 0xf0
lock cmpxchg byte [0xb3f54a], cl
je 0x72acc2
cmp al, 0x22
jne 0x72acb0
jmp 0x72ad03
movaps xmm0, xmmword [0xb3f530]
xorps xmm0, xmmword [0xac0130]
movaps xmmword [0xb3f530], xmm0
movsd xmm0, qword [0xb3f540]
xorps xmm0, xmmword [0xac0140]
movlps qword [0xb3f540], xmm0
xor byte [0xb3f548], 0xcf
xor byte [0xb3f549], 0xb7
mov al, 0x22
xchg byte [0xb3f54a], al
push 0xb3f530
call fcn.00766c6a
int3
Function at 0x730840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, esp
mov dword [esi + 0x48], ebp
mov dword [esi + 0x4c], esp
mov dword [esi + 0x58], 0xffffffff
lea eax, [esi + 0x50]
mov dword [esi + 0x54], 0x730ba0
mov ecx, dword fs:[0]
mov dword [esi + 0x50], ecx
mov dword fs:[0], eax
call fcn.00730b80
xorps xmm0, xmm0
movaps xmmword [esi + 0x30], xmm0
mov dword [esi + 4], eax
mov edx, eax
xor edx, 0x889b0034
mov dword [esi + 8], 0xac06b4
lea eax, [esi + 0x30]
mov dword [esi + 0xc], eax
lea ecx, [esi + 8]
mov dword [esi], edx
mov dword [esi + edx*4 + 8], ecx
mov dword [esi + 0x58], 1
call fcn.00730b60
mov eax, dword [esi]
mov edi, dword [esi + eax*4 + 8]
test edi, edi
je 0x7308e4
xor ebx, ebx
lea eax, [esi + 8]
cmp edi, eax
setne bl
mov eax, dword [edi]
mov ecx, dword [esi + 4]
xor ecx, 0x89b0039
mov ecx, dword [eax + ecx*4]
mov dword [esi], ecx
mov dword [esi + 0x58], 0xffffffff
call dword [0xb0836c]
mov ecx, edi
push ebx
call dword [esi]
cmp dword [esi + 0x38], 0
sete al
mov ecx, dword [esi + 0x50]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7369b0
Capabilities:
Reference processor manufacturer constants

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x7373d0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call fcn.00737350
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x34], 0x6b6f6f48
mov dword [ebp - 0x38], 0x786f4256
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x38]
call fcn.00737270
mov eax, dword [ebp - 0x24]
cmp byte [0xb53280], 0
jne 0x736a31
test byte [0xb533c8], 1
jne 0x736a31
cmp eax, 0x10
jb 0x736a95
mov esi, dword [ebp - 0x38]
lea edi, [eax + 1]
cmp edi, 0x1000
jb 0x736a57
mov ecx, dword [esi - 4]
add esi, 0xfffffffc
sub esi, ecx
cmp esi, 0x20
jae 0x736b5f
add eax, 0x24
mov edi, eax
mov esi, ecx
mov eax, dword [0xb42908]
mov ecx, dword [0xb428f8]
add ecx, dword [ebp - 0x20]
mov dword [0xb42540], 0x2a78b206
lea ebx, [eax + ecx]
add ebx, 0xffff5c8a
mov dword [ebp - 0x10], 0xffffffff
mov ecx, ebx
call dword [0xb0836c]
mov ecx, esi
mov edx, edi
push 0x700fedad
call ebx
add esp, 4
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x44]
call fcn.0053d680
mov bl, 1
test al, al
jne 0x736b21
movzx eax, byte [0xb42472]
cmp al, 0x95
je 0x736b04
mov cl, 0xc3
nop word [eax + eax]
mov al, 0x14
lock cmpxchg byte [0xb42472], cl
je 0x736ad2
cmp al, 0x95
jne 0x736ac0
jmp 0x736b04
movaps xmm0, xmmword [0xb42460]
xorps xmm0, xmmword [0xac09f0]
movaps xmmword [0xb42460], xmm0
xor byte [0xb42470], 0x44
xor byte [0xb42471], 0x9c
mov al, 0x95
xchg byte [0xb42472], al
mov dword [ebp - 0x10], 2
mov dword [ebp - 0x10], 2
call fcn.00737290
cmp eax, 0xffffffff
je 0x736b1f
push eax
call sub.KERNEL32.dll_CloseHandle
mov bl, 1
jmp 0x736b21
xor ebx, ebx
mov eax, dword [0xb42900]
mov ecx, dword [ebp - 0x20]
add ecx, dword [0xb428f4]
lea esi, [eax + ecx]
add esi, 0xffff5c8a
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0xb0836c]
lea ecx, [ebp - 0x44]
call esi
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, ebx
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.00748ef1
nop dword [eax + eax]
push ebp
push eax
add ebp, 0xc
call fcn.0077ccd0
nop word [eax + eax]
push ebp
push eax
add ebp, 0xc
mov eax, dword [0xb42900]
mov ecx, dword [ebp - 0x20]
add ecx, dword [0xb428f4]
lea esi, [eax + ecx]
add esi, 0xffff5c8a
mov ecx, esi
call dword [0xb0836c]
lea ecx, [ebp - 0x44]
call esi
add esp, 4
pop ebp
ret
Function at 0x741ec0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x7432f0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov eax, dword [0xb44cc0]
cmp eax, 0xffffffff
je 0x7420c7
mov edx, ecx
xor edx, 0xf1d00dc3
push edx
push 0
push 0
push 0
push eax
push 0
push 1
push 0
mov esi, ecx
call fcn.007424e0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x7420c7
mov ecx, esi
xor ecx, 0x1a50fdb8
mov dword [ebp - 0x28], ecx
nop
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x18], 0
jne 0x741f50
cmp dword [eax + 0xc], 0
je 0x742058
nop word cs:[eax + eax]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0xc]
test edx, edx
je 0x742012
mov ecx, dword [edx + 4]
mov dword [eax + 0xc], ecx
mov dword [ebp - 0x20], edx
mov esi, dword [edx]
test esi, esi
je 0x741fc6
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, edi
call dword [0xb0836c]
mov dword [ebp - 0x10], 1
mov ecx, esi
call edi
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
mov eax, dword [edi]
mov esi, dword [eax]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0xb0836c]
mov dword [ebp - 0x2c], edi
mov ecx, edi
push 0
call esi
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [ebp - 0x20]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x741f50
mov ecx, dword [ebp - 0x24]
add ecx, 0x14
push eax
call fcn.00740950
mov ecx, 1
mov edx, 0x20
push dword [ebp - 0x28]
push eax
call fcn.00742180
add esp, 8
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x18], 0
je 0x741f30
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov esi, dword [eax + 0x18]
test esi, esi
je 0x741ff0
mov edi, dword [eax + 0x1c]
test edi, edi
je 0x741ff0
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x20], eax
call dword [0xb0836c]
mov dword [ebp - 0x10], 1
push edi
push esi
call ecx
mov eax, dword [ebp - 0x20]
add esp, 8
jmp 0x741ff0
mov dword [ebp - 0x10], 1
push 0x740410
push 0xb553c0
call fcn.007401c0
add esp, 8
mov eax, dword [0xb44cc0]
cmp eax, 0xffffffff
je 0x742084
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x7420c7
lock dec dword [edi + 4]
jne 0x7420c7
mov eax, dword [edi]
mov esi, dword [eax]
mov dword [ebp - 0x10], 0xffffffff
mov ecx, esi
call dword [0xb0836c]
mov ecx, edi
push 0
call esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x7424e0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push edi
push esi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x10], 0
je 0x74250a
test ebx, ebx
je 0x742521
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
jmp 0x74254d
mov edi, dword [esp + 0x20]
test ebx, ebx
je 0x74252d
test esi, esi
je 0x74253b
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
jmp 0x74254d
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
jmp 0x74254d
test esi, esi
je 0x742544
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
jmp 0x74254d
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x74254d
push eax
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_OpenEventA]
pop esi
pop edi
pop ebx
ret 0x20
Function at 0x743210
Capabilities:
Resume thread

Disassembly:
push edi
push esi
mov eax, dword [esp + 0x10]
cmp dword [esp + 0xc], 0
je 0x743245
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x14], 0
je 0x743251
test edi, edi
je 0x743262
test esi, esi
je 0x74326f
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x74324c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
ret 0x2c
test edi, edi
je 0x74327a
test esi, esi
je 0x743287
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x74324c
test esi, esi
je 0x743290
push ecx
call dword [sym.imp.KERNEL32.dll_TlsFree]
jmp 0x74324c
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x74324c
test esi, esi
je 0x743298
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
jmp 0x74324c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x74324c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
jmp 0x74324c
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
jmp 0x74324c
Function at 0x753771
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.007535e7
Function at 0x9dccd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
je 0x9dcd1c
mov cl, byte [ebx + esi]
mov dl, cl
mov al, cl
shr dl, 1
and al, 0xfe
not dl
movzx eax, al
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
shr dl, 1
xor dl, cl
or cl, 1
test dl, 2
movzx ecx, cl
cmove ecx, eax
mov byte [ebx + esi], cl
inc esi
cmp esi, edi
jb 0x9dcce2
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x9dcd80
Capabilities:
Hash data using md4
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0xf0000040
push 1
push 0
push 0
lea edi, [esi + 4]
mov dword [esi], 0
push esi
mov dword [edi], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x9dcdd2
push edi
push 0
push 0
push 0x8002
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x9dcdd8
push eax
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
mov eax, 1
pop esi
pop ebp
ret

Function at 0x9f52c5
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f4f85

Function at 0x9fa0bf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.009f9f3e

Function at 0x9ff670
Capabilities:
Parse pe header

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

Function at 0x405ece
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00405b8e
Function at 0x402fb4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x465008], 0x8088405
inc edx
mov dword [ebx + 0x465008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4036b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x465024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40374c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40372c
xor eax, eax
push ebp
push 0x403725
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403768
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40372c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x465024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x465024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404558
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x535048], 0
je 0x4045b9
cmp word [0x53521c], 0xd7b2
jne 0x404581
cmp dword [0x535224], 0
jbe 0x404581
mov eax, 0x535218
call dword [0x535234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4045e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x465030], 0
jne 0x4045d5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4080e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x408170
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x408170
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x408123
test edx, 3
jne 0x408112
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x40811d
jmp 0x408123
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x408123
cmp dword [ecx - 8], 1
je 0x40812d
mov edx, ebx
or edx, 3
call fcn.00404e24
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x7b7b7b7b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x40813f
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004046d8

Function at 0x40817c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov eax, edx
test esi, esi
je 0x40820c
mov edx, dword [esi - 4]
mov edi, eax
test edx, edx
jle 0x40820c
mov ecx, dword [eax]
mov ebx, edx
test ecx, ecx
je 0x4081bf
test edx, 3
jne 0x4081ae
xor edx, dword [ecx - 4]
cmp edx, 3
jbe 0x4081b9
jmp 0x4081bf
or edx, 2
xor edx, dword [ecx - 4]
cmp edx, 1
ja 0x4081bf
cmp dword [ecx - 8], 1
je 0x4081c9
mov edx, ebx
or edx, 3
call fcn.00404e24
mov edi, dword [edi]
mov dword [edi - 4], ebx
mov byte [edi + ebx], 0
add ebx, 0xffffffff
and ebx, 0xfffffffc
mov eax, dword [esi + ebx]
mov ecx, eax
or eax, 0x80808080
mov edx, eax
sub eax, 0x5b5b5b5b
xor edx, ecx
or eax, 0x80808080
sub eax, 0x66666666
and eax, edx
shr eax, 2
xor eax, ecx
mov dword [edi + ebx], eax
mov eax, dword [esi + ebx - 4]
sub ebx, 4
jge 0x4081db
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
pop ebx
jmp fcn.004046d8

Function at 0x40b5e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b621
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004047c8
jmp 0x40b62a
mov eax, ebx
mov edx, esi
call fcn.0040472c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b634
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b656
movzx eax, byte [esp]
jmp 0x40b658
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret