joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426230
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1418]
mov dword [esp + 0x41c], eax
push eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x141c], 0
mov dword [ebp - 0x140c], 0
xor eax, eax
push fcn.00426210
push ebp
push 0x413bf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x42642c
lea eax, [ebp - 0x64]
xor cl, cl
mov edx, 0x44
call fcn.00404160
mov dword [ebp - 0x64], 0x44
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x38], 0x101
mov word [ebp - 0x34], 0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x140c]
call fcn.00403950
push 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1418], eax
mov eax, 0x575048
mov dword [ebp - 0x1414], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1410], eax
lea edx, [ebp - 0x1418]
mov ecx, 2
lea eax, [ebp - 0x140c]
call fcn.00408b80
mov eax, dword [ebp - 0x140c]
test eax, eax
jne 0x42633e
mov eax, 0x5c12f0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x42641c
push 0x64
push dword [ebp - 0x74]
call sub.kernel32.dll_WaitForSingleObject
mov dword [ebp - 0x1408], eax
mov eax, dword [0x5550a0]
call fcn.00420a10
mov dword [ebp - 0x1404], 0
push 0
lea eax, [ebp - 0x1404]
push eax
push 0x1388
lea eax, [ebp - 0x1400]
push eax
push dword [ebp - 0x1c]
call sub.kernel32.dll_ReadFile
mov eax, dword [ebp - 0x1404]
mov byte [ebp + eax - 0x1400], 0
lea eax, [ebp - 0x1400]
push eax
lea eax, [ebp - 0x1400]
push eax
call sub.user32.dll_OemToCharA
push 1
lea eax, [ebp - 0x141c]
push eax
lea eax, [ebp - 0x1400]
xor cx, cx
mov edx, 0x1388
call fcn.004091f0
mov edx, dword [ebp - 0x141c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3b8]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x3b8]
mov ecx, dword [ecx]
call dword [ecx + 0xa8]
cmp dword [ebp - 0x1404], 0x1388
jae 0x426368
cmp dword [ebp - 0x1408], 0x102
je 0x42634e
mov eax, dword [ebp - 0x74]
call fcn.00440c70
mov eax, dword [ebp - 0x70]
call fcn.00440c70
mov eax, dword [ebp - 0x1c]
call fcn.00440c70
mov eax, dword [ebp - 0x20]
call fcn.00440c70
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00426210
leave
ret
Function at 0x427d80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00427d70
push ebp
push 0x413bf0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x427e90
mov al, byte [ebp - 0x110]
test al, al
je 0x427e59
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404c40
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409080
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409e70
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5755c8
call fcn.0043fb80
mov edx, 0x427dea
mov ecx, ebp
call fcn.00413a90
jmp 0x427e90
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5755c8
call fcn.0043fb80
mov edx, 0x427e59
mov ecx, ebp
call fcn.00413a90
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x427f54
mov al, byte [ebp - 0x110]
test al, al
je 0x427f1d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404c40
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409080
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.00409e70
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5755c8
call fcn.0043fb80
mov edx, 0x427eae
mov ecx, ebp
call fcn.00413a90
jmp 0x427f54
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x5755c8
call fcn.0043fb80
mov edx, 0x427f1d
mov ecx, ebp
call fcn.00413a90
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00427700
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00427d70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b1d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x576254
call fcn.0040c9e0
test al, al
je 0x42b2b6
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0042b2d0
xor eax, eax
push fcn.0042b1c0
push ebp
push 0x413bf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.004087f0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.0042a3c0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.00429e80
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042b1c0
jmp 0x42b2c1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0042d4e0
mov esp, ebp
pop ebp
ret
Function at 0x4377e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc10], 0
xor eax, eax
push fcn.004377d0
push ebp
push 0x413bf0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc10]
call fcn.004087f0
lea eax, [ebp - 0xc10]
call fcn.00403990
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x437840
mov eax, 0x5c12f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x4378ea
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040f580
xor eax, eax
push fcn.004377c0
push ebp
push 0x413bf0
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0xc0c]
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x43789c
mov eax, 0x5c12f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4378d8
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x57acec
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4378d8
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004377c0
jmp 0x437948
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x43790c
mov eax, 0x5c12f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x437948
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x57acec
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x437948
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004377d0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x440d50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00440d40
push ebp
push 0x413bf0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x440dc0
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040b2a0
cmp ebx, 1
jle 0x440db0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040abe0
jmp 0x440dcb
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004087f0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00440d40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4411d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004411c0
push ebp
push 0x413bf0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x5c299c]
xor edx, edx
call fcn.004087f0
mov dword [ebx*4 + 0x5c29bc], 0xffffffff
cmp ebx, 7
jl 0x4411f8
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x441284
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.004091f0
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.00438490
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x441284
push 4
push ebx
push esi
mov eax, 0x4410a0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x441130
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004411c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4418c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x5c2a00], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5c2860], eax
mov eax, dword [ebp - 0x90]
mov dword [0x5c2870], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x5c2880], eax
mov eax, dword [ebp - 0x88]
mov dword [0x5c2890], eax
mov edx, 0x5c28a1
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00403480
lea eax, [ebp - 0x80]
call fcn.004045e0
mov byte [0x5c28a0], al
mov eax, 0x57b1b0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x5c2a10], eax
test eax, eax
je 0x441960
mov eax, 0x57b1bc
push eax
push dword [0x5c2a10]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5c2a00], eax
nop
cmp dword [0x5c2870], 6
jae 0x441974
mov dword [0x5553c0], 0
nop
cmp dword [0x5c2870], 6
jb 0x441990
cmp dword [0x5c2880], 1
jb 0x441990
mov dword [0x5553d0], 2
mov esp, ebp
pop ebp
ret
Function at 0x451710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x451738
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
lea esi, [esi]
cmp dword [ebp - 0xc], 0
je 0x4517e6
mov esi, esi
xor eax, eax
push 0x4517c7
push ebp
push 0x413f70
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_LoadResource
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14], 0
je 0x45179c
push dword [ebp + 8]
push dword [ebp - 4]
call sub.kernel32.dll_SizeofResource
mov ebx, eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, dword [ebp - 0xc]
mov ecx, ebx
call fcn.00427700
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x4517bc
cmp dword [ebp - 8], 0
je 0x4517bc
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4517e6
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x48e780
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 1
jne 0x48e7a8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call dword [edx + 0x34]
mov dword [ebp - 0xc], eax
lea esi, [esi]
cmp dword [ebp - 0xc], 0
je 0x48e85e
mov esi, esi
xor eax, eax
push 0x48e83f
push ebp
push 0x413f70
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0xc]
xor edx, edx
call fcn.0040cad0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x20], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], 0
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0xc], 0
je 0x48e834
cmp dword [ebp - 8], 0
je 0x48e834
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx]
call dword [edx + 0x44]
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
jmp 0x48e85e
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x498050
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x4980fa
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x498116
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x498116
sub dx, 0x20
je 0x4980f0
sub dx, 0x80
je 0x4980f0
sub dx, 0x1f62
jb 0x498116
sub dx, 1
jbe 0x4980f0
sub dx, 6
je 0x4980f0
sub dx, 0x26
jne 0x498116
nop
jmp 0x4980f0
cmp eax, dword [ebp - 0x20]
jg 0x498098
lea esi, [esi]
jmp 0x498116
cmp dword [ebp - 0x1c], 2
jne 0x49810a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x498116
mov al, byte [ebp - 0xc]
call fcn.0040aef0
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x498194
sub ax, 0x21
je 0x4981a8
sub ax, 0x17
je 0x4981b4
sub ax, 0x222
je 0x4981c0
sub ax, 0x392
je 0x4981c8
sub ax, 1
je 0x4981d0
sub ax, 0x1996
je 0x4981d8
sub ax, 1
je 0x4981e0
sub ax, 6
je 0x4981e8
sub ax, 0xb
je 0x4981f8
sub ax, 0x1b
je 0x4981f0
sub ax, 0x367
je 0x498200
jmp 0x498208
mov ax, word [ebp - 0x24]
call fcn.0040af90
mov byte [ebp - 0x10], al
jmp 0x498210
mov byte [ebp - 0x10], 0x20
jmp 0x498210
mov byte [ebp - 0x10], 0x2e
jmp 0x498210
mov byte [ebp - 0x10], 0x27
jmp 0x498210
mov byte [ebp - 0x10], 0x2c
jmp 0x498210
mov byte [ebp - 0x10], 0x27
jmp 0x498210
mov byte [ebp - 0x10], 0x20
jmp 0x498210
mov byte [ebp - 0x10], 0x20
jmp 0x498210
mov byte [ebp - 0x10], 0x20
jmp 0x498210
mov byte [ebp - 0x10], 0x20
jmp 0x498210
mov byte [ebp - 0x10], 0x2d
jmp 0x498210
mov byte [ebp - 0x10], 0x27
jmp 0x498210
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4b5500
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov edx, eax
xor eax, eax
lea ebx, [edx + 1]
movzx ecx, byte [edx]
add ecx, 1
and ecx, 0xff
add edx, ecx
jmp 0x4b5531
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor ecx, esi
mov eax, ecx
add ebx, 1
cmp edx, ebx
ja 0x4b5520
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4db560
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x4db59c
mov edi, 0xffffffff
lea esi, [esi]
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x5c4120]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x4db578
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4dd100
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 8], eax
lea esi, [esi]
mov edx, edi
mov eax, dword [edx + 0x30]
mov ecx, dword [edx + 0x68]
sub eax, ecx
sub eax, dword [edx + 0x60]
mov dword [ebp - 4], eax
test eax, eax
jne 0x4dd145
mov eax, edi
cmp dword [eax + 0x60], 0
jne 0x4dd145
cmp dword [eax + 0x68], 0
jne 0x4dd145
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x4dd234
cmp dword [ebp - 4], 0xffffffff
jne 0x4dd154
sub dword [ebp - 4], 1
jmp 0x4dd234
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, eax
mov eax, edx
mov edx, ecx
mov esi, eax
sub edx, 0x106
sbb esi, 0
add edx, ecx
adc esi, eax
mov eax, dword [edi + 0x60]
xor ecx, ecx
cmp esi, ecx
jl 0x4dd185
jg 0x4dd234
cmp edx, eax
ja 0x4dd234
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 8]
mov edx, dword [edi + 0x2c]
mov ecx, dword [ebp - 8]
call fcn.00403480
mov eax, dword [ebp - 8]
sub dword [edi + 0x64], eax
mov eax, dword [ebp - 8]
sub dword [edi + 0x60], eax
mov eax, dword [ebp - 8]
sub dword [edi + 0x50], eax
mov ebx, dword [edi + 0x40]
mov eax, dword [edi + 0x38]
lea eax, [eax + ebx*2]
mov dword [ebp - 0x10], eax
lea esi, [esi]
sub dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
movzx edx, word [eax]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
ja 0x4dd1db
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov word [edx], ax
jmp 0x4dd1e3
mov eax, dword [ebp - 0x10]
mov word [eax], 0
sub ebx, 1
jne 0x4dd1b8
mov ebx, dword [ebp - 8]
mov eax, dword [edi + 0x34]
lea eax, [eax + ebx*2]
mov dword [ebp - 0x10], eax
lea esi, [esi]
sub dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
movzx edx, word [eax]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
ja 0x4dd21b
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov word [eax], dx
jmp 0x4dd223
mov eax, dword [ebp - 0x10]
mov word [eax], 0
sub ebx, 1
jne 0x4dd1f8
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea esi, [esi]
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x4dd2a3
mov eax, edi
mov edx, dword [eax + 0x2c]
mov ecx, dword [eax + 0x60]
mov eax, dword [eax + 0x68]
add eax, ecx
add edx, eax
mov eax, dword [edi]
mov ecx, dword [ebp - 4]
call fcn.004dcd80
mov ebx, eax
add dword [edi + 0x68], ebx
cmp dword [edi + 0x68], 3
jb 0x4dd28c
mov eax, edi
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0x60]
movzx eax, byte [edx + eax]
mov dword [edi + 0x3c], eax
mov eax, edi
mov edx, dword [eax + 0x2c]
mov ecx, dword [eax + 0x60]
movzx edx, byte [edx + ecx + 1]
mov esi, dword [eax + 0x3c]
mov ecx, dword [eax + 0x4c]
shl esi, cl
xor edx, esi
and edx, dword [eax + 0x48]
mov dword [edi + 0x3c], edx
mov eax, edi
cmp dword [eax + 0x68], 0x106
jae 0x4dd2a3
mov eax, dword [eax]
cmp dword [eax + 4], 0
jne 0x4dd118
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4e3fe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4e4004
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x4e40ca
mov esi, esi
xor eax, eax
push 0x4e40ab
push ebp
push 0x413f70
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040cad0
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov edx, 1
mov eax, 0x575eb0
call fcn.00429670
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004e4270
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004e42e0
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004e4350
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4e40a0
cmp dword [ebp - 4], 0
je 0x4e40a0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4e40ca
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ebff0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
cmp dword [esi + 0x14], 0xca
jne 0x4ec024
mov eax, esi
call fcn.004f0420
cmp byte [esi + 0x40], 0
je 0x4ec01c
mov dword [esi + 0x14], 0xcf
mov bl, 1
jmp 0x4ec0d5
mov dword [esi + 0x14], 0xcb
nop
cmp dword [esi + 0x14], 0xcb
jne 0x4ec0b4
mov eax, dword [esi + 0x184]
cmp byte [eax + 0x10], 0
je 0x4ec0ac
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4ec058
mov eax, esi
mov edx, dword [esi + 8]
call dword [edx]
lea esi, [esi]
mov eax, esi
mov edx, dword [esi + 0x184]
call dword [edx]
mov edi, eax
test edi, edi
jne 0x4ec070
xor bl, bl
jmp 0x4ec0d5
cmp edi, 2
je 0x4ec0aa
lea esi, [esi]
cmp dword [esi + 8], 0
je 0x4ec048
cmp edi, 3
je 0x4ec088
cmp edi, 1
jne 0x4ec048
mov eax, dword [esi + 8]
add dword [eax + 4], 1
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
cmp edx, dword [eax + 8]
jl 0x4ec048
mov edx, dword [esi + 8]
mov eax, dword [esi + 0x110]
add dword [edx + 8], eax
mov esi, esi
jmp 0x4ec048
mov esi, esi
mov eax, dword [esi + 0x70]
mov dword [esi + 0x78], eax
jmp 0x4ec0cc
cmp dword [esi + 0x14], 0xcc
je 0x4ec0cc
mov ecx, dword [esi + 0x14]
mov eax, esi
mov dl, 0x14
call fcn.004ec430
lea esi, [esi]
mov eax, esi
call fcn.004ec0e0
mov bl, al
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret