joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c4a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4748b3
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.00467f4b
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.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.0046d5e7
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046eb03
test eax, eax
je 0x43c5bc
mov ecx, dword [esp + 0x3c]
call fcn.0046d614
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 0x43c580
push edi
mov ecx, esi
call fcn.0046ac77
mov ecx, esi
call fcn.0043c720
cmp dword [esp + 0x38], 1
jne 0x43c5b5
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.0046adb2
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 0x43eff0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f023
push esi
call fcn.00442100
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43f01c
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 0x43f0a9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f092
mov eax, dword [esi + 8]
test eax, eax
je 0x43f047
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 0x43f08e
cmp eax, 2
je 0x43f092
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f03a
cmp eax, 3
je 0x43f06d
cmp eax, 1
jne 0x43f03a
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 0x43f03a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f03a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f0d0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f0b8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f0d0
add esp, 4
pop esi
ret

Function at 0x44bb70
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 0x44bc13
test eax, eax
jbe 0x44bc13
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44bc13
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 0x44bbbe
xor esi, esi
jmp 0x44bbc4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44bbef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00402d90
add esi, eax
push esi
mov ebx, esi
call fcn.00402d90
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44bbd0
pop ebp
test edi, edi
pop edi
jne 0x44bc13
test ebx, ebx
je 0x44bc13
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00456aa0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44bd55
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 0x44be6d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44be6d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046839d
mov esi, eax
test esi, esi
je 0x44be6d
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 0x44be6d
mov ecx, esi
call fcn.0044bcc0
cmp edi, eax
jge 0x44be6d
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 0x44bdf3
mov dword [esp + 0x34], 1
jmp 0x44be4e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44be6d
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.0044a540
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 0x44e260
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44e2a9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44e720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x475030
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044e2d0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044e350
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044e350
lea ecx, [esi + 0xc]
call fcn.00466925
lea ecx, [esi + 0x10]
call fcn.00466925
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044f8e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044f8e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044f8e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0046699a
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0046699a
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44fad0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44fb36
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44fb36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44fb17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x468d41
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x468d79
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.00466df5
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00466dcd
jmp 0x468d85
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46a434
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 0x46a476
call fcn.0046ffa8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46a476
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46a46d
xor eax, eax
jmp 0x46a47e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046a484
pop edi
pop esi
pop ebx
ret 4

