joyce8/EMBER2024-capa huggingface dataset:
Function at 0x437b20
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x473d38
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x437b59
inc eax
mov dword [esi + 0x10], eax
jmp 0x437c6c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x437b6d
mov eax, 0xffffffc7
jmp 0x437c6e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x437b7e
cmp dword [esi + 8], eax
jne 0x437b6d
cmp dword [esi + 8], eax
jne 0x437b97
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x437b97
mov eax, 0xffffffc7
jmp 0x437c6e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x437bab
push eax
mov ecx, ebx
call fcn.00437350
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004010b0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x437bdc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401100
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00436ac0
test eax, eax
mov dword [esp + 0x38], eax
je 0x437c0f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47a068
call fcn.004012e0
mov eax, dword [esp + 0x38]
jmp 0x437c6e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00437980
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x437c53
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004379a0
mov esi, eax
test esi, esi
jne 0x437c83
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00437980
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x437c25
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47a068
call fcn.004012e0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x47a068
call fcn.004012e0
mov eax, esi
jmp 0x437c6e
Function at 0x43b080
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43b0b3
push esi
call fcn.0043e020
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43b0ac
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43b139
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43b122
mov eax, dword [esi + 8]
test eax, eax
je 0x43b0d7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43b11e
cmp eax, 2
je 0x43b122
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43b0ca
cmp eax, 3
je 0x43b0fd
cmp eax, 1
jne 0x43b0ca
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43b0ca
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43b0ca
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043b160
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43b148
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043b160
add esp, 4
pop esi
ret

Function at 0x446d20
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x446dc3
test eax, eax
jbe 0x446dc3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x446dc3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x446d6e
xor esi, esi
jmp 0x446d74
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x446d9f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00401ad0
add esi, eax
push esi
mov ebx, esi
call fcn.00401ad0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x446d80
pop ebp
test edi, edi
pop edi
jne 0x446dc3
test ebx, ebx
je 0x446dc3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00456ca0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x446f05
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44701d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44701d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004664cb
mov esi, eax
test esi, esi
je 0x44701d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44701d
mov ecx, esi
call fcn.00446e70
cmp edi, eax
jge 0x44701d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x446fa3
mov dword [esp + 0x34], 1
jmp 0x446ffe
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44701d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00446450
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x44f9f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x44fa3c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x44fa3c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x44fa26
push eax
call ebp
test ax, ax
jl 0x44fa34
inc esi
add edi, 4
cmp esi, 6
jb 0x44fa18
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0044f6f0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x453640
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x4536a0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4536a0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x4536a0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x4536a0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x4536b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x466e6f
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x466ea7
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00469a59
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00469a31
jmp 0x466eb3
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x468566
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4685a8
call fcn.0046fc53
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4685a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46859f
xor eax, eax
jmp 0x4685b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004685b6
pop edi
pop esi
pop ebx
ret 4

