joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432c80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482858
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042d4c0
test eax, eax
je 0x432d88
lea ecx, [esp + 0xc]
call fcn.00406820
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042d4c0
mov ecx, eax
call fcn.0042abd0
test eax, eax
je 0x432d6f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x432d6f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x432d6f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00406a20
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x432d51
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x432d6f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4bb180]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x48c9a0
call fcn.00406a20
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x432de0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042d4c0
test eax, eax
je 0x432ecf
mov ecx, edi
call fcn.0042d4c0
mov ecx, eax
call fcn.0042aa80
test eax, eax
jne 0x432ecf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x432ecf
mov eax, dword [0x4bb180]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x432e42
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042d4c0
mov ecx, eax
call fcn.0042acb0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x432ecf
cmp ebx, eax
jne 0x432ecf
cmp dword [esp + 0x10], eax
jne 0x432eb5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x435c30
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x482ae8
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 0x435c69
inc eax
mov dword [esi + 0x10], eax
jmp 0x435d7c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x435c7d
mov eax, 0xffffffc7
jmp 0x435d7e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x435c8e
cmp dword [esi + 8], eax
jne 0x435c7d
cmp dword [esi + 8], eax
jne 0x435ca7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x435ca7
mov eax, 0xffffffc7
jmp 0x435d7e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x435cbb
push eax
mov ecx, ebx
call fcn.00435460
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.00406820
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x435cec
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00406840
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00434bd0
test eax, eax
mov dword [esp + 0x38], eax
je 0x435d1f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48c9d0
call fcn.00406a20
mov eax, dword [esp + 0x38]
jmp 0x435d7e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00435a90
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x435d63
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00435ab0
mov esi, eax
test esi, esi
jne 0x435d93
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00435a90
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x435d35
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48c9d0
call fcn.00406a20
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], 0x48c9d0
call fcn.00406a20
mov eax, esi
jmp 0x435d7e

Function at 0x43a8f0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43a950
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43a950
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43a950
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43a950
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 0x43a990
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 0x446730
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x483448
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047bee8
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00446090
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047be16
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004786d7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004786d7
push 1
push 0
push 0
mov ecx, esi
call fcn.0047867f
push 1
push 0
push 1
mov ecx, esi
call fcn.0047867f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047bf5a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4468b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x483468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047bee8
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00446090
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047be16
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x446974
cmp dword [esp + 0x40], 1
jne 0x446972
cmp ecx, eax
jge 0x446974
mov eax, ecx
cmp eax, 0xc8
jge 0x446980
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00446730
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047bf5a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x447180
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x483513
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00476af7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047c190
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047d6ac
test eax, eax
je 0x44729c
mov ecx, dword [esp + 0x3c]
call fcn.0047c1bd
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x447260
push edi
mov ecx, esi
call fcn.0047981e
mov ecx, esi
call fcn.00447440
cmp dword [esp + 0x38], 1
jne 0x447295
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00479959
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x449490
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4494c3
push esi
call fcn.00457830
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4494bc
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 0x449549
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x449532
mov eax, dword [esi + 8]
test eax, eax
je 0x4494e7
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 0x44952e
cmp eax, 2
je 0x449532
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4494da
cmp eax, 3
je 0x44950d
cmp eax, 1
jne 0x4494da
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 0x4494da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4494da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00449570
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x449558
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00449570
add esp, 4
pop esi
ret

Function at 0x449de0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x449e01
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x449e01
mov eax, dword [eax + 0x44]
test eax, eax
je 0x449e01
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4778ed
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x477925
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.004759a4
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047597c
jmp 0x477931
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x478fdb
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 0x47901d
call fcn.0047ea97
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47901d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x479014
xor eax, eax
jmp 0x479025
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047902b
pop edi
pop esi
pop ebx
ret 4
Function at 0x47efc7
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 0x47eff5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47f013
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047ef2d
jmp 0x47f013
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47f013
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047ef2d
test edi, edi
mov eax, edi
jne 0x47effd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x50266f]
shl eax, 2
mov dword [0x502673], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004be4c8
pop edx
call fcn.004be42c
call fcn.004be508
push 0
call fcn.004c0c2c
pop ecx
push 0x502618
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x502677], eax
push 0
jmp fcn.004ca734

Function at 0x401d90
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, eax
mov al, byte [ebx + 0x4b4]
test al, al
jne 0x401db1
mov byte [ebx + 0x4b4], 1
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx + 0x4b8], eax
pop ebx
ret
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebx + 0x4b8]
sub eax, edx
cmp eax, 0x3e8
jbe 0x401dcc
mov eax, ebx
call fcn.0047976c
pop ebx
ret
Function at 0x407c88
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
mov ebx, eax
mov eax, 0x506b14
call fcn.004c0000
mov dl, byte [ebx + 0x334]
test dl, dl
je 0x407cc1
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx + 0x348], eax
mov al, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x407e7d
mov ecx, dword [ebx + 0x344]
test ecx, ecx
je 0x407d09
call sub.KERNEL32.DLL_GetTickCount
mov edx, eax
mov ecx, dword [ebx + 0x348]
sub edx, ecx
mov dword [ebx + 0x348], eax
mov eax, dword [ebx + 0x344]
cmp edx, eax
jae 0x407d01
sub dword [ebx + 0x344], edx
mov al, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x407e7d
xor ecx, ecx
mov dword [ebx + 0x344], ecx
mov al, byte [ebx + 0x34d]
test al, al
je 0x407d34
call fcn.00417130
test al, al
je 0x407d2d
mov al, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x407e7d
mov byte [ebx + 0x34d], 0
mov cl, byte [ebx + 0x34c]
test cl, cl
je 0x407d5f
call fcn.00416d70
test al, al
je 0x407d58
mov al, 1
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
jmp 0x407e7d
mov byte [ebx + 0x34c], 0
mov cl, byte [ebx + 0x33c]
test cl, cl
jne 0x407e15
mov eax, dword [ebx + 0x340]
push eax
push 0x526308
call fcn.00405a90
add esp, 8
mov edx, eax
mov eax, ebx
call fcn.00407f40
mov byte [ebx + 0x33c], al
cmp al, 1
jne 0x407df5
mov word [ebp - 0x1c], 8
mov edx, dword [ebx + 0x340]
push edx
push 0x526308
call fcn.00405a90
mov edx, eax
xor eax, eax
mov dword [ebp - 4], eax
add esp, 8
inc dword [ebp - 0x10]
mov eax, ebx
lea ecx, [ebp - 4]
call fcn.00407b28
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x318]
mov edx, dword [edx]
call fcn.00486b8c
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004cf01c
mov byte [ebx + 0x33d], 1
call fcn.004147ac
call fcn.0041715c
jmp 0x407e59
push 0x526308
call fcn.00404f3c
pop ecx
inc dword [ebx + 0x340]
mov ecx, dword [ebx + 0x340]
cmp eax, ecx
jle 0x407e59
jmp 0x407d6d
mov eax, ebx
call fcn.00407f80
mov byte [ebx + 0x33c], al
test al, al
jne 0x407e59
mov word [ebp - 0x1c], 0x14
mov edx, 0x505cdc
lea eax, [ebp - 8]
call fcn.004ceebc
inc dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebx + 0x318]
call fcn.00486b8c
dec dword [ebp - 0x10]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004cf01c
mov cl, byte [ebx + 0x33c]
test cl, cl
jne 0x407e6d
mov dword [ebx + 0x338], 0xffffffff
mov al, byte [ebx + 0x33c]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c408
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, 0x5082a8
call fcn.004c0000
mov word [ebp - 0x18], 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x2c], esi
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], ebx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax], edx
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 4], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x18]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x10], eax
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0040c4dc
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [edx + 0x14], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0x18], edx
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14