Function at 0x4704d8
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 0x470506
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x470524
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047043e
jmp 0x470524
mov eax, dword [esi + 0x14]
test eax, eax
je 0x470524
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047043e
test edi, edi
mov eax, edi
jne 0x47050e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402607
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00402607
xor esi, esi
xor edi, edi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
fldcw word [ebp - 0x10]
mov esi, eax
mov ebx, dword [ebp + 0xc]
push ebx
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
fldcw word [ebp - 0x10]
mov edi, eax
fild dword [0x40b310]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
fcompp
fnstsw ax
sahf
jne 0x402666
jmp 0x4027ab
mov eax, 0xe9
mov ecx, edi
movzx ecx, byte [ecx]
cmp ecx, eax
jne 0x402679
jmp 0x4027ab
mov eax, dword [ebp + 0x18]
call fcn.004089a2
ftst
fnstsw ax
sahf
fstp st(0)
mov eax, 0xffffffff
je 0x402690
inc eax
call fcn.0040899b
ftst
fnstsw ax
sahf
fstp st(0)
je 0x4026ad
mov eax, edi
push eax
call fcn.004024d4
mov dword [ebp + 0x18], eax
lea ebx, [ebp - 0xa4]
push ebx
push 0x40
push dword [ebp + 0x18]
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
fldcw word [ebp - 0x10]
test eax, eax
je 0x4027ab
push 0x40
push 0x1000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
fldcw word [ebp - 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push dword [ebp + 0x18]
mov eax, edi
push eax
mov ebx, dword [ebp + 0x14]
push dword [ebx]
call dword [sym.imp.KERNEL32.DLL_RtlMoveMemory]
fldcw word [ebp - 0x10]
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx]
add eax, ecx
mov byte [eax], 0xe9
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx]
add eax, ecx
mov ecx, 1
add eax, ecx
mov ebx, eax
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
mov ecx, edi
neg eax
add eax, ecx
mov ecx, 5
sub eax, ecx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebx]
add eax, ecx
mov ecx, 5
add eax, ecx
mov dword [eax], edi
mov eax, edi
mov byte [eax], 0xe9
mov eax, 1
mov ecx, edi
add eax, ecx
mov ebx, eax
mov eax, edi
mov ecx, dword [ebp + 0x10]
neg eax
add eax, ecx
mov ecx, 5
sub eax, ecx
mov dword [ebx], eax
push dword [ebp + 0x18]
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
fldcw word [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_FlushInstructionCache]
fldcw word [ebp - 0x10]
lea ebx, [ebp - 0xa4]
push ebx
push dword [ebp - 0xa4]
push dword [ebp + 0x18]
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
fldcw word [ebp - 0x10]
mov dword [ebp - 0x98], 1
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x402fe9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x133f
sub esp, 0x70
push fcn.00402fe9
xor esi, esi
mov ecx, 0x85
push esi
dec ecx
jne 0x403003
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
call fcn.00408f71
lea ebx, [esp + 0xc]
call fcn.00408a92
push 0x200
lea ebx, [ebp - 0x298]
push ebx
mov edx, dword [ebp + 0x14]
call fcn.00408f71
lea ebx, [esp + 0x14]
call fcn.00408a92
mov edx, dword [ebp + 0x10]
call fcn.00408f71
lea ebx, [esp + 0x14]
call fcn.00408a92
mov edx, dword [ebp + 0xc]
call fcn.00408f71
lea ebx, [esp + 0x14]
call fcn.00408a92
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
push eax
mov ebx, esp
mov eax, dword [ebx + 0x10]
call fcn.00407802
mov eax, dword [ebx + 0xc]
call fcn.00407802
mov eax, dword [ebx + 8]
call fcn.00407802
mov eax, dword [ebx + 4]
call fcn.00407802
pop eax
add esp, 0x10
fldcw word [ebp - 0x10]
lea ebx, [ebp - 0x298]
call fcn.00408dc3
lea ebx, [ebp - 0x98]
call fcn.004089d0
call fcn.00408e62
mov eax, dword [ebp - 0x98]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x4055d8
Capabilities:
Accept command line arguments
Allocate thread local storage
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, section..data
test word [0x4055ba], 4
jne 0x4055f3
jmp fcn.00405825
jmp 0x405a22
cmp dword [ebp + 0xc], 1
jne 0x405a80
call fcn.00405721
lea eax, [ebx + 0x5c4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.004057c7
mov dword [ebx + 0x3e0], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x3ec], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x3f4], eax
call fcn.004055f8
jb 0x405adb
inc word [ebx + 0x3e8]
movzx ecx, word [0x4055b8]
jecxz 0x405a80
push ecx
push 8
push esp
call dword [0x43a000]
pop eax
pop eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x3f0], eax
cmp eax, 2
jne 0x405a93
call fcn.00405904
push ebx
call fcn.0040566d
pop ebx
cmp dword [ebx + 0x3f0], 3
jne 0x405aa8
call fcn.0040593d
cmp dword [ebx + 0x3f0], 0
jne 0x405adb
mov ecx, dword [ebx + 0xd8]
call fcn.00405ae9
mov ecx, dword [ebx + 0xb4]
jecxz 0x405acb
push ecx
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov edi, dword [ebx + 0x428]
call fcn.00405672
call fcn.00405659
movzx eax, word [ebx + 0x3e8]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4055f8
Capabilities:
Allocate thread local storage

Disassembly:
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
cmp eax, 0xffffffff
stc
je 0x405658
mov dword [ebx + 0x3d0], eax
mov dword [ebx + 0x3d8], 0
mov dword [ebx + 0x3d4], 0
call fcn.00405904
jb 0x405658
mov dword [ebx + 0x3d4], eax
mov word [eax + 0xac], 8
call fcn.00405647
dec ebp
push ebx
and byte [ebx + 0x61], dl
outsb dx, byte [esi]
jae 0x405661
push ebx
jb 0x4056ae
add byte [esi - 4], bl
mov bl, 0xd0
add eax, dword [eax]
add bh, bh
adc eax, sym.imp.KERNEL32.DLL_TlsFree
ret
Function at 0x405af3
Capabilities:
Terminate process

