joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401393
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
xor edi, edi
push 0x218
mov dword [ebx + 0x1ec], eax
mov dword [ebx + 0x1e8], 0x1000
mov dword [ebx + 0x1e0], edi
mov dword [ebx + 0x1f0], edi
call fcn.00409187
mov esi, eax
cmp esi, edi
pop ecx
je 0x4013d3
mov dword [esi], edi
call section..text
jmp 0x4013d5
xor esi, esi
cmp esi, edi
mov dword [ebx + 0x1e4], esi
je 0x4014a0
mov dword [ebp - 4], edi
mov esi, ebx
push edi
push edi
push edi
push edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [esi], eax
je 0x401418
push dword [esi + 4]
mov ecx, dword [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, ebx
call fcn.00401596
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xc], eax
inc dword [ebp - 4]
add esi, 0x10
cmp dword [ebp - 4], 0x1c
jl 0x4013e8
push edi
push edi
push edi
push edi
mov dword [ebx + 0x1d4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
mov dword [ebx + 0x1d0], esi
call fcn.0040405c
test eax, eax
je 0x40146d
push 8
lea eax, [ebp - 8]
push eax
push 2
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
push 0xc
sub esp, 0x10
mov esi, 0x44a058
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00403f31
add esp, 0x20
xor edi, edi
push edi
push edi
push edi
push edi
mov dword [ebx + 0x1c4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp eax, edi
mov dword [ebx + 0x1c0], eax
je 0x4014a0
lea eax, [ebp - 4]
push eax
push edi
push ebx
push 0x401679
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x1f0], eax
pop edi
mov eax, ebx
pop esi
leave
ret

Function at 0x40247a
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0xfffffffffffffff0
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
je 0x4024a2
push 3
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push ebp
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, eax
cmp esi, edi
je 0x4024cb
push 1
push edi
push esi
call ebx
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp esi, edi
je 0x4024dc
push 0
push edi
push esi
call ebx
push 1
push 0
push ebp
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x402d7f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareRealtekHDAudio
push DirectSoundEnumerateW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402dd6
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Language
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 8]
leave
ret

Function at 0x40488e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x456670]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], eax
call dword [0x457d50]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00404c25
push dword [ebp - 0x218]
lea eax, [ebp - 0x110]
push str.Powercfg.exe__C___s_
push 0x104
push eax
call fcn.00426ec6
add esp, 0x10
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x214]
cmp dword [ebp - 0x218], eax
je 0x404913
push dword [ebp - 0x218]
call fcn.00426ee2
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042684e
leave
ret

Function at 0x40491f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x456670]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x218], eax
call dword [0x457d50]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00404c25
push dword [ebp - 0x218]
lea eax, [ebp - 0x110]
push str.Powercfg.exe__S___s_
push 0x104
push eax
call fcn.00426ec6
add esp, 0x10
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
lea eax, [ebp - 0x214]
cmp dword [ebp - 0x218], eax
je 0x404999
push dword [ebp - 0x218]
call fcn.00426ee2
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042684e
leave
ret
Function at 0x4049a5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x456670]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x10
mov eax, 0x43f38a
call fcn.00428698
xor edi, edi
call fcn.004095b3
push eax
lea ecx, [ebp - 0x10]
call fcn.0040289d
mov eax, dword [ebp + 0x214]
dec eax
dec eax
mov dword [ebp - 4], edi
mov word [esi], di
je 0x404a2f
dec eax
je 0x404a28
dec eax
je 0x404a21
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004025e3
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0042684e
add ebp, 0x20c
leave
ret 4
push str.RingBackTone
jmp 0x404a34
push str.BusyTone
jmp 0x404a34
push str.DialTone
lea ecx, [ebp - 0x10]
call fcn.004027aa
lea eax, [ebp - 0x14]
push eax
push 0x20019
push edi
push str.SoftwareRealtekSkytelSound
push DirectSoundEnumerateW
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4049ef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x104
call fcn.004024ec
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x404a9a
lea eax, [ebp]
push eax
push esi
call fcn.00426959
pop ecx
xor edi, edi
pop ecx
inc edi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00404d4e
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4049ef

Function at 0x4050f4
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40511f
xor eax, eax
jmp 0x40513e
push str.SkyTel
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x405133
xor esi, esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret

