joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442690
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7508
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4cf084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], 0
mov dword [ebp - 0x18], eax
mov dword [edx + 4], 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea esi, [ecx + 0x14]
mov dword [ebp - 0x30], eax
push 0x34
mov dword [ebp - 0x24], esi
call fcn.00411d20
mov edi, eax
add esp, 8
mov dword [ebp - 0x2c], edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x443980
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call fcn.00472b60
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov dword [edi + 0x30], eax
mov byte [ebx + 8], 1
mov esi, dword [esi + 0x18]
push 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], edi
lea eax, [esi + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
je 0x442795
push ecx
push edi
mov ecx, esi
call fcn.00444c40
jmp 0x4427d9
lea eax, [esi + 0x38]
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x34], 1
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + 0xc]
push edi
push eax
push ebx
mov byte [ebp - 4], 2
call fcn.00443f80
lea ecx, [esi + 0x18]
mov bl, al
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test bl, bl
je 0x4427cf
mov ecx, esi
call fcn.004309c0
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.004438e0
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x442828
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x442828
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
cmp edi, 1
jne 0x442828
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00477156
mov esp, ebp
pop ebp
ret 8
Function at 0x443d70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4cf084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
lea edi, [esi + 0x14]
mov dword [ebp - 0x20], esi
push edi
push 0x54
call fcn.00411d20
mov ebx, eax
mov ecx, dword [ebp + 0xc]
add esp, 8
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0x444100
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x1c], 0
mov eax, dword [ecx]
mov dword [ebx + 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 0x24], eax
mov eax, dword [esi]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 8]
mov dword [ebx + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x34], eax
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 8]
mov dword [ebx + 0x38], eax
mov eax, dword [edi]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 4]
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x44], 0
mov eax, dword [edi + 8]
mov dword [edi + 8], 0
mov dword [ebx + 0x44], eax
mov dword [edi + 4], 0
mov eax, dword [edi + 0xc]
mov dword [ebx + 0x48], eax
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x4c], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x50], eax
cmp dword [esi + 4], 0
mov eax, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x10], eax
jne 0x443e5b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
jmp 0x443e6d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x443e6d
mov dword [esi + 4], 0xffffffff
mov edi, dword [ebp - 0xc]
mov eax, dword [edi]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi], 0xffffffff
jne 0x443e92
mov ecx, dword [edi]
push 0
push 0x2719
push ebx
call fcn.004123d0
jmp 0x443efb
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x443ea5
mov ecx, dword [edi]
push eax
push eax
push ebx
call fcn.004123d0
jmp 0x443efb
push ebx
lea ecx, [ebp - 8]
mov dword [ebx + 8], 0
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebx + 0xc], 0
push dword [esi]
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x443ef3
cmp eax, 0x3e5
je 0x443ef3
cmp eax, 0xea
je 0x443ef3
push dword [ebp - 8]
mov ecx, dword [edi]
push eax
push ebx
call fcn.004123d0
jmp 0x443efb
mov ecx, dword [edi]
push ebx
call fcn.00412450
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call fcn.00444060
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00477156
mov esp, ebp
pop ebp
ret 0xc
Function at 0x444530
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [0x4cf084]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
mov dword [ebx + 4], edi
test edi, edi
jne 0x444590
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x10], esi
call fcn.00472b60
mov dword [esp + 0x14], eax
test esi, esi
jne 0x444664
mov esi, dword [esp + 0xc]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
mov dword [ebx + 8], eax
cmp dword [esi + 8], 0
jne 0x4445d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
mov dword [esp + 0x10], esi
call fcn.00472b60
mov dword [esp + 0x14], eax
test esi, esi
jne 0x444672
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0
push ebx
push 0x444480
push 0x10000
push 0
call fcn.0048b40a
add esp, 0x18
mov dword [esi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x444640
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x14], eax
call dword [edx]
test edi, edi
je 0x44461d
push edi
call esi
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x44462b
push eax
call esi
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x10], ebx
call fcn.00472b60
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x444680
test edi, edi
je 0x444650
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00477156
mov esp, ebp
pop ebp
ret 8
mov edx, str.thread.entry_event
lea ecx, [esp + 0x10]
call fcn.0041af60
mov edx, str.thread.exit_event
lea ecx, [esp + 0x10]
call fcn.0041af60
mov edx, str.thread
lea ecx, [esp + 0x10]
call fcn.0041af60
int3
Function at 0x4447e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4cf084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 8], eax
cmp dword [esi + 4], 0
jne 0x444812
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 4], eax
jmp 0x444824
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x444824
mov dword [esi + 4], 0xffffffff
mov eax, dword [ebx]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi], 0xffffffff
jne 0x444857
mov ecx, dword [ebx]
push 0
push 0x2719
push edi
call fcn.004123d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00477156
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x44487f
mov ecx, dword [ebx]
push 0
push 0
push edi
call fcn.004123d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00477156
mov esp, ebp
pop ebp
ret 0x14
push edi
lea ecx, [ebp - 8]
mov dword [edi + 8], 0
push ecx
mov dword [edi + 0xc], 0
push dword [eax + 4]
mov dword [ebp - 8], 0
push dword [eax]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x4448df
cmp eax, 0x3e5
je 0x4448df
cmp eax, 0xea
je 0x4448df
push dword [ebp - 8]
mov ecx, dword [ebx]
push eax
push edi
call fcn.004123d0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00477156
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebx]
push edi
call fcn.00412450
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00477156
mov esp, ebp
pop ebp
ret 0x14
Function at 0x446080
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 0x18], ebx
xor edi, edi
lea esi, [ebx + 0x15]
nop word [eax + eax]
movzx edx, byte [esi - 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x158], edx
inc edi
cmp edi, 0x10
jb 0x4460a0
lea edx, [ebp - 0x150]
mov esi, 0x40
nop word [eax + eax]
mov eax, dword [edx + 0x2c]
lea edx, [edx + 4]
xor eax, dword [edx + 0x14]
xor eax, dword [edx - 0xc]
xor eax, dword [edx - 4]
mov ecx, eax
add eax, eax
shr ecx, 0x1f
xor ecx, eax
mov dword [edx + 0x34], ecx
sub esi, 1
jne 0x4460e0
mov eax, dword [ebx]
mov edi, eax
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
xor ebx, ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jmp 0x446123
mov edi, dword [ebp - 8]
cmp ebx, 0x14
jae 0x44613d
mov eax, edx
mov dword [ebp - 4], 0x5a827999
not eax
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
jmp 0x446172
cmp ebx, 0x28
jae 0x44614b
mov dword [ebp - 4], 0x6ed9eba1
jmp 0x44616c
cmp ebx, 0x3c
jae 0x446165
mov eax, esi
mov dword [ebp - 4], 0x8f1bbcdc
or eax, edx
and eax, ecx
mov ecx, esi
and ecx, edx
or eax, ecx
jmp 0x446172
mov dword [ebp - 4], 0xca62c1d6
mov eax, ecx
xor eax, esi
xor eax, edx
mov ecx, dword [ebp - 8]
shr edi, 0x1b
shl ecx, 5
xor edi, ecx
mov ecx, esi
add edi, dword [ebp + ebx*4 - 0x158]
inc ebx
add edi, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 0x10]
add edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, edx
shr edx, 2
shl esi, 0x1e
xor esi, edx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 8], edi
cmp ebx, 0x50
jb 0x446120
mov eax, dword [ebp - 0x14]
add eax, edi
mov edi, dword [ebp - 0x18]
add dword [edi + 8], esi
add dword [edi + 4], edx
add dword [edi + 0xc], ecx
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add dword [edi + 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4463f0
Capabilities:
Generate random numbers via winapi
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4cf084]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x88], 0x67452301
mov dword [ebp - 0x84], 0xefcdab89
mov dword [ebp - 0x80], 0x98badcfe
mov dword [ebp - 0x7c], 0x10325476
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x78], 0xc3d2e1f0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
test eax, eax
je 0x446469
lea ecx, [ebp - 0x20]
push ecx
push 0x14
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0x14
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x88]
call fcn.00445fc0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x88]
push 4
lea eax, [ebp - 0x24]
push eax
call fcn.00445fc0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x88]
push 4
lea eax, [ebp - 0x24]
push eax
call fcn.00445fc0
lea eax, [ebp - 0x18]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x88]
call fcn.00445fc0
push 0
call fcn.0048b51c
add esp, 4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], edx
lea ecx, [ebp - 0x88]
push 8
push eax
call fcn.00445fc0
push 0x14
push 0x539a44
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x24], 0x539a44
call fcn.00445fc0
push 4
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x88]
call fcn.00445fc0
call fcn.0048b625
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x88]
push 4
lea eax, [ebp - 0x10]
push eax
call fcn.00445fc0
call fcn.0048b687
mov dword [ebp - 0x18], eax
call fcn.0048b687
mov dword [ebp - 0x14], eax
call fcn.0048b687
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x88]
push 0xc
lea eax, [ebp - 0x18]
push eax
call fcn.00445fc0
push 4
call fcn.00477167
add esp, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x88]
push 4
push eax
call fcn.00445fc0
push 4
push dword [ebp - 0x10]
call fcn.00477197
add esp, 8
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x88]
push 4
push eax
call fcn.00445fc0
push 4
push fcn.0048b687
lea ecx, [ebp - 0x88]
call fcn.00445fc0
push 0x14
push esi
lea ecx, [ebp - 0x88]
call fcn.00445fc0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x88]
call fcn.004461e0
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
xor dword [ecx], eax
xor dword [esi], eax
mov eax, dword [ebp - 0x1c]
xor dword [ecx + 4], eax
xor dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
xor dword [ecx + 8], eax
xor dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
xor dword [ecx + 0xc], eax
xor dword [esi + 0xc], eax
mov eax, dword [ebp - 0x10]
xor dword [ecx + 0x10], eax
mov ecx, dword [ebp - 4]
xor dword [esi + 0x10], eax
xor ecx, ebp
pop esi
call fcn.00477156
mov esp, ebp
pop ebp
ret
Function at 0x447a20
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
mov esi, ecx
sub edi, ebx
jne 0x447a38
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret
cmp edi, 0xffffffff
jne 0x447a49
call fcn.00447b80
pop edi
pop esi
add eax, ebx
pop ebx
pop ebp
ret
lea ecx, [edi + 1]
or eax, 0xffffffff
xor edx, edx
div ecx
cmp edx, edi
lea ecx, [eax + 1]
cmovne ecx, eax
mov dword [ebp + 8], ecx
mov ecx, dword [esi + 0x9c0]
cmp ecx, 0x270
jne 0x447a79
mov ecx, esi
call fcn.00447ee0
mov ecx, dword [esi + 0x9c0]
mov edx, dword [esi + ecx*4]
mov eax, edx
shr eax, 0xb
inc ecx
xor edx, eax
mov dword [esi + 0x9c0], ecx
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
xor edx, edx
div dword [ebp + 8]
cmp eax, edi
ja 0x447a64
pop edi
pop esi
add eax, ebx
pop ebx
pop ebp
ret
Function at 0x447ee0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
cmp dword [0x4d4a90], 2
jl 0x447f60
movaps xmm3, xmmword [0x4bd510]
mov eax, 1
movaps xmm4, xmmword [0x4bd530]
movaps xmm6, xmmword [0x4bd540]
movaps xmm7, xmmword [0x4bd4d0]
movd xmm5, eax
movups xmm1, xmmword [ecx + esi*4 + 4]
movups xmm2, xmmword [ecx + esi*4]
movaps xmm0, xmm3
pand xmm0, xmm1
pand xmm2, xmm4
por xmm2, xmm0
movaps xmm0, xmm7
pand xmm0, xmm1
psrld xmm2, xmm5
pmulld xmm0, xmm6
pxor xmm2, xmm0
movups xmm0, xmmword [ecx + esi*4 + 0x634]
pxor xmm2, xmm0
movups xmmword [ecx + esi*4], xmm2
add esi, 4
cmp esi, 0xdc
jb 0x447f11
cmp esi, 0xde
jae 0x447f92
mov edx, dword [ecx + esi*4]
mov eax, dword [ecx + esi*4 + 4]
xor edx, eax
and edx, 0x7ffffffe
and eax, 1
xor edx, dword [ecx + esi*4]
imul eax, eax, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [ecx + esi*4 + 0x634]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0xde
jb 0x447f60
mov edx, dword [ecx + 0x378]
mov esi, dword [ecx + 0x380]
push edi
mov edi, dword [ecx + 0x37c]
xor edx, edi
and edx, 0x7ffffffe
mov eax, edi
xor edx, dword [ecx + 0x378]
and eax, 1
shr edx, 1
imul eax, eax, 0x9908b0df
xor edx, eax
mov eax, esi
xor edx, dword [ecx + 0x9ac]
and eax, 1
mov dword [ecx + 0x378], edx
mov edx, edi
xor edx, esi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, edi
mov edi, dword [ecx + 0x384]
shr edx, 1
xor edx, eax
mov eax, edi
xor edx, dword [ecx + 0x9b0]
and eax, 1
mov dword [ecx + 0x37c], edx
mov edx, edi
xor edx, esi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, esi
mov esi, dword [ecx + 0x388]
shr edx, 1
xor edx, eax
mov eax, esi
xor edx, dword [ecx + 0x9b4]
and eax, 1
mov dword [ecx + 0x380], edx
mov edx, esi
xor edx, edi
imul eax, eax, 0x9908b0df
and edx, 0x7ffffffe
xor edx, edi
shr edx, 1
pop edi
xor edx, eax
mov eax, dword [ecx + 0x38c]
xor edx, dword [ecx + 0x9b8]
mov dword [ecx + 0x384], edx
mov edx, eax
xor edx, esi
and eax, 1
and edx, 0x7ffffffe
imul eax, eax, 0x9908b0df
xor edx, esi
mov esi, 0xe3
shr edx, 1
xor edx, eax
xor edx, dword [ecx + 0x9bc]
mov dword [ecx + 0x388], edx
mov edx, dword [ecx + esi*4]
mov eax, dword [ecx + esi*4 + 4]
xor edx, eax
and edx, 0x7ffffffe
and eax, 1
xor edx, dword [ecx + esi*4]
imul eax, eax, 0x9908b0df
shr edx, 1
xor edx, eax
xor edx, dword [ecx + esi*4 - 0x38c]
mov dword [ecx + esi*4], edx
inc esi
cmp esi, 0x26f
jb 0x448080
mov edx, dword [ecx + 0x9bc]
mov eax, dword [ecx]
xor edx, eax
and edx, 0x7ffffffe
mov dword [ecx + 0x9c0], 0
xor edx, dword [ecx + 0x9bc]
and eax, 1
imul eax, eax, 0x9908b0df
shr edx, 1
pop esi
xor edx, eax
xor edx, dword [ecx + 0x630]
mov dword [ecx + 0x9bc], edx
ret
Function at 0x44d160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4c8e00
push 0x478910
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4cf084]
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 ebx, ecx
xor esi, esi
mov edx, 0x539578
nop dword [eax]
mov ecx, 1
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
sete al
test al, al
jne 0x44d1c4
inc esi
add edx, 4
cmp edx, 0x539708
jl 0x44d1a0
xor esi, esi
jmp 0x44d1cd
shl esi, 0xc
add esi, 0x4d5578
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], 0xffffffff
test esi, esi
jne 0x44d20d
mov edx, 0x539578
mov ecx, 0x4d5578
mov esi, 0x64
nop word [eax + eax]
test ecx, ecx
jne 0x44d1f8
xor eax, eax
xchg dword [edx], eax
add ecx, 0x1000
add edx, 4
sub esi, 1
jne 0x44d1f0
xor eax, eax
jmp 0x44d2e9
mov dword [ebp - 4], 0
call fcn.0044cc00
mov edi, eax
mov dword [ebp - 0x3c], edi
cmp edi, 0xffffffff
je 0x44d2d8
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x26]
push ecx
movzx eax, word [ebp - 0x28]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
movzx eax, word [ebp - 0x2e]
push eax
movzx eax, word [ebp - 0x32]
push eax
movzx eax, word [ebp - 0x34]
push eax
push str.__04u__02u__02u__02u:_02u:_02u._04u_t_
push 0x800
push esi
call fcn.0044c860
add esp, 0x28
mov edx, esi
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x44d270
sub edx, ecx
push 0
lea eax, [ebp - 0x24]
push eax
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, ebx
call fcn.0044cb90
mov ebx, eax
test ebx, ebx
je 0x44d2bf
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44d2a0
sub ecx, edx
push 0
lea eax, [ebp - 0x24]
push eax
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov word [ebp - 0x20], 0xa0d
push 0
lea eax, [ebp - 0x24]
push eax
push 2
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 4], 0xfffffffe
call fcn.0044d30b
mov eax, 1
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.00477156
mov esp, ebp
pop ebp
ret
Function at 0x44d330
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x539710]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
test dword [ebp + 8], eax
je 0x44d392
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x53970c]
ja 0x44d392
mov edi, 0x5399e8
mov ecx, edi
call fcn.0041cc20
call fcn.0044cb20
mov esi, eax
test esi, esi
jne 0x44d39a
mov eax, connect
lock xadd dword [edi], eax
test eax, 0x40000000
jne 0x44d392
cmp eax, 0x80000000
jle 0x44d392
lock bts dword [edi], 0x1e
jb 0x44d392
mov ecx, edi
call fcn.0041cb90
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
lea eax, [ebp + 0x20]
push eax
push ecx
push dword [ebp + 0x1c]
push ecx
mov ecx, esi
call fcn.0044d7c0
add esp, 0x10
call fcn.0044cb20
mov edi, eax
test edi, edi
jne 0x44d3d1
mov ecx, esi
call fcn.0044cb60
mov ecx, 0x5399e8
call fcn.0041ba00
xor al, al
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
cmp dword [0x4cfa44], 0
jne 0x44d3e1
mov eax, str.empty
jmp 0x44d3f4
cmp dword [0x4cfa48], 8
mov eax, 0x4cfa34
cmovae eax, dword [0x4cfa34]
push esi
push dword [ebp + 0x14]
push ebx
push eax
push str.__s_t___S:_d_t___s
push 0x800
push edi
call fcn.0044c7e0
add esp, 0x1c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp byte [ebp + 0x18], 0
jne 0x44d423
cmp dword [0x53970c], 1
jne 0x44d42a
mov ecx, edi
call fcn.0044d160
mov ecx, esi
call fcn.0044cb60
mov ecx, edi
call fcn.0044cb60
mov ecx, 0x5399e8
call fcn.0041ba00
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
pop ebp
ret