Disassembly:
push ebx
push ecx
push esi
push edi
lea esi, [esp + 0x18]
mov ecx, dword [esi - 4]
push ecx
call fcn.004073c3
jb 0x405b43
lea esi, [esi + ecx*4 - 4]
push eax
xor ebx, ebx
mov eax, dword [esi]
mov byte [edi], al
sub esi, 4
inc ebx
cmp eax, 0xffffffff
je 0x405b1c
dec ebx
inc edi
loop 0x405b0d
pop eax
test ebx, ebx
je 0x405b30
pop ecx
push ecx
sub ecx, ebx
mov esi, edx
call fcn.00407434
jb 0x405b43
call fcn.00409005
pop edx
pop edi
pop esi
pop ecx
pop ebx
shl edx, 2
pop dword [esp + edx]
add esp, edx
ret
call fcn.00409003
pop edx
pop edi
pop esi
pop ecx
pop ebx
shl edx, 2
pop dword [esp + edx]
add esp, edx
jmp fcn.0040583c

Function at 0x405c2a
Capabilities:
Terminate process

Disassembly:
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], edi
pop dword [ebp - 0x6c]
pop edx
pop ax
test byte [ebx + 4], 4
je 0x405c4c
pop cx
movzx ecx, ch
add esp, 4
add esp, 8
loop 0x405c44
jmp dword [ebp - 0x6c]
mov byte [ebx + 5], 2
mov byte [ebx + 4], al
mov dword [ebx], edx
pop word [ebx + 6]
pop dword [ebx + 0x14]
movzx ecx, byte [ebx + 7]
mov esi, ecx
shl esi, 1
add esi, ecx
shl esi, 2
pop dword [ebx + esi + 0x10]
pop dword [ebx + esi + 0xc]
sub esi, 0xc
jne 0x405c69
mov eax, dword [ebx + esi + 0x1c]
sub eax, dword [ebx + esi + 0x18]
jl 0x405cde
inc eax
dec ecx
je 0x405ca1
add esi, 0xc
mov dword [ebx + esi + 0x14], eax
mov eax, dword [ebx + esi + 0x1c]
sub eax, dword [ebx + esi + 0x18]
jl 0x405cde
inc eax
mul dword [ebx + esi + 0x14]
dec ecx
ja 0x405c84
je 0x405ca1
jb 0x405cde
mov dword [ebx + 8], eax
mul dword [ebx + 0x14]
jb 0x405cde
test byte [ebx + 4], 1
je 0x405cb4
mov dword [ebx + 0xc], eax
jmp 0x405cd1
push eax
call fcn.004057ed
pop ecx
jb 0x405ce0
mov dword [ebx], eax
mov dword [ebx + 0xc], ecx
mov edi, eax
cld
xor eax, eax
shr ecx, 1
rep stosw word es:[edi], ax
adc cl, 0
rep stosb byte es:[edi], al
or byte [ebx + 4], 4
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
jmp dword [ebp - 0x6c]
mov al, 9
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
push dword [ebp - 0x6c]
jmp fcn.0040583c

Function at 0x405d54
Capabilities:
Terminate process

Disassembly:
push esi
push ebx
call fcn.00407486
jb 0x405d91
mov al, byte [esi + 0xc]
test al, 0xa
jne 0x405d85
test al, 1
jne 0x405d72
test word [esi + 0x2c], 2
jne 0x405d89
jmp 0x405d85
push ecx
call fcn.00406532
mov ebx, ecx
pop ecx
jb 0x405d96
or ebx, ebx
je 0x405d89
cmp al, 0x1a
je 0x405d89
xor eax, eax
jmp 0x405d8e
mov eax, 0xffffffff
pop ebx
pop esi
ret
mov eax, 0x35
mov edx, eax
pop ebx
pop esi
mov eax, 0xffffffff
jmp fcn.00405831

Function at 0x405dce
Capabilities:
Terminate process

