joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a7cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40a812
call fcn.00404d88
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40a812
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40a82e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040a343
mov esi, eax
test edi, edi
je 0x40a82c
test ebx, ebx
je 0x40a82c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40aff4
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x434b1c
call fcn.00422f35
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40b019
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40b05f
lea ecx, [ebp - 0x10]
call fcn.004018c0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a835
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401880
mov eax, esi
call fcn.0042300d
ret 8

Function at 0x40d7fa
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x40d842
call fcn.00404d88
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40d842
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40d885
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40d86e
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 0x40d86e
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x40d882
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 0x4223b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x447700]
jne 0x4223ba
repz ret
jmp fcn.00427373

Function at 0x42e052
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00426d82
and dword [ebp - 4], 0
cmp dword [0x569020], 0
mov ebx, eax
jne 0x42e103
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42e1b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42e1b4
push eax
call fcn.00426d10
mov dword [esp], 0x43b9a0
push edi
mov dword [0x569020], eax
call esi
push eax
call fcn.00426d10
mov dword [esp], 0x43b98c
push edi
mov dword [0x569024], eax
call esi
push eax
call fcn.00426d10
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x569028], eax
call esi
push eax
call fcn.00426d10
pop ecx
mov dword [0x569030], eax
test eax, eax
je 0x42e103
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00426d10
pop ecx
mov dword [0x56902c], eax
mov eax, dword [0x56902c]
cmp eax, ebx
je 0x42e15b
cmp dword [0x569030], ebx
je 0x42e15b
push eax
call fcn.00426d8b
push dword [0x569030]
mov esi, eax
call fcn.00426d8b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42e15b
test edi, edi
je 0x42e15b
call esi
test eax, eax
je 0x42e152
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42e152
test byte [ebp - 0xc], 1
jne 0x42e15b
or dword [ebp + 0x10], 0x200000
jmp 0x42e194
mov eax, dword [0x569024]
cmp eax, ebx
je 0x42e194
push eax
call fcn.00426d8b
pop ecx
test eax, eax
je 0x42e194
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42e194
mov eax, dword [0x569028]
cmp eax, ebx
je 0x42e194
push eax
call fcn.00426d8b
pop ecx
test eax, eax
je 0x42e194
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x569020]
call fcn.00426d8b
pop ecx
test eax, eax
je 0x42e1b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42e1b6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402da9
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x40d320
push str.FlsAlloc
push 0
call fcn.00402d22
mov esi, eax
add esp, 0x10
test esi, esi
je 0x402ddb
push dword [ebp + 8]
mov ecx, esi
call fcn.0040237d
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x402e1d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x40d350
push str.FlsSetValue
push 3
call fcn.00402d22
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x402e51
mov ecx, esi
call fcn.0040237d
call esi
jmp 0x402e57
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x10002107
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
test esi, esi
jne 0x1000211a
push 0xd
pop eax
jmp 0x10002142
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x1000211d
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100026f6
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x10c], esi
call fcn.10002084
mov ebx, eax
cmp ebx, esi
je 0x10002767
lea ecx, [ebp - 0x114]
call fcn.10002001
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10030fba
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x10002785
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x114]
call fcn.100026f6
cmp eax, esi
jne 0x100027cc
lea eax, [ebp - 0x120]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x114]
mov dword [ebp - 0x108], 0x100
call ebx
test eax, eax
je 0x1000276f
lea ecx, [ebp - 0x114]
call fcn.10002001
push dword [ebp - 0x118]
mov ecx, edi
call fcn.10001f91
lea ecx, [ebp - 0x114]
mov esi, eax
call fcn.10002001
mov eax, esi
jmp 0x10002756
Function at 0x100048af
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1004280b
call fcn.100315b8
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x424], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x418], edi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x10004963
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x41c]
push eax
call fcn.10001c21
add esp, 0xc
test eax, eax
js 0x10004963
mov ebx, dword [ebp - 0x41c]
cmp ebx, 0x400
jg 0x10004943
push ebx
call fcn.1000267c
pop ecx
test al, al
je 0x10004943
mov eax, ebx
call fcn.10030fd0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10004955
push ebx
lea ecx, [ebp - 0x424]
call fcn.10002862
mov edi, dword [ebp - 0x424]
push 3
push ebx
push esi
push eax
call fcn.10001ccf
test eax, eax
jne 0x10004995
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10004987
lea ecx, [ebp - 0x418]
call fcn.100025e1
jmp 0x10004987
push edi
mov edi, dword [edi]
call fcn.1002eef5
pop ecx
test edi, edi
jne 0x1000497e
mov eax, 0x8007000e
jmp 0x10004ab2
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x100049b8
call fcn.10001da2
mov esi, eax
jmp 0x10004a88
push dword [ebp - 0x420]
push dword [ebp - 0x428]
push ebx
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
test esi, esi
jne 0x100049db
call fcn.10001da2
jmp 0x10004a7a
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x100049d1
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x428], esi
cmp eax, esi
jae 0x10004a0b
mov esi, 0x8007000e
jmp 0x10004a7c
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10002d40
mov dword [ebp - 4], 1
jmp 0x10004a3d
cmp dword [ebp - 0x418], 0
je 0x10004a04
push esi
push dword [ebp - 0x420]
push esi
push dword [ebp - 0x418]
call fcn.10001d83
mov eax, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp + 0x14]
mov byte [eax + esi], 0
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.100041be
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10004aac
lea ecx, [ebp - 0x418]
call fcn.100025e1
jmp 0x10004aac
push edi
mov edi, dword [edi]
call fcn.1002eef5
pop ecx
test edi, edi
jne 0x10004aa3
mov eax, esi
lea esp, [ebp - 0x440]
call fcn.10031614
ret 0x10
Function at 0x100077fe
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa80
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x40
mov dword [ebp - 0xa2c], eax
xor ebx, ebx
lea eax, [ebp - 0xa7c]
push ebx
push eax
mov dword [ebp - 0xa80], 0x44
call fcn.10030e40
xor eax, eax
mov dword [ebp - 0xa3c], ebx
lea edi, [ebp - 0xa38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x103
push esi
stosd dword es:[edi], eax
lea eax, [ebp - 0x107]
push ebx
push eax
mov dword [ebp - 0xa54], 0x80
mov byte [ebp - 0x108], bl
call fcn.10030e40
add esp, 0x18
lea edi, [esi + 1]
push edi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
lea eax, [ebp - 0xa28]
push eax
call fcn.100070d2
cmp dword [eax + 0x14], 0x10
pop ecx
jb 0x10007895
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
push ebx
push 1
lea ecx, [ebp - 0xa28]
call fcn.10002db8
push esi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.10030e40
add esp, 0xc
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.100224c0
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push 0x7ff
lea eax, [ebp - 0xa0b]
push ebx
push eax
mov byte [ebp - 0xa0c], bl
call fcn.10030e40
lea eax, [ebp - 0xa28]
push eax
call fcn.10007160
add esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x1000790b
mov eax, dword [eax]
push dword [ebp - 0xa2c]
lea ecx, [ebp - 0x20c]
push ecx
push eax
lea eax, [ebp - 0xa0c]
push 0x800
push eax
call fcn.10031f23
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0xa28]
call fcn.10002db8
lea eax, [ebp - 0xa3c]
push eax
lea eax, [ebp - 0xa80]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x1000797d
push dword [ebp - 0xa3c]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0xa38]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.10030fba
leave
ret
Function at 0x10009a1e
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1000938f