Function at 0x40cf78
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov dword [esp], eax
mov eax, edi
add eax, eax
add eax, 0x10
push eax
call fcn.004bdc54
pop ecx
mov ebp, eax
call fcn.004c7700
cdq
idiv edi
mov dword [esp + 4], edx
xor eax, eax
mov dword [esp + 8], eax
mov ebx, edi
push ebx
mov eax, dword [esp + 4]
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.004bfb94
add esp, 0xc
push ebx
mov ecx, dword [esp + 4]
push ecx
lea eax, [edi + ebp + 0xc]
push eax
call fcn.004bfb94
add esp, 0xc
mov edx, dword [esp + 4]
mov dword [ebp + edx], 0x43705721
mov ecx, dword [esp + 4]
mov dword [ebp + ecx + 4], ebx
mov eax, dword [esp + 4]
mov edx, dword [esp + 4]
mov dword [ebp + eax + 8], edx
xor esi, esi
mov eax, dword [esp + 4]
lea eax, [ebp + eax + 0xb]
cmp edi, esi
jle 0x40d02c
mov dl, byte [eax]
xor ecx, ecx
mov byte [esp + 0xc], dl
mov ebx, esi
mov dl, byte [eax + 1]
and ebx, 0xff
mov cl, dl
xor ecx, ebx
add dword [esp + 8], ecx
mov cl, byte [esp + 0xc]
add dl, cl
mov ecx, esi
and cl, 0xff
add dl, cl
mov byte [eax + 1], dl
inc esi
inc eax
cmp edi, esi
jg 0x40cffb
mov eax, dword [esp + 4]
lea edx, [ebp + eax]
mov eax, dword [esp + 8]
mov dword [edx + edi + 0xc], eax
add edi, 0x10
push edi
mov eax, dword [esp + 8]
add eax, ebp
push eax
mov edx, dword [esp + 8]
push edx
call fcn.004bfb94
add esp, 0xc
push ebp
call fcn.004bdba0
pop ecx
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40d064
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov dword [esp], eax
mov eax, dword [esp]
mov edx, dword [eax]
cmp edx, 0x43705721
je 0x40d083
or eax, 0xffffffff
jmp 0x40d154
mov edx, dword [esp]
mov eax, dword [esp]
mov ebp, dword [edx + 4]
mov edx, dword [eax + 8]
mov dword [esp + 4], edx
mov edx, ebp
mov ecx, dword [esp]
add edx, edx
mov eax, dword [ecx + ebp + 0xc]
mov dword [esp + 8], eax
push edx
call fcn.004bdc54
pop ecx
mov dword [esp + 0xc], eax
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov eax, ebp
dec eax
mov edx, dword [esp + 0xc]
lea edi, [edx + eax]
mov edx, dword [esp]
lea esi, [edx + eax + 0xb]
test eax, eax
jl 0x40d0ff
mov dl, byte [esi]
mov byte [esp + 0x14], dl
mov dl, byte [esi + 1]
mov bl, byte [esp + 0x14]
mov ecx, edx
sub cl, bl
mov ebx, eax
and bl, 0xff
sub cl, bl
mov ebx, eax
mov edx, ecx
and ebx, 0xff
and ecx, 0xff
xor ecx, ebx
add dword [esp + 0x10], ecx
mov byte [edi], dl
dec eax
dec edi
dec esi
test eax, eax
jge 0x40d0c8
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
cmp eax, edx
je 0x40d11b
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004bdba0
pop ecx
or eax, 0xffffffff
jmp 0x40d154
push ebp
mov edx, dword [esp + 0x10]
push edx
mov ebx, dword [esp + 0x14]
mov esi, ebp
add ebx, esi
push ebx
call fcn.004bfb94
add esp, 0xc
push ebp
mov eax, dword [esp + 8]
sub ebx, eax
push ebx
mov edx, dword [esp + 8]
push edx
call fcn.004bfb94
add esp, 0xc
mov ecx, dword [esp + 0xc]
push ecx
call fcn.004bdba0
pop ecx
mov eax, esi
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x414898
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
mov byte [ebp - 8], dl
test dl, dl
jle 0x4148ab
call fcn.004cf878
mov ebx, ecx
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x509a48
call fcn.004c0000
mov word [ebp - 0x18], 8
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004adf30
add dword [ebp - 0xc], 2
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], ebx
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x29]
test dl, dl
je 0x4148f2
call fcn.004cf885
pop ebx
mov esp, ebp
pop ebp
ret