Function at 0x470311
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47033f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47035d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00470277
jmp 0x47035d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47035d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00470277
test edi, edi
mov eax, edi
jne 0x470347
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41e220
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov ebx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0
push 1
push 0x507eb0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41e2ac
mov eax, 0x51eb851f
mov ecx, ebx
imul ebx
sar edx, 5
mov eax, ebx
sar ecx, 0x1f
sub edx, ecx
imul esi, edx, 0x64
sub eax, esi
jne 0x41e2ac
cmp ebx, 0x15f90
jl 0x41e2a3
cmp ebx, 0x1d4c0
jge 0x41e280
mov eax, 0x32
jmp 0x41e2a5
cmp ebx, 0x2bf20
jge 0x41e28f
mov eax, 0x64
jmp 0x41e2a5
mov eax, 0x1482
cmp ebx, 0x57d78
jl 0x41e2a5
mov eax, 0xfa
jmp 0x41e2a5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41e2c0
inc ebx
cmp ebx, 0x57e40
jl 0x41e238
mov eax, dword [ebp - 4]
test eax, eax
je 0x41e2da
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.0043a100
add esp, 4
mov eax, dword [0x507eb4]
test eax, eax
jne 0x41e310
cmp dword [0x5052e0], 1
je 0x41e394
xor ebx, ebx
xor esi, esi
cmp dword [0x507eac], 0
je 0x41e354
mov dword [0x507eb4], 1
cmp dword [0x5052e0], 1
je 0x41e33f
mov dword [0x507eb0], 0
push dword [0x507ea8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x41e3b2
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.0047c930
push ebx
push 0x16
call fcn.0047c930
add esp, 0x10
jmp 0x41e310
mov dword [0x507eac], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x507ea8], eax
cmp eax, 0xffffffff
jne 0x41e378
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41e2fd
push 0x41e1b0
call fcn.0047d350
push 0x41e170
call fcn.0047d350
add esp, 8
jmp 0x41e2fd
push 1
push 2
call fcn.0047c930
mov esi, eax
push 1
push 0x16
call fcn.0047c930
add esp, 0x10
mov ebx, eax
jmp 0x41e2f4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.0041d7e0
add esp, 0xc
test eax, eax
je 0x41e3dc
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x50523c]
mov dword [eax + edx - 4], ecx
mov ebx, dword [edx + 0x505238]
mov dword [eax + edx - 8], ebx
mov esi, dword [edx + 0x505234]
mov dword [eax + edx - 0xc], esi
mov ecx, dword [edx + 0x505230]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x41e3e4
push dword [ebp - 0x10]
push dword [0x507ea8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [ebp - 0x10]
jmp 0x41e32e
Function at 0x41e430
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ebx
mov ebx, 1
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 0
push 1
push 0x507eb0
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x41e4bc
mov eax, 0x51eb851f
mov ecx, ebx
imul ebx
sar edx, 5
mov eax, ebx
sar ecx, 0x1f
sub edx, ecx
imul esi, edx, 0x64
sub eax, esi
jne 0x41e4bc
cmp ebx, 0x15f90
jl 0x41e4b3
cmp ebx, 0x1d4c0
jge 0x41e490
mov eax, 0x32
jmp 0x41e4b5
cmp ebx, 0x2bf20
jge 0x41e49f
mov eax, 0x64
jmp 0x41e4b5
mov eax, 0x1482
cmp ebx, 0x57d78
jl 0x41e4b5
mov eax, 0xfa
jmp 0x41e4b5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41e4d0
inc ebx
cmp ebx, 0x57e40
jl 0x41e448
mov eax, dword [ebp - 4]
test eax, eax
je 0x41e4ea
mov dword [ebp - 0x14], 0x98
lea eax, [ebp - 0x14]
push eax
call fcn.0043a100
add esp, 4
mov eax, dword [0x507eb4]
test eax, eax
jne 0x41e520
cmp dword [0x5052e0], 1
je 0x41e5b9
xor ebx, ebx
xor esi, esi
cmp dword [0x507eac], 0
je 0x41e576
mov dword [0x507eb4], 1
cmp dword [0x5052e0], 1
je 0x41e561
mov dword [0x507eb0], 0
push dword [0x507ea8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x41e5f7
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp dword [0x5052e0], 1
je 0x41e5d7
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push esi
push 2
call fcn.0047c930
push ebx
push 0x16
call fcn.0047c930
add esp, 0x10
jmp 0x41e520
mov dword [0x507eac], 1
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x507ea8], eax
cmp eax, 0xffffffff
jne 0x41e59d
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41e50d
push 0x41e1b0
call fcn.0047d350
push 0x41e170
call fcn.0047d350
add esp, 8
jmp 0x41e50d
push 1
push 2
call fcn.0047c930
mov esi, eax
push 1
push 0x16
call fcn.0047c930
add esp, 0x10
mov ebx, eax
jmp 0x41e504
push 1
push 2
call fcn.0047c930
push 1
push 0x16
mov dword [ebx + 0x64], eax
call fcn.0047c930
add esp, 0x10
mov dword [ebx + 0x68], eax
jmp 0x41e555
lea eax, [ebp - 0x10]
push eax
push 0
push 0x70
call fcn.0041d7e0
add esp, 0xc
test eax, eax
je 0x41e61e
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, 0x70
mov ecx, dword [edx + 0x50523c]
mov dword [eax + edx - 4], ecx
mov ebx, dword [edx + 0x505238]
mov dword [eax + edx - 8], ebx
mov esi, dword [edx + 0x505234]
mov dword [eax + edx - 0xc], esi
mov ecx, dword [edx + 0x505230]
mov dword [eax + edx - 0x10], ecx
sub edx, 0x10
jne 0x41e626
push dword [ebp - 0x10]
push dword [0x507ea8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp - 0x10]
jmp 0x41e543
Function at 0x432810
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x433680
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp eax, 0xfffffffa
mov dword [ebp - 0x10], ebx
mov ebx, ecx
lea ecx, [eax + 5]
jg 0x433695
mov ecx, eax
mov dword [ebp - 4], eax
mov eax, 0xfb93e673
mov dword [ebp - 8], esi
mov esi, edx
mul ecx
shr edx, 9
mov dword [ebp - 0xc], edi
imul edi, edx, 0x209
sub ecx, edi
mov edi, dword [0x5052e0]
cmp edi, 2
lea eax, [ecx + 0x69]
mov dword [esi], eax
jge 0x4336f1
lea ecx, [ecx*4 + 0x1a4]
lea edx, [ecx*8]
sub edx, ecx
mov ecx, dword [edx + 0x508324]
test ecx, ecx
jne 0x43377a
mov dword [edx + 0x508324], 1
mov eax, dword [esi]
jmp 0x43377a
lea eax, [ecx*4 + 0x1a4]
lea edx, [eax*8]
sub edx, eax
lea ecx, [edx + 0x508324]
push ecx
call fcn.0041e6c0
add esp, 4
test eax, eax
jne 0x433772
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
cmp dword [edx + 0x508320], 0
je 0x4337ea
mov dword [edx + 0x508324], 0
mov edx, dword [esi]
push 0xffffffffffffffff
lea eax, [edx*4]
shl edx, 5
sub edx, eax
push dword [edx + 0x508320]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi]
lea eax, [edx*4]
shl edx, 5
sub edx, eax
lea ecx, [edx + 0x508324]
push ecx
call fcn.0041e6c0
add esp, 4
mov edi, dword [0x5052e0]
mov eax, dword [esi]
cmp edi, 1
je 0x4337cb
mov edx, dword [ebp + 0x14]
lea ecx, [eax*4]
shl eax, 5
sub eax, ecx
mov ecx, dword [eax + 0x508338]
xor eax, eax
mov dword [ebx], ecx
test ecx, ecx
je 0x4337c3
mov esi, dword [ebp - 4]
cmp esi, dword [ecx + 0x100]
jbe 0x4337b2
mov eax, ecx
mov ecx, dword [ecx + 0x28]
test ecx, ecx
mov dword [ebx], ecx
jne 0x43379f
mov dword [edx], eax
xor eax, eax
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
mov dword [edx], 0
jmp 0x4337b4
lea edx, [eax*4]
shl eax, 5
sub eax, edx
lea eax, [eax + 0x508330]
push eax
call fcn.0041e670
add esp, 4
mov eax, dword [esi]
jmp 0x43377f
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esi]
lea edx, [ecx*4]
shl ecx, 5
sub ecx, edx
mov dword [ecx + 0x508320], eax
mov dword [ecx + 0x508324], 0
jmp 0x433739
Function at 0x434d40
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
Function at 0x439f30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 4], ebx
mov esi, dword [eax + 0x7c]
test esi, esi
mov dword [ebp - 0xc], edi
je 0x43a0ec
mov edx, dword [0x5052e0]
mov edi, dword [esi + 0x14]
lea eax, [edi*4]
shl edi, 5
sub edi, eax
cmp edx, 2
lea ebx, [edi + 0x50c828]
jge 0x439f7f
mov eax, dword [ebx]
test eax, eax
jne 0x439fc0
mov dword [edi + 0x50c828], 1
jmp 0x439fc0
push ebx
call fcn.0041e6c0
add esp, 4
test eax, eax
jne 0x439fba
cmp dword [edi + 0x50c824], 0
je 0x43a0cc
mov dword [edi + 0x50c828], 0
push 0xffffffffffffffff
push dword [edi + 0x50c824]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call fcn.0041e6c0
add esp, 4
mov edx, dword [0x5052e0]
cmp edx, 1
je 0x43a0b8
mov eax, dword [esi + 0x18]
dec eax
mov dword [esi + 0x18], eax
test eax, eax
jle 0x43a02f
mov eax, dword [0x5052e0]
cmp eax, 1
je 0x43a014
cmp eax, 2
jge 0x439fef
mov dword [edi + 0x50c828], 0
jmp 0x43a005
mov dword [edi + 0x50c828], 0
push dword [edi + 0x50c824]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
push dword [edi + 0x50c838]
push dword [edi + 0x50c834]
call fcn.0041e6a0
add esp, 8
mov eax, dword [0x5052e0]
jmp 0x439fde
mov edx, dword [esi]
test edx, edx
je 0x43a03b
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
test eax, eax
je 0x43a046
mov dword [eax], edx
jmp 0x43a04c
mov dword [edi + 0x50c820], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x7c], 0
mov eax, dword [0x5052e0]
cmp eax, 1
je 0x43a09d
cmp eax, 2
jge 0x43a071
mov dword [edi + 0x50c828], 0
jmp 0x43a087
mov dword [edi + 0x50c828], 0
push dword [edi + 0x50c824]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esi + 8]
call fcn.0041d8a0
push esi
call fcn.0041d8a0
add esp, 8
jmp 0x43a005
push dword [edi + 0x50c838]
push dword [edi + 0x50c834]
call fcn.0041e6a0
add esp, 8
mov eax, dword [0x5052e0]
jmp 0x43a060
lea eax, [edi + 0x50c834]
push eax
call fcn.0041e670
add esp, 4
jmp 0x439fc9
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 0x50c824], eax
mov dword [edi + 0x50c828], 0
jmp 0x439fa3
xor eax, eax
mov esi, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x43a100
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.004393f0
mov ebx, dword [ebp + 8]
cmp dword [0x5120e0], 0
jne 0x43a127
test ebx, ebx
je 0x43a11c
mov eax, dword [ebx]
jmp 0x43a11e
xor eax, eax
push eax
call fcn.00477f40
add esp, 4
test ebx, ebx
je 0x43a12f
mov eax, dword [ebx]
jmp 0x43a131
xor eax, eax
push eax
call fcn.004cb270
add esp, 4
jmp 0x43a114
Function at 0x448980
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]

