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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1015d081
push eax
mov dword fs:[0], esp
sub esp, 0xec
push edi
mov edi, ecx
mov eax, dword [edi + 0x5c]
test eax, eax
jne 0x100ed24d
xor eax, eax
pop edi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
add esp, 0xf8
ret
push esi
push 0x400
lea ecx, [esp + 0xc]
call fcn.101541dd
push 0
push 0x1000
lea eax, [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x10c], 0
call fcn.10153428
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 1
push ecx
mov ecx, dword [edi + 0x5c]
call fcn.100e63f0
lea ecx, [esp + 8]
call fcn.1015444c
lea ecx, [esp + 0x30]
call fcn.1015358c
mov edx, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x28]
push 0
push 0x1000
lea eax, [esp + 0x10]
push 1
push eax
lea ecx, [esp + 0x84]
call fcn.10153428
lea ecx, [esp + 0x74]
lea esi, [edi + 0x60]
push ecx
mov ecx, esi
mov byte [esp + 0x100], 2
call fcn.100e6860
lea ecx, [esp + 0x74]
call fcn.1015358c
lea ecx, [esp + 8]
call fcn.1015444d
mov eax, dword [edi + 0x5c]
lea edx, [esp + 0xb8]
push edx
push 0x3c
mov eax, dword [eax + 0xc8]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, esi
call fcn.100e4010
mov edx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [edx + 0xdc]
mov dword [esi + 0xdc], eax
call fcn.100e6300
mov ecx, esi
call fcn.100e6ea0
mov eax, dword [edi + 0x5c]
push 0xffffffffffffffff
mov ecx, esi
mov eax, dword [eax + 0xe0]
mov dword [esi + 0xe0], eax
call fcn.100e6300
mov ecx, esi
call fcn.100e6ea0
mov ecx, dword [edi + 0x5c]
push 0xffffffffffffffff
mov eax, dword [ecx + 0xe4]
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.100e6300
mov ecx, esi
call fcn.100e6ea0
mov ecx, dword [edi + 0x5c]
call fcn.100e37f0
push eax
mov ecx, esi
call fcn.100e3800
mov ecx, dword [edi + 0x5c]
call fcn.100e3db0
push eax
mov ecx, esi
call fcn.100e3d50
mov ecx, dword [edi + 0x5c]
call fcn.100e3ed0
push eax
mov ecx, esi
call fcn.100e3e80
mov ecx, dword [edi + 0x5c]
push 0
call fcn.100e30d0
push eax
mov ecx, esi
call fcn.100e30e0
mov edx, dword [edi + 0x7c]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 1
call fcn.10153504
lea ecx, [esp + 0x30]
mov byte [esp + 0xfc], 0
call fcn.10153504
lea ecx, [esp + 8]
mov dword [esp + 0xfc], 0xffffffff
call fcn.10154266
mov ecx, dword [esp + 0xf4]
pop esi
mov eax, 1
pop edi
mov dword fs:[0], ecx
add esp, 0xf8
ret
Function at 0x100eea90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x1015d2a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call fcn.1014a478
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call fcn.1014a478
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], method.CMenu.virtual_0
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.100ef5b0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x100ef600
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1015d380
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.10156478
mov edi, dword [eax + 0xc]
xor ebp, ebp
cmp edi, ebp
jne 0x100ef633
xor al, al
jmp 0x100ef75f
mov ebx, dword [esp + 0x28]
push 0xf1
and ebx, 0xffff
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x100ef655
xor al, al
jmp 0x100ef75f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x100ef668
xor al, al
jmp 0x100ef75f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x100ef67c
xor al, al
jmp 0x100ef75f
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call fcn.1014a53d
test eax, eax
jne 0x100ef6b0
xor al, al
jmp 0x100ef75f
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x101cc31c
mov dword [esp + 0x20], ebp
call fcn.10156478
mov eax, dword [eax + 0xc]
push ebx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call fcn.101530dd
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call fcn.10153134
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x100ef744
mov ax, word [ebx]
test ax, ax
je 0x100ef736
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.100ef780
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x100ef71a
mov dword [esp + 0x10], method.CGdiObject.virtual_0
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call fcn.10153134
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x100efcc0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x50
push esi
mov esi, dword [esp + 0x58]
push edi
push eax
mov ecx, esi
call fcn.1015488a
mov edi, eax
mov eax, dword [esi]
test eax, eax
je 0x100efd06
lea ecx, [esp + 8]
push 0x50
push ecx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 8]
push edx
call fcn.10135968
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
mov dword [ecx], eax
pop esi
add esp, 0x50
ret 0xc
mov edx, dword [esp + 0x64]
lea ecx, [esp + 8]
mov eax, dword [edx]
push eax
push 0x101efe54
push ecx
call fcn.101370a1
add esp, 0xc
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop esi
add esp, 0x50
ret 0xc
Function at 0x100f0b90
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 0x100f0c33
test eax, eax
jbe 0x100f0c33
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x100f0c33
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 0x100f0bde
xor esi, esi
jmp 0x100f0be4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x100f0c0f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.100887b0
add esi, eax
push esi
mov ebx, esi
call fcn.100887b0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x100f0bf0
pop ebp
test edi, edi
pop edi
jne 0x100f0c33
test ebx, ebx
je 0x100f0c33
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.10136470
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x100f0d70
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 0x100f0e8d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100f0e8d
mov eax, dword [esi + 0x3c]
push eax
call fcn.1014dce2
mov esi, eax
test esi, esi
je 0x100f0e8d
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 0x100f0e8d
mov ecx, esi
call fcn.100f0ce0
cmp edi, eax
jge 0x100f0e8d
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 0x100f0e13
mov dword [esp + 0x34], 1
jmp 0x100f0e6e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x100f0e8d
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.100f0280
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 0x100f9420
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7fffff00
cmp edx, 0x7ff7a500
je 0x100f943e
mov eax, 3
jmp 0x100f9443
and eax, 0xff
and eax, 0x3f
push esi
cmp eax, 6
je 0x100f9480
cmp eax, 0x26
jne 0x100f94c7
mov eax, dword [ecx]
mov ecx, dword [esp + 0xc]
cmp ecx, 1
jl 0x100f94c7
xor edx, edx
mov dl, byte [eax + 6]
cmp ecx, edx
jg 0x100f94c7
mov edx, dword [esp + 0x10]
lea ecx, [eax + ecx*8 + 8]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x100f9479
mov dword [ecx], eax
mov eax, 0x101fc334
pop esi
ret
mov ecx, dword [ecx]
mov eax, dword [esp + 0xc]
cmp eax, 1
mov esi, dword [ecx + 0xc]
jl 0x100f94c7
cmp eax, dword [esi + 0x28]
jg 0x100f94c7
mov edx, dword [ecx + eax*4 + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov edx, dword [edx + 8]
mov dword [edi], edx
mov edx, dword [esp + 0x18]
test edx, edx
pop edi
je 0x100f94b0
mov ecx, dword [ecx + eax*4 + 0xc]
mov dword [edx], ecx
mov edx, dword [esi + 0x1c]
mov eax, dword [edx + eax*8 - 8]
test eax, eax
jne 0x100f94c2
mov eax, 0x101fc334
pop esi
ret
add eax, 0x10
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x10108e10
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor eax, ecx
mov ecx, esi
shr ecx, 5
inc ecx
cmp esi, ecx
jb 0x10108e4b
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [edi + esi - 1]
sub esi, ecx
shl ebx, 5
add edx, ebx
mov ebx, eax
shr ebx, 2
add edx, ebx
xor eax, edx
cmp esi, ecx
jae 0x10108e2d
pop edi
pop ebx
pop esi
ret
Function at 0x1011bc40
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0
call fcn.101220c0
mov ebp, dword [esp + 0x220]
mov eax, dword [esp + 0x21c]
push ebp
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edi, eax
cmp edi, 0x20
ja 0x1011bd39
lea ecx, [esp + 0x10]
push ecx
push str..htm
push closesocket
mov ecx, esi
call fcn.1011bd50
test eax, eax
jne 0x1011bd39
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push closesocket
mov ecx, esi
call fcn.1011bd50
test eax, eax
jne 0x1011bd39
lea edx, [esp + 0x10]
push 0x101f36a8
push edx
call fcn.10136ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1011bd0a
lea eax, [esp + 0x10]
push 0x101f36a4
push eax
call fcn.10136ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1011bd0a
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x1011bd0d
mov byte [esi], 0
push 0x101f2e6c
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8

Function at 0x1011bd50
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x1011bdb2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x10122000
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1015e588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x118]
test eax, eax
jne 0x101220b0
mov eax, dword [0x101f72e8]
push esi
mov dword [esp + 8], eax
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.1014c65c
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.1014c6ab
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call fcn.1014c608
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x10122097
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x10122097
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x118], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call fcn.1014c278
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x101251b0
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1015ea10
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [esp + 0x30]
mov esi, ecx
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x10125357
mov ecx, dword [0x101f72e8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 8]
mov bl, 1
test ecx, ecx
mov byte [esp + 0x28], bl
jle 0x101252ac
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
mov ecx, esi
call fcn.10123ed0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 2
call fcn.1014c365
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.1014c278
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x101f2e6c
call fcn.1014c2e6
lea edx, [esp + 0x14]
push 0x3d
push edx
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.10124290
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call fcn.1014c365
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.1014c278
lea ecx, [esp + 0xc]
call fcn.1014c740
mov ecx, dword [esp + 0xc]
push 0x101f38ac
push ecx
call fcn.10135a94
add esp, 8
test eax, eax
je 0x101252d4
mov edx, dword [edi]
mov ecx, dword [esp + 0x10]
mov eax, dword [edx - 8]
cmp ecx, eax
jl 0x1012520d
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.1014c278
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call fcn.1014c278
jmp 0x1012535b
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.10124f50
test eax, eax
push 0
je 0x1012533f
lea ecx, [esp + 0x34]
push 0x64
push ecx
mov ecx, esi
call fcn.101235f0
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x10125325
cmp eax, 0x64
jg 0x10125313
mov edx, dword [esp + 0x38]
push eax
push 0x64
push edx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x101252b0
push 0x64
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x101252b0
cmp eax, 0x64
jge 0x101252ac
mov ecx, dword [esp + 0x34]
push 0x64
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov esi, eax
jmp 0x101252b0
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, esi
call fcn.101235f0
mov esi, eax
jmp 0x101252b0
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp esi, eax
jl 0x10125365
mov eax, esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x10
Function at 0x101317b0
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 0x101317f9
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 0x10131c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1015ef80
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.10131820
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.101318a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.101318a0
lea ecx, [esi + 0xc]
call fcn.1014c203
lea ecx, [esi + 0x10]
call fcn.1014c203
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.10132e30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.10132e30
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.10132e30
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.1014c278
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.1014c278
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x10133020
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 0x10133086
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 0x10133086
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x10133067
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x10143ba8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10143bc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10137fd4
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x10143beb
test byte [esp + 8], 2
je 0x10143beb
call fcn.10138047
mov dword [eax], 0xd
call fcn.10138050
mov dword [eax], 5
jmp 0x10143bc4
xor eax, eax
ret