Function at 0x405141
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x456670]
xor eax, ebp
mov dword [ebp + 0x194], eax
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
push str.SoftwareRealtekSkytel
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4051b9
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.VSRPath
push dword [ebp - 0x78]
xor esi, esi
inc esi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4051ab
xor esi, esi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
jmp 0x4051bb
xor eax, eax
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
call fcn.0042684e
add ebp, 0x198
leave
ret
Function at 0x405e50
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x456670]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
cmp dword [esi + 0x19c], edi
mov dword [esi + 0x230], edi
mov dword [esi + 0x234], edi
mov dword [esi + 0x1a0], edi
je 0x405f26
push edi
push str.tSkMainForm.UnicodeClass
push edi
push edi
call dword [sym.imp.USER32.dll_FindWindowExW]
cmp eax, edi
mov dword [esi + 0x1a0], eax
je 0x405f26
push 0x28
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.004274a0
add esp, 0xc
push 0x14
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x1a0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push str.TTntPageControl.UnicodeClass
push dword [esi + 0x1a0]
mov ecx, esi
call fcn.00405f51
cmp eax, edi
mov dword [esi + 0x234], eax
jne 0x405ef2
push str.TSkypeTabControl
push dword [esi + 0x1a0]
mov ecx, esi
call fcn.00405f51
mov dword [esi + 0x234], eax
push str.TFilterbarEdit.UnicodeClass
push dword [esi + 0x1a0]
mov ecx, esi
call fcn.00405f51
cmp eax, edi
mov dword [esi + 0x230], eax
jne 0x405f26
push str.TRichViewEdit
push dword [esi + 0x1a0]
mov ecx, esi
call fcn.00405f51
mov dword [esi + 0x230], eax
cmp dword [esi + 0x1a0], edi
je 0x405f42
cmp dword [esi + 0x234], edi
je 0x405f42
cmp dword [esi + 0x230], edi
je 0x405f42
mov al, 1
jmp 0x405f44
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042684e
leave
ret

Function at 0x406e1a
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [eax + 0x208]
cmp dword [eax - 0xc], 0
jne 0x406e45
mov ecx, dword [esp + 4]
add ecx, 0xfffffff0
call fcn.004025e3
mov ecx, dword [esp + 8]
add ecx, 0xfffffff0
call fcn.004025e3
mov eax, 0x460328
jmp 0x406e7e
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, dword [esp + 0x14]
push eax
push 0x400
mov esi, 0x460328
push esi
push 0x44a444
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebx - 0x10]
call fcn.004025e3
lea ecx, [edi - 0x10]
call fcn.004025e3
pop edi
mov eax, esi
pop esi
pop ebx
ret 8
Function at 0x407998
Capabilities:
Suspend thread

Disassembly:
push 0
mov eax, 0x43f908
call fcn.00428698
mov edi, dword [ebp + 8]
mov dword [edi], vtable.CSkyTelDlg.0
mov dword [ebp - 4], 8
push dword [edi + 0x238]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x214]
test eax, eax
je 0x4079d3
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esi, dword [edi + 0x134]
test esi, esi
je 0x4079e2
call fcn.00401dec
mov eax, dword [edi + 0x138]
test eax, eax
je 0x4079f2
push eax
call fcn.00407ae0
lea esi, [edi + 0x13c]
mov eax, dword [esi]
test eax, eax
je 0x407a0d
call dword [eax + 0xc]
mov ecx, dword [esi]
test ecx, ecx
je 0x407a0d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [edi + 0x140]
test eax, eax
je 0x407a1e
push eax
call fcn.004091b2
pop ecx
mov ecx, dword [edi + 0x214]
test ecx, ecx
je 0x407a2f
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push 0
xor ecx, ecx
mov edx, edi
call fcn.004062a2
mov ebx, dword [edi + 0x210]
test ebx, ebx
je 0x407a50
call fcn.004014a6
push ebx
call fcn.004091b2
pop ecx
mov ecx, dword [edi + 0x12c]
test ecx, ecx
je 0x407a61
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [edi + 0x21c]
push 0x10
pop esi
sub ecx, esi
mov dword [edi + method.CList_class_IControlSiteFactory___class_IControlSiteFactory__.virtual_0], vtable.CLanguageMgr.0
call fcn.004025e3
mov ecx, dword [edi + 0x20c]
sub ecx, esi
call fcn.004025e3
mov ecx, dword [edi + 0x208]
sub ecx, esi
call fcn.004025e3
lea ecx, [edi + 0x1a4]
mov byte [ebp - 4], 3
call fcn.00413f2c
lea ecx, [edi + 0x148]
mov byte [ebp - 4], 2
call fcn.00413f2c
mov ecx, dword [edi + 0x94]
sub ecx, esi
call fcn.004025e3
lea eax, [edi + 0x74]
push eax
mov byte [ebp - 4], 0
call fcn.00402f1f
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.004112d5
call fcn.00428770
ret 4