Function at 0x44898c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ebx
mov ebx, edx
mov dword [ebp - 4], edi
mov edx, eax
mov dword [ecx], 0
cmp dword [0x5120e0], 0
je 0x448a61
cmp dword [ebp + 0x20], 2
je 0x4489c3
cmp dword [ebp + 0x20], 1
jne 0x4489d2
mov eax, 0xffffffff
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x18], 0
je 0x4489e2
cmp dword [ebp + 0x20], 0xfffffffa
je 0x448b26
cmp dword [ebp + 0x20], 0
je 0x448b32
xor ecx, ecx
cmp dword [ebp + 0x18], 0
je 0x448a15
cmp dword [ebp + 0x1c], 0
je 0x448a15
push edi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
call fcn.004cb020
push edi
call fcn.004cb190
mov edx, dword [ebp - 0x10]
add esp, 8
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x448a61
push edi
push esi
push ebx
call fcn.004cb0c0
add esp, 0xc
mov esi, eax
mov eax, dword [ebp + 0x14]
cmp esi, 0xffffffff
mov dword [eax], esi
je 0x448b56
push 0
push edi
push 2
push 0x4e84a8
call fcn.004cb080
add esp, 0x10
mov edx, dword [ebp + 0x14]
mov eax, 1
mov byte [esi + ebx], 0xa
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
inc dword [edx]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x10], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x24]
test ecx, ecx
mov edx, dword [ebp - 0x10]
mov dword [edi], 0
je 0x448a89
mov edi, dword [ecx + 0x13c]
test edi, edi
jne 0x448a8e
mov edi, 0x20000
cmp esi, edi
jbe 0x448b02
cmp dword [ebp + 0x20], 0
je 0x448b02
test ecx, ecx
je 0x448aa6
mov edi, dword [ecx + 0x13c]
test edi, edi
jne 0x448aab
mov edi, 0x20000
mov dword [ebp - 0x10], edx
push 0
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x18]
push eax
push edi
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x448af0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
add ebx, edx
sub esi, edx
add dword [ecx], edx
cmp dword [ebp + 0x24], 0
je 0x448ae5
mov edx, dword [ebp + 0x24]
mov edx, dword [edx + 0x13c]
test edx, edx
jne 0x448aea
mov edx, 0x20000
cmp esi, edx
ja 0x448af0
mov edi, esi
test esi, esi
je 0x448b19
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jne 0x448b19
test eax, eax
jne 0x448aae
jmp 0x448b19
push 0
lea ecx, [ebp - 0x18]
push ecx
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edi, edx
mov ecx, 1
jmp 0x4489f4
mov dword [ebp - 0x10], edx
call fcn.004cb2b0
mov edx, dword [ebp - 0x10]
mov edi, eax
cmp dword [0x5120e0], 0
je 0x448a19
mov ecx, 1
jmp 0x4489ee
xor eax, eax
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4913a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x505a10]
jne 0x4913aa
repz ret
jmp fcn.004a3770