Function at 0x10009a49
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test eax, eax
jne 0x10009a67
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x10009aac
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10009aac
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x40
push 3
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
mov al, byte [ebp + 0x10]
mov byte [ebp + 9], al
push 3
lea eax, [ebp + 8]
push eax
push esi
mov byte [ebp + 8], 0xc2
mov byte [ebp + 0xa], 0
call fcn.1002f0d0
xor eax, eax
add esp, 0xc
inc eax
jmp 0x10009aae
xor eax, eax
pop esi
pop ebp
ret 0xc

Function at 0x10014271
Capabilities:
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x10043a5d
call fcn.10031519
mov esi, ecx
xor ebx, ebx
push 0x108
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call fcn.10030eba
pop ecx
cmp eax, ebx
je 0x1001429f
mov ecx, eax
call fcn.10011bf0
jmp 0x100142a1
xor eax, eax
mov edi, dword [ebp + 8]
push eax
mov ecx, edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
call fcn.1000f950
push dword [esi + 4]
mov dword [ebp - 4], ebx
xor ebx, ebx
inc ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_GetParent]
push 0xfffffffffffffff4
push dword [esi + 4]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp dword [esi + 0xd8], 0x10
jb 0x100142e2
mov edx, dword [esi + 0xc4]
jmp 0x100142e8
lea edx, [esi + 0xc4]
mov ecx, dword [edi]
push eax
push edx
lea eax, [esi + 0xe0]
push eax
push dword [ebp - 0x14]
call fcn.100115ba
mov eax, dword [edi]
lea ecx, [esi + 0x58]
push ecx
lea ecx, [eax + 0x58]
call fcn.1000adaa
mov eax, dword [edi]
lea ecx, [esi + 0x88]
push ecx
lea ecx, [eax + 0x88]
call fcn.1000adaa
mov eax, dword [edi]
lea ecx, [esi + 0x70]
push ecx
lea ecx, [eax + 0x70]
call fcn.1000adaa
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x50]
call fcn.1000b937
mov ecx, dword [edi]
push eax
add ecx, 0xfc
mov dword [ebp - 4], ebx
call fcn.1000fc59
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test ecx, ecx
je 0x10014358
call fcn.1000a892
push 0
push 0xfffffffffffffff4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, edi
call fcn.100315f1
ret 4
Function at 0x1001488b
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0xa40
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
and dword [ebp - 0x128], 0
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov esi, eax
push esi
call edi
push ebx
lea eax, [esi + 0x514]
push eax
call edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0x10]
add edx, ecx
push edx
push eax
push ecx
lea eax, [esi + 0xa28]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebp + 0x24]
mov dword [esi + 0xa38], eax
push 0x103
xor edi, edi
lea eax, [ebp - 0x107]
push edi
push eax
mov byte [ebp - 0x108], 0
call fcn.10030e40
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100224c0
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
lea eax, [ebp - 0x124]
push eax
call fcn.1001076f
cmp dword [eax + 0x14], 0x10
pop ecx
jb 0x10014946
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x124]
call fcn.10002db8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1001497b
mov dword [esi + 0xa3c], ebx
lea eax, [ebp - 0x128]
push eax
push edi
push esi
push 0x10014711
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10030fba
leave
ret 0x20