Function at 0x40f7cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40f812
call fcn.0040a5ed
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f812
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40f82d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040f389
test ebx, ebx
mov esi, eax
je 0x40f82b
test edi, edi
je 0x40f82b
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4125c6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x456670]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x412603
push 0x441c00
push 4
push eax
call fcn.004267e2
push eax
call fcn.00402a6b
add esp, 0x10
jmp 0x412615
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x412680
push edi
call fcn.004287dd
mov edi, dword [eax]
call fcn.004287dd
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00427566
add esp, 0x18
mov ebx, eax
call fcn.004287dd
cmp dword [eax], 0
je 0x412660
call fcn.004287dd
push dword [eax]
call fcn.00409a1b
pop ecx
jmp 0x412667
call fcn.004287dd
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x412680
cmp ebx, esi
jae 0x412680
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x412682
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042684e
leave
ret
Function at 0x413563
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4135a9
call fcn.0040a5ed
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4135a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4135ec
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4135d5
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4135d5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4135e9
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42684e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456670]
jne 0x426858
repz ret
jmp fcn.0042c049
Function at 0x42a027
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x456800]
je 0x42a042
inc edi
cmp edi, 0x17
jb 0x42a033
cmp edi, 0x17
jae 0x42a1c2
push ebp
push 3
call fcn.00434340
cmp eax, 1
pop ecx
je 0x42a18e
push 3
call fcn.00434340
test eax, eax
pop ecx
jne 0x42a076
cmp dword [0x4565a4], 1
je 0x42a18e
cmp ebx, 0xfc
je 0x42a1c1
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x45a648
push ebp
call fcn.004342db
add esp, 0xc
test eax, eax
je 0x42a0ac
push esi
push esi
push esi
push esi
push esi
call fcn.0042bf29
add esp, 0x14
push 0x104
mov esi, 0x45a661
push esi
push 0
mov byte [0x45a765], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42a0f0
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004342db
add esp, 0xc
test eax, eax
je 0x42a0f0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0042bf29
add esp, 0x14
push esi
call fcn.00434250
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x42a135
push esi
call fcn.00434250
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x45a95c
push 0x444014
sub ecx, eax
push ecx
push eax
call fcn.00434190
add esp, 0x14
test eax, eax
je 0x42a135
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0042bf29
add esp, 0x14
jmp 0x42a137
xor esi, esi
push 0x444010
push ebx
push ebp
call fcn.0043411f
add esp, 0xc
test eax, eax
je 0x42a157
push esi
push esi
push esi
push esi
push esi
call fcn.0042bf29
add esp, 0x14
push dword [edi*8 + 0x456804]
push ebx
push ebp
call fcn.0043411f
add esp, 0xc
test eax, eax
je 0x42a179
push esi
push esi
push esi
push esi
push esi
call fcn.0042bf29
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00433f62
add esp, 0xc
jmp 0x42a1c1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x42a1c1
cmp ebp, 0xffffffff
je 0x42a1c1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x456804]
push dword [esi]
call fcn.00434250
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x433f62
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042abd7
xor ebx, ebx
cmp dword [0x45b140], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x434038
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x434118
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x434118
push eax
call fcn.0042ab69
mov dword [esp], 0x4485cc
push edi
mov dword [0x45b140], eax
call esi
push eax
call fcn.0042ab69
mov dword [esp], 0x4485b8
push edi
mov dword [0x45b144], eax
call esi
push eax
call fcn.0042ab69
mov dword [0x45b148], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00428cf7
test eax, eax
pop ecx
pop ecx
je 0x434006
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042bf29
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x434038
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042ab69
cmp eax, ebx
pop ecx
mov dword [0x45b150], eax
je 0x434038
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042ab69
pop ecx
mov dword [0x45b14c], eax
mov eax, dword [0x45b14c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4340bd
cmp dword [0x45b150], ecx
je 0x4340bd
push eax
call fcn.0042abe0
push dword [0x45b150]
mov esi, eax
call fcn.0042abe0
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4340bd
cmp edi, ebx
je 0x4340bd
call esi
cmp eax, ebx
je 0x43408a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43408a
test byte [ebp - 0x18], 1
jne 0x4340bd
lea eax, [ebp - 0x10]
push eax
call fcn.00428d2e
test eax, eax
pop ecx
je 0x4340a5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042bf29
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4340b4
or dword [ebp + 0x10], 0x200000
jmp 0x4340f8
or dword [ebp + 0x10], 0x40000
jmp 0x4340f8
mov eax, dword [0x45b144]
cmp eax, dword [ebp - 8]
je 0x4340f8
push eax
call fcn.0042abe0
cmp eax, ebx
pop ecx
je 0x4340f8
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4340f8
mov eax, dword [0x45b148]
cmp eax, dword [ebp - 8]
je 0x4340f8
push eax
call fcn.0042abe0
cmp eax, ebx
pop ecx
je 0x4340f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45b140]
call fcn.0042abe0
cmp eax, ebx
pop ecx
je 0x434118
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43411a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43db83
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x456670]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0043db18
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004274a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43dbd2
cmp dword [ebp - 0x1c], 5
jb 0x43dbea
jmp 0x43dbe6
cmp dword [ebp - 0x10], 1
jne 0x43dbea
cmp dword [ebp - 0x1c], 4
ja 0x43dbe6
jne 0x43dbea
cmp dword [ebp - 0x18], 0
jbe 0x43dbea
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x449fc4
call fcn.0043da09
test eax, eax
jge 0x43dc0b
mov byte [0x460b2c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042684e
add ebp, 0x78
leave
ret
Function at 0x100024f2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x2241b0]
mov eax, dword [ecx + 0x3c]
sub esp, 0x2c
add eax, ecx
movzx edx, word [eax + 0x14]
push ebx
push esi
movzx esi, word [eax + 6]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
lea eax, [edx + eax + 0x18]
xor edx, edx
cmp dword [eax + 4], ebx
jne 0x10002528
cmp dword [eax], 0x7373622e
jne 0x10002528
mov edx, eax
add eax, 0x28
dec esi
je 0x10002532
test edx, edx
je 0x10002519
test edx, edx
je 0x10002550
mov eax, dword [edx + 0xc]
test eax, eax
je 0x1000254c
mov edx, dword [edx + 0x10]
test edx, edx
je 0x1000254c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], edx
jmp 0x10002553
push 0xb
jmp 0x10002552
push 2
pop ebx
mov dword [ebp - 0x14], ebx
test ebx, ebx
jne 0x10002660
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
and esi, 0xfff
neg esi
sbb esi, esi
shr eax, 0xc
neg esi
add esi, eax
mov eax, dword [ebp - 0x18]
add eax, ecx
mov dword [ebp - 0xc], eax
mov eax, esi
shl eax, 0xc
push eax
call fcn.100024dd
mov ebx, eax
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x10002659
lea edx, [edi - 1]
and edx, 1
cmp edx, esi
jae 0x1000262f
sub eax, dword [ebp - 0xc]
mov ecx, edx
lea edi, [eax + edi + 0x2251b9]
mov eax, dword [ebp - 0xc]
shl ecx, 0xc
add ecx, ebx
sub eax, ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp + 8]
sub eax, edx
and dword [ebp - 0x1c], 0
lea eax, [eax + ebx - 0x7e47c835]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0x400
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 4]
mov eax, dword [eax + ebx]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10002605
mov ebx, dword [ebp - 0x1c]
sub ebx, dword [ebp - 0x24]
add eax, ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ebx], eax
jmp 0x1000260c
mov dword [ebp - 8], 1
dec dword [ebp - 8]
jne 0x100025dc
mov eax, dword [edi + 4]
sub eax, dword [edi + 8]
add ecx, 0x1000
add eax, dword [edi + 0xc]
inc edx
mov dword [0x2241c0], eax
cmp edx, esi
jb 0x100025bc
mov ebx, dword [ebp - 0x2c]
jmp 0x10002634
mov eax, dword [0x2241c0]
cmp eax, 0x43175ac3
jne 0x1000264a
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, ebx
call 0x10002da2
jmp 0x10002651
mov dword [ebp - 0x14], 0x15
push ebx
call 0x10002932
jmp 0x10002660
mov dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x10038a87
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003db3b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x1007b2e8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.TElementaryQuery.0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.10038a54
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.10038a54
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.10038a54
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.10038a54
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.10038a54
mov eax, dword [ebp - 0x10]
and dword [eax + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x34], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x35], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x36], 1
mov eax, dword [ebp - 0x10]
and dword [eax + 0x30], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret