joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4016e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
jmp 0x43f140
push 0xffffffffffffffff
push 0x4afac4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x20], esi
xor ebp, ebp
push 0x4d6df0
lea ecx, [esi + 0x1c]
mov dword [esp + 0x30], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
call fcn.004773a5
push 0x4d6df0
lea ecx, [esi + 0x20]
mov byte [esp + 0x30], 1
call fcn.004773a5
lea ecx, [esi + 0x24]
mov byte [esp + 0x2c], 2
call fcn.0046d792
lea ecx, [esi + 0x38]
mov byte [esp + 0x2c], 3
call fcn.0046d792
mov dword [esi + 0xc4], ebp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], ebp
mov dword [esi + 0xd0], ebp
mov dword [esi + 0xd4], ebp
mov dword [esi], 0x4b9b9c
mov eax, dword [0x4d3a98]
mov dword [esp + 0x10], eax
push 0x1388
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 5
call fcn.004779e8
test eax, eax
jne 0x43f205
push str.Page_Setup
lea ecx, [esp + 0x14]
call fcn.004774c0
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00401361
push 0x1389
lea ecx, [esp + 0x14]
call fcn.004779e8
push 0xa
lea ecx, [esp + 0x14]
call fcn.00477858
mov edx, dword [esp + 0x10]
mov edi, eax
cmp dword [edx - 8], ebp
je 0x43f2fc
mov bl, 6
cmp edi, 0xffffffff
je 0x43f2fc
mov eax, dword [0x4d3a98]
mov dword [esp + 0x14], eax
push 0xa
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00477858
mov edi, eax
cmp edi, ebp
jle 0x43f28f
lea ecx, [esp + 0x18]
push edi
push ecx
lea ecx, [esp + 0x18]
call fcn.00465393
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 7
call fcn.00477470
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.00477337
jmp 0x43f29d
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
push edx
call fcn.00477470
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 8], ebp
je 0x43f2b3
mov eax, dword [esi + 0x2c]
push ecx
push eax
lea ecx, [esi + 0x24]
call fcn.0046da3b
lea eax, [edi + 1]
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.0046525e
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 8
call fcn.00477470
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call fcn.00477337
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 5
call fcn.00477337
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebp
jne 0x43f23b
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.00477337
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x4018de
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x427da0
push 0xffffffffffffffff
push 0x4adb68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x10]
mov ecx, dword [esi + 4]
push 0x8a6
call fcn.004026e9
push 0xa
lea ecx, [esp + 0x10]
call fcn.0046cd01
mov dword [esp + 0xc], 0x4b5bc0
mov eax, dword [esi + 4]
mov dword [esp + 0x30], 0
mov ecx, dword [eax + 0x154]
mov dword [eax + 0x154], 0
mov edx, dword [esi + 4]
mov dword [esp + 8], ecx
mov edi, dword [edx + 0x84]
test edi, edi
je 0x427e38
push ebx
mov eax, edi
mov edi, dword [edi]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x427e33
push 0x4d34a8
mov ecx, ebx
call fcn.00477cfe
test eax, eax
je 0x427e33
push ebx
lea ecx, [esp + 0x14]
call fcn.0046ce24
test edi, edi
jne 0x427e0e
pop ebx
mov edi, dword [esp + 0x10]
test edi, edi
je 0x427e78
mov eax, edi
mov edi, dword [edi]
mov eax, dword [eax + 8]
push eax
mov eax, dword [esi + 4]
push eax
call fcn.00402185
add esp, 8
test edi, edi
jne 0x427e40
mov edi, dword [esp + 0x10]
test edi, edi
je 0x427e78
mov ecx, dword [esi + 4]
mov eax, edi
mov edi, dword [edi]
mov eax, dword [eax + 8]
push eax
push ecx
call fcn.00401172
add esp, 8
test edi, edi
jne 0x427e60
mov eax, dword [esi + 4]
mov edx, dword [esp + 8]
push 0xffffffffffffffff
mov dword [eax + 0x154], edx
mov ecx, dword [esi + 4]
call fcn.00401064
mov ecx, dword [esi + 4]
call fcn.00402243
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0046cd60
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x402441
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x431670
push 0xffffffffffffffff
push 0x4ae4c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.004020ef
mov ecx, dword [0x4d3a98]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esi + 0x2c], ecx
mov edx, dword [0x4d3a98]
mov dword [esi + 0x30], edx
mov ecx, 0x14
mov dword [esi + 0x34], eax
lea edi, [esi + 0x44]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ecx
mov ecx, edi
mov byte [esp + 0x14], 2
mov dword [esi + 0x40], eax
call fcn.0046d391
mov dword [edi], method.CObArray.virtual_0
lea edi, [esi + 0x58]
mov byte [esp + 0x14], 3
mov ecx, edi
call fcn.0046d391
mov ecx, dword [esp + 0xc]
mov dword [edi], method.CObArray.virtual_0
mov dword [esi], 0x4b797c
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x451235
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d5088
cmp edx, dword [eax]
je 0x451257
add eax, 8
inc ecx
cmp eax, 0x4d5118
jl 0x451248
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d5088]
jne 0x451385
mov eax, dword [0x4d9178]
cmp eax, 1
je 0x45135f
test eax, eax
jne 0x451288
cmp dword [0x4d48f0], 1
je 0x45135f
cmp edx, 0xfc
je 0x451385
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4512bf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00452580
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0044cfb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x451302
lea eax, [ebp - 0x1a4]
push eax
call fcn.0044cfb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4d3288
push edi
call fcn.0044f9d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00452580
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00452590
lea eax, [ebp - 0xa0]
push 0x4c11f4
push eax
call fcn.00452590
push dword [esi + 0x4d508c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00452590
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004562ac
add esp, 0x2c
pop edi
jmp 0x451385
lea eax, [ebp + 8]
lea esi, [esi + 0x4d508c]
push 0
push eax
push dword [esi]
call fcn.0044cfb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x45e5b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0044c9b0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x45e67b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x45e67b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x45e62e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x45e639
or bh, 8
and edi, 0x8000000
je 0x45e654
mov eax, dword [0x4daf9c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x45e67b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ea50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x45ea7b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x45ea9f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x45eaba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20

Function at 0x4733f6
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47342e
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.004777de
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004777b6
jmp 0x47343a
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4751f8
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 0x47523a
call fcn.0049efa7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47523a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x475231
xor eax, eax
jmp 0x475242
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00475248
pop edi
pop esi
pop ebx
ret 4

Function at 0x47683a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x47685c
cmp dword [edi + 0x3c], 0
jne 0x47685c
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0049efa7
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0047689b
pop edi
pop esi
pop ebx
ret 8

Function at 0x4768ff
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0049efa7
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x476930
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00476955
pop edi
pop esi
pop ebx
ret 8
Function at 0x4a10c5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.0049efa7
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4a1102
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a1102
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4a1106
xor eax, eax
jmp 0x4a1184
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.0047249c
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x4a113e
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4a1128
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.004a1289
push ebx
mov edi, eax
call fcn.004724c5
test edi, edi
pop ecx
je 0x4a1180
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.004a0fdb
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.004a1189
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4

Function at 0x4a2943
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x4a29f3
mov ecx, 0x4d9158
call fcn.004a1b03
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x4a29d1
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x4a29af
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4a29af
push ebx
push edi
push eax
call fcn.0047a4ea
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.004774c0
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc
Function at 0x5027e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x502805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x502878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x50283a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x50286d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x50286b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x502831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x5027fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x7eb370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x7eb38e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x814074
push ecx
mov edi, eax
call fcn.007ff198
mov esi, eax
add esp, 8
test esi, esi
jne 0x7eb3cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.007ff02e
push esi
call fcn.007fefb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x7ee850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x7ee8ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x819720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7ee8ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.007ff1e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x7ee8ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x819720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x7ee92a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00800082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x7ee957
mov word [eax], si
add eax, 2
push eax
call fcn.00800030
add esp, 4
jmp 0x7ee959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x7ee8ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x7ee8b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x7eeff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x7ef080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x7ef0c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x814458
push ecx
call fcn.007ff1e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.007ff1e1
add esp, 0x10
jmp 0x7ef0d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.007ff20b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.007fedff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.007ef050
mov eax, dword [0x819728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x7ef13b
push esi
call fcn.007eefb0
add esp, 4
mov dword [0x819728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x7ef14c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.007eeff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x7f2440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x7f24b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x7f248e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x7f2471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x7f247e
add edx, ecx
cmp ebx, edx
jb 0x7f248a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x7f2467
xor ecx, ecx
jmp 0x7f24a2
test eax, eax
jne 0x7f2492
xor ecx, ecx
jmp 0x7f24a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.007f23c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x7f28f0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
mov eax, dword [esp + 8]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x7f2921
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebp, eax
test ebp, ebp
jne 0x7f2946
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push 0
push 0
push 4
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
jne 0x7f296e
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [esp + 0x18]
mov dword [ecx], esi
mov dword [ecx + 4], eax
cmp word [esi], 0x5a4d
jne 0x7f2993
push ecx
push esi
call fcn.007f24c0
add esp, 8
mov bl, al
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call esi
push edi
call esi
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
ret