Function at 0x1014e686
Capabilities:
Get graphical window text

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

Function at 0x1014fe7d
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 0x1014febf
call fcn.10156478
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x1014febf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1014feb6
xor eax, eax
jmp 0x1014fec7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.1014fecd
pop edi
pop esi
pop ebx
ret 4
Function at 0x406ca2
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x406cd9
mov esp, ebp
pop ebp
ret
Function at 0x42bcbe
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x42bce0
mov eax, 0xfffffffd
jmp 0x42bdc0
mov ebx, dword [0x878824]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x42bd8e
mov ebx, dword [0x878824]
add ebx, 4
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 6
jne 0x42bd2f
mov ebx, dword [0x878824]
add ebx, 8
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0xc]
cmp dword [ebx], 2
jne 0x42bd2f
mov eax, 1
jmp 0x42bd34
mov eax, 0
test eax, eax
je 0x42bd60
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x42bd49
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x878824]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x42bdb6
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x42bdc0
mov esp, ebp
pop ebp
ret 4

Function at 0x42bf10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x42bfc3
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x42c91e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0042bf10
test eax, eax
je 0x42c961
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x42c961
cmp word [eax], 0x5a4d
jne 0x42c961
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x42c961
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.0042bfe2
mov eax, dword [ebp + 8]
jmp 0x42c97a
mov esp, ebp
pop ebp
ret 4