Disassembly:
call fcn.00405ddb
jb 0x405dd6
ret
jmp fcn.0040583c
Function at 0x405f51
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push ecx
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x258
mov edi, eax
call fcn.00405904
mov ebx, eax
lea edx, [ebp - 0x114]
push ebp
mov ebp, dword [ebp]
call fcn.00408b5a
pop ebp
or eax, eax
je 0x406084
xor ecx, ecx
xchg dword [ebx + 0xc], ecx
jecxz 0x405f97
push eax
push edx
push ecx
mov edx, dword [sym.imp.KERNEL32.DLL_FindClose]
call fcn.004091c8
pop edx
pop eax
mov esi, edx
add esi, eax
mov al, byte [esi - 1]
and edi, 0x9e
test edi, 0x80
je 0x405fba
test edi, 0x16
jne 0x405fba
xor edi, 0x80
mov dword [ebx + 0x10], edi
test edi, 8
jne 0x405ffe
cmp al, 0x3a
je 0x405fcd
cmp al, 0x5c
jne 0x405fd8
mov word [esi], 0x2e2a
mov word [esi + 2], 0x2a
lea eax, [ebp - 0x258]
push eax
push edx
mov edx, dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
call fcn.004091c8
cmp eax, 0xffffffff
stc
je 0x4060b5
mov dword [ebx + 0xc], eax
cmc
jmp 0x4060b5
push eax
cld
xor al, al
mov ecx, 0x140
lea edi, [ebp - 0x258]
rep stosb byte es:[edi], al
pop eax
cmp word [edx], 0x5c5c
jne 0x406022
cmp al, 0x5c
je 0x40602c
mov word [esi], 0x5c
jmp 0x40602c
mov byte [edx + 1], 0x3a
mov word [edx + 2], 0x5c
push 0
push 0
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x234]
push eax
push 0
push 0x104
lea eax, [ebp - 0x22c]
push eax
push edx
mov edx, dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
call fcn.004091c8
xor ecx, ecx
xor esi, esi
test eax, eax
je 0x406181
lea esi, [ebp - 0x22c]
jmp 0x406154
xor ecx, ecx
test dword [ebx + 0xc], 0xffffffff
je 0x406181
test dword [ebx + 0x10], 8
jne 0x406181
lea edx, [ebp - 0x258]
push edx
push dword [ebx + 0xc]
mov edx, dword [sym.imp.KERNEL32.DLL_FindNextFileA]
call fcn.004091c8
mov word [ebp - 0x90], 0
lea esi, [ebp - 0x22c]
jae 0x4060f0
cld
xor al, al
mov ecx, 0x140
lea edi, [ebp - 0x258]
rep stosb byte es:[edi], al
xor ecx, ecx
mov byte [esi], cl
mov dword [ebx + 0x10], ecx
xchg dword [ebx + 0xc], ecx
jecxz 0x4060ee
push ecx
mov edx, dword [sym.imp.KERNEL32.DLL_FindClose]
call fcn.004091c8
jmp 0x406154
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebx + 0x10]
test ecx, 8
je 0x40610a
test eax, 8
je 0x4060a0
jmp 0x406154
and eax, 0x16
je 0x406144
test eax, 2
je 0x40611e
test ecx, 2
je 0x4060a0
test eax, 4
je 0x406131
test ecx, 4
je 0x4060a0
test eax, 0x10
je 0x406144
test ecx, 0x10
je 0x4060a0
test ecx, 0x80
je 0x406154
test ecx, eax
je 0x4060a0
cld
xor al, al
mov ecx, 0x103
mov edi, esi
repne scasb al, byte es:[edi]
lea ecx, [edi - 1]
sub ecx, esi
mov ax, word [esi]
cmp ax, 0x2e
je 0x4060a0
cmp ax, 0x2e2e
jne 0x406181
cmp ecx, 2
je 0x4060a0
push ecx
push esi
cld
mov ecx, 0x140
lea esi, [ebp - 0x258]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x406198
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
push ebp
mov ebp, dword [ebp]
call fcn.0040904c
pop ebp
mov esp, ebp
pop ebp
pop edi
pop esi
pop ecx
pop ebx
jb 0x4061af
pop eax
ret
mov edx, eax
pop eax
jmp fcn.00405831
Function at 0x40628a
Capabilities:
Terminate process

Disassembly:
push esi
mov ax, word [ebp - 0x46]
call fcn.00407486
jb 0x4062ae
test word [esi + 0xc], 1
je 0x4062ac
call fcn.004062bb
jb 0x4062ae
call fcn.00409005
pop esi
ret
mov al, 0x36
xor edx, edx
call fcn.00409005
pop esi
jmp fcn.0040583c