Function at 0x10014f78
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1005da50], 0
push esi
push edi
jne 0x10014eee
call fcn.10014e5a
test eax, eax
je 0x10014f33
mov eax, dword [0x1005da50]
cmp eax, 1
jne 0x10014f0f
push 0xd
push 0
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
test eax, eax
je 0x10014f33
jmp 0x10014f75
mov edi, dword [sym.imp.KERNEL32.DLL_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x10014f75
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10014f37
xor eax, eax
jmp 0x10014f75
mov eax, dword [esi]
push dword [0x1005da50]
call edi
mov edi, eax
test edi, edi
je 0x10014f59
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualFree]
mov eax, edi
jmp 0x10014f75
lea edi, [esi + 0xff0]
push esi
push dword [0x1005da50]
call dword [sym.imp.KERNEL32.DLL_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x10014f5f
mov eax, esi
pop edi
pop esi
ret
jmp 0x10014eda
Function at 0x10015650
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2058
call fcn.100318a0
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 3
jae 0x10015683
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030fba
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [eax]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x2010], ecx
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x200c], ecx
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0x2008], edx
cmp ax, 5
jne 0x100156ba
fld qword [ebp - 0x200c]
call fcn.10032420
mov ebx, eax
jmp 0x100156bc
mov ebx, ecx
test ebx, ebx
jne 0x100156d5
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030fba
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2010], ecx
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x200c], ecx
mov edx, dword [esi + 0x1c]
push edi
mov dword [ebp - 0x2008], edx
cmp ax, 5
jne 0x10015709
fld qword [ebp - 0x200c]
call fcn.10032420
mov edi, eax
jmp 0x1001570b
mov edi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x2010], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x200c], ecx
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x2008], edx
cmp ax, 5
jne 0x1001573d
fld qword [ebp - 0x200c]
call fcn.10032420
mov esi, eax
jmp 0x1001573f
mov esi, ecx
xor eax, eax
push 0x1ffe
push eax
lea ecx, [ebp - 0x2002]
push ecx
mov word [ebp - 0x2004], ax
call fcn.10030e40
push ebx
lea edx, [ebp - 0x2004]
push 0x100484e0
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea eax, [ebp - 0x2058]
push 0
push eax
call fcn.10030e40
add esp, 0x24
xor eax, eax
lea ecx, [ebp - 0x2014]
push ecx
lea edx, [ebp - 0x2058]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x2014], eax
mov dword [ebp - 0x2010], eax
mov dword [ebp - 0x200c], eax
mov dword [ebp - 0x2008], eax
lea eax, [ebp - 0x2004]
push eax
push 0
mov dword [ebp - 0x2058], 0x44
mov dword [ebp - 0x202c], 1
mov word [ebp - 0x2028], di
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
pop edi
test esi, esi
je 0x100157ec
mov ecx, dword [ebp - 0x2014]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edx, dword [ebp - 0x2014]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x2010]
push eax
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10030fba
mov esp, ebp
pop ebp
ret
Function at 0x100226a0
Capabilities:
Delete internet cache
Enumerate internet cache

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, 0x5000
push edi
push 0x40
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ecx, dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
mov dword [esi], 0x50
push ecx
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
mov ebx, eax
test ebx, ebx
jne 0x10022722
mov ebx, dword [sym.imp.KERNEL32.DLL_GlobalFree]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
cmp eax, 0x7a
jne 0x10022717
call ebx
add edi, edi
push edi
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 4]
push edx
push esi
mov dword [esi], 0x50
push eax
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_FindFirstUrlCacheEntryA]
jmp 0x100226e2
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
test eax, eax
je 0x10022742
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10022742
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
push 0x5000
push 0
push esi
call fcn.10030e40
add esp, 0xc
lea eax, [ebp - 4]
push eax
push esi
mov dword [esi], 0x50
push ebx
mov dword [ebp - 4], 0x5000
call dword [sym.imp.WININET.dll_FindNextUrlCacheEntryA]
mov edi, eax
test edi, edi
jne 0x10022722
push ebx
call dword [sym.imp.WININET.dll_FindCloseUrlCache]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10022790
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x1002279c
pop ebp
ret
push esi
push edi
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
cmp eax, edi
sbb eax, eax
and eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x10022830
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.100318a0
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0xfff
lea eax, [ebp - 0x1003]
push 0
push eax
mov byte [ebp - 0x1004], 0
call fcn.10030e40
mov edx, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push edx
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call fcn.100326e7
add esp, 0x1c
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10030fba
mov esp, ebp
pop ebp
ret