joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa2cd39
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0xa2cf37
push edi
mov edi, 0x7fff
cmp dword [esi + 0x6af90], 3
jb 0xa2cdb3
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, edi
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, edi
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
cmp dword [ebp - 4], 0
je 0xa2cdf6
mov eax, dword [esi + 0x6af84]
sub eax, dword [ebp - 4]
cmp eax, 0x7efa
ja 0xa2cdf6
mov ecx, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], ecx
jbe 0xa2cddd
mov dword [esi + 0x6afa0], ecx
push dword [ebp - 4]
mov edx, esi
call fcn.00a2cae7
mov ebx, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp ebx, eax
jbe 0xa2cdf6
mov ebx, eax
cmp ebx, 3
jb 0xa2ceb7
mov edx, dword [esi + 0x6af84]
sub edx, dword [esi + 0x6af88]
lea ecx, [ebx - 3]
mov eax, esi
call fcn.00a2c46e
sub dword [esi + 0x6af90], ebx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x6af90]
cmp ebx, dword [esi + 0x6af98]
ja 0xa2ce84
cmp eax, 3
jb 0xa2ce84
dec ebx
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, edi
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, edi
dec ebx
mov dword [esi + edx*4 + 0x2af70], ecx
mov eax, dword [esi + 0x6af7c]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0xa2ce32
jmp 0xa2ced7
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, edi
mov dword [esi + 0x6af7c], edx
jmp 0xa2cedd
mov eax, dword [esi + 0x6af84]
movzx ecx, byte [eax + esi + 0x1af70]
xor edx, edx
mov eax, esi
call fcn.00a2c46e
dec dword [esi + 0x6af90]
mov dword [ebp - 8], eax
inc dword [esi + 0x6af84]
cmp dword [ebp - 8], 0
je 0xa2cf18
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0xa2cef6
lea edx, [ecx + esi + 0x1af70]
jmp 0xa2cef8
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 0
sub eax, ecx
push edx
mov ecx, esi
call fcn.00a2c2f1
mov eax, dword [esi + 0x6af84]
pop ecx
pop ecx
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0xa2cf29
call fcn.00a2cc28
cmp dword [esi + 0x6af90], 0
jne 0xa2cd63
pop edi
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0xa2cf4a
lea edx, [ecx + esi + 0x1af70]
jmp 0xa2cf4c
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push edx
mov ecx, esi
call fcn.00a2c2f1
pop ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0xa2daf4
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0xa2daff
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0xa2dbb3
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xa47200]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xa47200]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xa47200]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xa47200]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xa47200]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xa47200]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xa47200]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0xa47200]
add ecx, 8
sub edi, 8
dec esi
jne 0xa2db16
pop ebx
test edi, edi
je 0xa2dbcc
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0xa47200]
inc ecx
dec edi
jne 0xa2dbb7
pop esi
not eax
pop edi
ret

Function at 0xa2dbd1
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
movsx edx, dl
xor edx, eax
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edx*4 + 0xa47200]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edx*4 + 0xa47200]
pop esi
mov dword [ecx + 8], eax
ret
Function at 0xa2dd73
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0xa4e078]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x38]
mov edi, ecx
push eax
mov esi, edx
push edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x50], esi
call dword [0xa4112c]
test eax, eax
jne 0xa2ddbb
mov eax, 0x200
jmp 0xa2df3f
mov ecx, dword [ebp - 0x38]
xor eax, eax
xor ebx, ebx
inc eax
mov dword [ebp - 0x40], ecx
and dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ebx
je 0xa2ddd1
mov dword [ebp - 0x3c], eax
test cl, 2
je 0xa2ddda
or dword [ebp - 0x3c], 2
test cl, 4
je 0xa2dde3
or dword [ebp - 0x3c], 4
mov eax, ecx
and eax, 0x10
je 0xa2ddee
or dword [ebp - 0x3c], 0x10
test cl, 0x20
je 0xa2ddf7
or dword [ebp - 0x3c], 0x20
cmp eax, ebx
je 0xa2de04
or dword [ebp - 0x3c], 0x40000000
jmp 0xa2de0b
or dword [ebp - 0x3c], 0x80000000
or dword [ebp - 0x3c], 0x1000000
cmp dword [ebp - 0x40], ebx
jne 0xa2de1e
or dword [ebp - 0x3c], 0x800000
push ebx
push edi
call dword [0xa410bc]
mov dword [ebp - 0x48], eax
cmp eax, 0x28
jbe 0xa2dec2
mov esi, dword [0xa4110c]
push ebx
push ebx
push ebx
push edi
call esi
push ebx
lea eax, [ebp - 0x54]
push eax
push 2
lea eax, [ebp - 0x40]
push eax
push edi
mov edi, dword [0xa41078]
call edi
push ebx
push ebx
push 0x24
push dword [ebp - 0x44]
call esi
push ebx
lea eax, [ebp - 0x54]
push eax
push 4
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x44]
call edi
mov eax, 0x54ad
cmp word [ebp - 0x40], ax
jne 0xa2debf
mov eax, dword [ebp - 0x64]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x48], ecx
jbe 0xa2debf
push ebx
push ebx
push eax
push dword [ebp - 0x44]
call esi
push ebx
lea eax, [ebp - 0x54]
push eax
push 4
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x44]
call edi
mov eax, dword [ebp - 0x58]
cmp eax, 0x5a4d
je 0xa2deb8
cmp eax, 0x454e
je 0xa2deb8
cmp eax, 0x454c
je 0xa2deb8
cmp eax, 0x4550
jne 0xa2debf
or dword [ebp - 0x3c], 0x400000
mov esi, dword [ebp - 0x50]
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0xa2dece
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x5c]
cmp eax, ebx
je 0xa2deda
mov ecx, dword [ebp - 0x48]
mov dword [eax], ecx
cmp esi, ebx
je 0xa2df13
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00a2dce8
push dword [ebp - 0x20]
mov dword [esi], eax
push dword [ebp - 0x24]
mov dword [esi + 4], edx
call fcn.00a2dce8
push dword [ebp - 0x30]
mov dword [esi + 8], eax
push dword [ebp - 0x34]
mov dword [esi + 0xc], edx
call fcn.00a2dce8
add esp, 0x18
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
cmp dword [ebp - 0x4c], ebx
je 0xa2df3d
push dword [ebp - 0x20]
lea edi, [ebp - 0x3c]
push dword [ebp - 0x24]
lea esi, [ebp - 0x40]
call fcn.00a2dd0c
movzx eax, word [ebp - 0x40]
pop ecx
pop ecx
movzx ecx, word [ebp - 0x3c]
shl eax, 0x10
or eax, ecx
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00a2f48c
leave
ret
Function at 0x10001000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x10001071
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x10001071
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
test eax, eax
jne 0x1000105a
jmp 0x10001071
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x10002050
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1001ff80
push 0x10019926
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100220c0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 5
mov byte [esi], 0xe9
mov dword [esi + 1], ebx
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x100020c0
mov byte [esi + eax], 0x90
inc eax
jmp 0x100020b2
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x100020da
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10019955
mov esp, ebp
pop ebp
ret
Function at 0x100043e0
Capabilities:
Enumerate threads
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x100220c0]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov dword [esp + 0x10], ecx
mov esi, 0x64
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], esi
call fcn.100042c0
nop dword [eax]
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100044f3
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x1c
xorps xmm0, xmm0
xor bl, bl
push eax
push edi
movlpd qword [esp + 0x38], xmm0
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100044e1
nop dword [eax + eax]
push dword [esp + 0x34]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x100044cd
push str.NtQueryInformationThread
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10004496
xor ecx, ecx
jmp 0x100044b5
push 0
push 4
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0
push ecx
push 9
push esi
call eax
xor ecx, ecx
test eax, eax
cmovns ecx, dword [esp + 0x48]
cmp ecx, dword [esp + 0x14]
jne 0x100044c6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10004460
mov esi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x100044f3
mov esi, 0x64
jmp 0x10004500
lea eax, [esi + esi]
mov esi, 0x1388
cmp eax, esi
cmovl esi, eax
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x18]
call fcn.100042c0
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
sbb eax, dword [esp + 0x24]
cmp eax, 0xd
jl 0x10004410
jg 0x1000453b
cmp ecx, 0xf8569a40
jb 0x10004410
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10019955
mov esp, ebp
pop ebp
ret
Function at 0x100045f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x100220c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov eax, dword [ecx]
push 0x1003b27c
push ecx
call dword [eax + 0xc0]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xa4]
push eax
push 0x40
push 0x40
lea eax, [ebp - 0xa0]
mov dword [0x1003b280], 0
push eax
mov dword [0x1003b27c], 0
mov dword [0x1003b28c], 0
mov dword [0x1003b290], 0x3f800000
call esi
movups xmm0, xmmword [0x1001d7a0]
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
movups xmmword [ebp - 0xa0], xmm0
push 0x40
movups xmm0, xmmword [0x1001d7b0]
lea eax, [ebp - 0xa0]
push eax
movups xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [0x1001d7c0]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [0x1001d7d0]
movups xmmword [ebp - 0x70], xmm0
call esi
mov eax, dword [0x1003b5dc]
mov eax, dword [eax]
mov dword [ebp - 0xa4], eax
mov eax, dword [0x1003b220]
mov eax, dword [eax]
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa4]
add ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
mov ecx, dword [ebp - 0xac]
mov eax, 0x1003b4cc
call eax
mov ecx, dword [0x1003b5dc]
mov esi, eax
mov ecx, dword [ecx]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [0x1003b220]
mov ecx, dword [ecx]
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ebp - 0xa8]
add ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [ebp - 0xb0]
mov eax, 0x1003b58c
call eax
lea ecx, [ebp - 0xa0]
push ecx
push esi
push eax
push 0x1003b27c
lea edx, [ebp + 8]
lea ecx, [ebp - 0xbc]
call fcn.100028c0
movss xmm3, dword [ebp - 0xb4]
movss xmm0, dword [0x1001ee94]
comiss xmm0, xmm3
jbe 0x100047d3
movss xmm1, dword [ebp - 0xbc]
xorps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x100047d3
movss xmm2, dword [ebp - 0xb8]
comiss xmm2, xmm0
jbe 0x100047d3
mov eax, dword [0x1003b284]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1001f8b0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100047d3
mov eax, dword [0x1003b288]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1001f8b0]
cvtpd2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x100047d3
movss dword [edi], xmm1
mov al, 1
movss dword [edi + 4], xmm2
movss dword [edi + 8], xmm3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019955
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.10019955
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10017550
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
mov eax, dword [0x100220c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.ntdll
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2dc], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
push esi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
add esp, 8
lea ebx, [esi + 8]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx edi, al
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx eax, al
mov ecx, ebx
or eax, edi
shl eax, cl
or esi, eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov ecx, ebx
movzx eax, al
shl eax, cl
add ebx, 8
or esi, eax
cmp ebx, 0x20
jl 0x10017593
cmp esi, 0x7fffffff
jbe 0x100175eb
lea eax, [esi - 0x80000000]
shr eax, 0xc
inc eax
nop word [eax + eax]
sub esi, 0x1000
sub eax, 1
jne 0x100175e0
push 0
push 0x40
push 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push str.RtlCreateUserThread
push str.ntdll
mov dword [ebp - 0x2d4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp - 0x2d8]
mov ebx, eax
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
lea ecx, [ebp - 0x2d4]
push ecx
push edi
push esi
push 0
push 0
push 0
push 1
push 0
push eax
call ebx
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d0], 0x10003
push eax
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x2d0]
push eax
push dword [ebp - 0x2d4]
mov dword [ebp - 0x2d0], 0x10003
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x2d4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10019955
mov esp, ebp
pop ebp
ret
Function at 0x100188b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100220c0]
xor eax, ebp
mov dword [ebp - 4], eax
sub dword [ebp + 0xc], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
jne 0x100189ec
lea edx, [ebp - 8]
mov ecx, 0x100186c0
call fcn.10017550
lea edx, [ebp - 8]
mov ecx, 0x100186d0
call fcn.10017550
mov ecx, dword [0x11dd1aac]
mov eax, dword [0x11dd1aa8]
cmp eax, ecx
je 0x10018913
mov edx, dword [ebp - 8]
nop dword [eax]
cmp dword [eax], edx
je 0x1001890b
add eax, 0x14
cmp eax, ecx
jne 0x10018900
cmp eax, ecx
jne 0x100189ec
mov eax, dword fs:[0x30]
push esi
mov eax, dword [eax + 0xc]
add eax, 0xc
mov esi, dword [eax]
cmp esi, eax
je 0x1001893f
mov ecx, dword [ebp - 8]
nop dword [eax]
test esi, esi
je 0x1001893f
cmp dword [esi + 0x18], ecx
je 0x10018955
mov esi, dword [esi]
cmp esi, eax
jne 0x10018930
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019955
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 4]
push ebx
push edi
mov dword [ebp - 0x1c], ecx
mov edx, dword [eax]
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], esi
mov edi, dword [eax]
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], edi
mov ebx, dword [eax]
mov eax, dword [0x11dd1aac]
mov dword [ebp - 0x14], ebx
cmp eax, dword [0x11dd1ab0]
je 0x10018999
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], esi
add dword [0x11dd1aac], 0x14
jmp 0x100189a3
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.10019260
mov ecx, dword [esi]
mov eax, dword [esi + 4]
pop edi
pop ebx
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
pop esi
mov dword [ecx], eax
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019955
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.10019955
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10019210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov ecx, 2
xor eax, eax
mov dl, byte [edi + eax + 0x2c81f264]
xor dl, cl
inc ecx
mov byte [eax + esi], dl
and ecx, 0x800000ff
jns 0x1001923e
dec ecx
or ecx, 0xffffff00
inc ecx
inc eax
cmp eax, 0x26
jl 0x10019221
pop edi
mov byte [esi + 0x26], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x10019430
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441ad0
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x447d0b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f01c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
je 0x441bbc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitializeSRWLock
push esi
call edi
mov ebx, eax
test ebx, ebx
je 0x441bbc
push str.AcquireSRWLockExclusive
push esi
call edi
mov ebp, eax
test ebp, ebp
je 0x441bbc
push str.ReleaseSRWLockExclusive
push esi
call edi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x441bbc
push str.InitializeConditionVariable
push esi
call edi
mov dword [esp + 0x18], eax
test eax, eax
je 0x441bbc
push str.SleepConditionVariableSRW
push esi
call edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x441bbc
push str.WakeAllConditionVariable
push esi
call edi
mov esi, eax
test esi, esi
je 0x441bbc
push 0x1c
call fcn.0040bd38
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], 0
test eax, eax
je 0x441c2a
push esi
push dword [esp + 0x18]
mov ecx, eax
push dword [esp + 0x20]
push dword [esp + 0x28]
push ebp
push ebx
call fcn.00441570
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
push 0x2c
call fcn.0040bd38
add esp, 4
test eax, eax
je 0x441c2a
mov dword [eax], vtable.once_block_impl_nt5.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x442590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x447e58
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x45f01c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
push 1
push 0
sub esp, 8
mov eax, esp
push esi
mov dword [eax], 0
mov dword [esp + 0x30], 0
mov dword [eax + 4], 0
call fcn.004410a0
mov esi, dword [esi + 4]
add esp, 0x14
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x442617
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x442617
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x442617
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret