joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466220
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ebx, [edi + edi]
push ebx
call dword [0x4b82e8]
mov esi, eax
add esp, 4
test esi, esi
jne 0x466255
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
pop ecx
ret
push edi
push ebp
push esi
call fcn.00466300
add esp, 0xc
lea eax, [esp + 0x10]
push 0xf0000000
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
mov edi, dword [esp + 0x20]
test eax, eax
je 0x4662df
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x4662d2
mov eax, dword [esp + 0x1c]
push 0
push ebx
push esi
push eax
mov dword [esp + 0x30], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push 0
push ecx
push edi
push 2
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 0x10]
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add edi, 0x10
xor edx, edx
push esi
mov dword [edi], edx
mov byte [edi + 4], dl
call dword [0x4b82ec]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4666d0
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0xf0000000
push 1
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x466701
mov ecx, dword [esi]
lea eax, [esi + 4]
push eax
push 0
push 0
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
pop esi
ret

Function at 0x466710
Capabilities:
Hash data via wincrypt

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
push 0
push eax
mov eax, dword [edx + 4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
ret
Function at 0x46ada0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push eax
call dword [0x4b82e8]
mov edi, eax
add esp, 4
test edi, edi
jne 0x46adc3
pop edi
pop esi
ret
lea eax, [edi + 0xc]
push ebx
mov dword [edi], esi
mov dword [edi + 4], eax
mov ebx, dword [esi + 0xc]
mov edx, eax
add edx, ebx
mov ebx, dword [esp + 0x18]
mov dword [edi + 8], edx
mov ecx, dword [esi + 0x10]
cmp ebx, ecx
push ebp
jbe 0x46ae0e
push eax
call dword [esi]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push ebx
push eax
push ecx
call dword [esi + 4]
mov ebx, dword [edi + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [edi + 4]
add ebx, eax
push edx
push ebx
call dword [esi + 8]
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x1c], eax
jmp 0x46ae12
mov ebx, dword [esp + 0x18]
mov ecx, dword [edi + 4]
push ecx
call dword [esi]
mov edx, dword [edi + 8]
push edx
call dword [esi]
mov eax, dword [esp + 0x24]
add esp, 8
xor ebp, ebp
test eax, eax
jbe 0x46ae78
mov dword [esp + 0x1c], eax
mov ebp, eax
mov al, byte [ebx]
mov cl, byte [0x4a5f68]
xor al, cl
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
mov edx, dword [edi + 4]
push 1
push ecx
push edx
call dword [esi + 4]
mov al, byte [ebx]
mov dl, byte [0x4a5f69]
xor al, dl
lea ecx, [esp + 0x20]
mov byte [esp + 0x20], al
mov edx, dword [edi + 8]
push 1
push ecx
push edx
inc ebx
call dword [esi + 4]
mov eax, dword [esp + 0x34]
add esp, 0x18
dec eax
mov dword [esp + 0x1c], eax
jne 0x46ae31
cmp ebp, dword [esi + 0x10]
jae 0x46aea4
mov eax, dword [edi + 4]
push 1
push 0x4a5f68
push eax
call dword [esi + 4]
mov ecx, dword [edi + 8]
push 1
push 0x4a5f69
push ecx
call dword [esi + 4]
mov eax, dword [esi + 0x10]
add esp, 0x18
inc ebp
cmp ebp, eax
jb 0x46ae7d
pop ebp
mov eax, edi
pop ebx
pop edi
pop esi
ret
Function at 0x46f240
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.0042c6d0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x46f30b
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 0x46f30b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x46f2be
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x46f2c9
or bh, 8
and edi, 0x8000000
je 0x46f2e4
mov eax, dword [0x4c347c]
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 0x46f30b
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 0x46f6e0
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 0x46f70b
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 0x46f72f
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 0x46f74a
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 0x474c91
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x474cc9
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.00478115
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004780ed
jmp 0x474cd5
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x476897
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 0x4768d9
call fcn.0048cbf2
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4768d9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4768d0
xor eax, eax
jmp 0x4768e1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004768e7
pop edi
pop esi
pop ebx
ret 4

Function at 0x4783be
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 0x4783e0
cmp dword [edi + 0x3c], 0
jne 0x4783e0
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0048cbf2
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.0047840d
pop edi
pop esi
pop ebx
ret 8

Function at 0x47845b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0048cbf2
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 0x47848c
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.0047849f
pop edi
pop esi
pop ebx
ret 8

Function at 0x48df9d
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.0048cbf2
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x48dfda
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48dfda
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x48dfde
xor eax, eax
jmp 0x48e05c
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.004779af
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x48e016
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 0x48e000
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0048e14d
push ebx
mov edi, eax
call fcn.004779d8
test edi, edi
pop ecx
je 0x48e058
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.0048df16
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.0048e061
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x4e28cf
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e291b
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e2900
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e2910
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e292b
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e296a
test ebx, ebx
je 0x4e293f
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e2934
cmp ecx, 0xfff1
jb 0x4e294d
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e2a55
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e298f
Function at 0x4f6c8f
Capabilities:
Encode data using xor

Disassembly:
aaa
push ds
cmp dword [edx - 0x754f3280], esi
inc ebp
xor byte [esi + edx - 0x3eca417f], dl
mov byte [0xe5d343c], al
and byte [eax + 0x15], dh
push ecx
dec esi
xor dword [ebp - 0x50], 0xffffffcb
xchg ebp, eax
or esi, dword [esi]
movsd dword es:[edi], dword [esi]
invalid
Function at 0x4f920f
Capabilities:
Encode data using xor

Disassembly:
jle 0x4f9183
and byte [ebx], ah
movsd dword es:[edi], dword [esi]
in al, 0x14
lodsb al, byte [esi]
xchg ebp, eax
fild dword [ecx - 0x80]
xor eax, 0xab1f1ed5
push esp
and al, 0xde
adc dword [ebx - 0x5def85c0], esp
xor dword [eax - 0x6bc5a1fd], eax
in al, dx
mov dword [edx], edi
outsb dx, byte [esi]
lock xor dword [edi + 0x385145f3], ebp
out dx, al
dec edx
stosb byte es:[edi], al
push esi
adc dword [eax + 0x2431f01f], edx
sub dword [ebp + ecx*8 + 0x41533846], 0x65fa6db2
xor cl, al
stc
invalid
add al, 0xaf
into
mov dword [eax + 0x31], esi
aam 0xba
mov al, 0x8e
in eax, dx
cmc
aad 0x93
cmp dword [ebx - 0x7b], edx
je 0x4f911f
invalid
xchg edx, eax
or edi, dword [esi + 0x5250c8e2]
lcall 0xd251, 0x190a2ea8
mov byte [0x8e0a9704], al
sar dword [edi], 0xda
push ss
daa
push es
adc esp, edi
clc
neg byte [edi]
mov al, byte [0xb7fff546]
push esp
push ecx
jno 0x4f918f
inc edx
jmp 0x4f9245
mov ss, word [eax + 0x760e253e]
push ds
jmp 0xb40c89b4
aaa
and dword [eax + 0x5d435896], esi
mov ch, 0x2a
sti
adc ebp, ebp
add dword [edx + 0x1387d022], esi
invalid
mov edi, 0x71235607
jecxz 0x4f91a9
jno 0x4f91f8
xchg ebx, eax
cmp byte [edx + 0xc548181], cl
xchg esi, eax
test dword [edx + 0x3fa8005e], edx
fimul word [edi]
loope 0x4f928e
stc
xor eax, 0x30cebb84
cwde
wait
loopne 0x4f9213
jae 0x4f91e4
jle 0x4f9266
jmp 0x614e3312
jo 0x4f9270
popfd
insb byte es:[edi], dx
sub bh, byte [esi + 0x28]
jle 0x4f926f
xchg al, dh
xor esi, dword [edx]
mov dl, 0x57
movsb byte es:[edi], byte [esi]
inc eax
mov eax, dword [0xa24922a5]
xchg edx, eax
ret 0x32f5
test ah, 0xa6
aad 0x24
test eax, 0x71119f40
jno 0x4f9273
add dl, byte [ecx]
sal dword [edx + 0x32], 0xf1
adc ecx, eax
jb 0x4f92a7
int1
mov al, byte [0xa12b533a]
push ds
inc ebx
xchg edi, eax
push ebx
sub esp, dword [ecx - 0x689bbce2]
jl 0x4f92ce
add dword [ebx + 0x5e470862], esp
xlatb
adc eax, 0x92750046
out dx, eax
mov al, 0xb0
mov bh, 0xe2
push esp
xchg esi, eax
out dx, al
adc al, 0x38
jb 0x4f9240
push 0xdfc9be54
idiv dh
push ss
out dx, al
adc eax, 0xae29d584
scasb al, byte es:[edi]
xchg edx, eax
jge 0x4f92f5
sahf
inc ebx
sbb dword [ebx + 0x23], edx
jg 0x4f928d
cmovbe esi, dword [eax - 0x167b5d9f]
mov ah, ah
cmp al, ah
add dword [edx - 0x4c5be967], edi
rcl byte [ebx - 0x5d3a799c], 0x87
cdq
xchg esi, eax
int1
loope 0x4f9278
test eax, 0xbea97fe4
mov eax, 0x6770df01
in al, 0x7f
test eax, 0xdf01b8be
jo 0x4f933f
inc ebx
invalid
lodsd eax, dword [esi]
invalid
pushfd
fimul word [eax - 0x20]
aam 0xc4
loope 0x4f937d
call 0xf53213d6
push ecx
iretd
sub al, 0xe9
pop ss
inc ecx
or byte [eax - 0x5452b275], dl
cmpsb byte [esi], byte es:[edi]
and edx, dword [ecx]
rcl dl, 0xa3
sub eax, 0xfb7f3d84
jne 0x4f93f2
nop
push eax
pop ebp
and bl, byte [esi + 0x491e230c]
add dword [ecx], ebp
call 0x75881417
push edx
out 0x5c, al
in al, 0x23
push ebx
xor dword [edx], ebx
fsubr st(6)
retf
invalid
Function at 0x5d9e7f
Capabilities:
Encode data using xor

Disassembly:
clc
pushal
jno 0x5d9e8a
add esi, dword [ecx]
push cs
and al, byte [ecx]
sbb eax, 0x1252c66
outsd dx, dword [esi]
or dl, cl
invalid
sub al, 0x25
add dword [edi + 0xa], ebp
rol edi, 1
xchg edi, eax
inc ebx
movsd dword es:[edi], dword [esi]
push eax
in eax, dx
std
hlt
Function at 0x657f7d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x662388
cmp edx, dword [eax]
je 0x657f9f
add eax, 8
inc ecx
cmp eax, 0x662418
jl 0x657f90
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x662388]
jne 0x6580cd
mov eax, dword [0xa67cf0]
cmp eax, 1
je 0x6580a7
test eax, eax
jne 0x657fd0
cmp dword [0x6622b4], 1
je 0x6580a7
cmp edx, 0xfc
je 0x6580cd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x658007
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00658960
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658df0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x65804a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658df0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65dd14
push edi
call fcn.0065acc0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00658960
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00658970
lea eax, [ebp - 0xa0]
push 0x65dcf4
push eax
call fcn.00658970
push dword [esi + 0x66238c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00658970
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065ac34
add esp, 0x2c
pop edi
jmp 0x6580cd
lea eax, [ebp + 8]
lea esi, [esi + 0x66238c]
push 0
push eax
push dword [esi]
call fcn.00658df0
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 0x442930
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4af280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x60], edi
mov dword [edi + 0x24], 0
mov dword [edi], vtable.std::_Func_impl_no_alloc_class__lambda_470970f42e80fa27414c761302c82466___void__struct_HookParam_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__.0
mov dword [edi + 0x24], edi
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x2c], eax
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 4], 0
call fcn.0044a3d0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push str.EMBED_SHARED_MEM
push eax
call fcn.00441840
add esp, 0x14
cmp dword [eax + 0x14], 7
jbe 0x4429ab
mov eax, dword [eax]
push eax
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [edi + 0x30], eax
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, 7
jbe 0x4429f7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4429ed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442af9
push ecx
push edx
call fcn.0046428d
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x442a49
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x442a3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442af9
push ecx
push edx
call fcn.0046428d
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x58]
push ebx
push eax
mov dword [ebp - 0x2c], 7
call fcn.0044a3d0
add esp, 8
push 0
sub esp, 0x18
mov byte [ebp - 4], 4
mov edx, esp
push eax
push str.LUNA_VNR_HOOKMAN_
push edx
call fcn.00441840
add esp, 0xc
lea ecx, [edi + 0x34]
call fcn.00442b10
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x442ac2
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x442ab8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x442afe
push ecx
push edx
call fcn.0046428d
add esp, 8
push 0xa00
push 0
push 0
push 6
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi + 0x28], eax
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 - 0x10]
xor ecx, ebp
call fcn.0046429b
mov esp, ebp
pop ebp
ret 8
call fcn.00469c3f
call fcn.00469c3f
int3
Function at 0x444f90
Capabilities:
Create thread
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48f7bd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x4af280]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4b4548
mov dword [ebp - 0x24], 0x4b4548
mov byte [ebp - 0x20], 0
call fcn.0044c61d
add esp, 4
test eax, eax
jne 0x4450d0
cmp dword [0x4b4574], 0x7fffffff
je 0x4450d7
mov byte [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0x4b4528
mov dword [ebp - 4], eax
movzx eax, byte [ebp + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x4b4528
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00441ed0
mov eax, dword [eax + 4]
test eax, eax
je 0x4450b3
cmp eax, dword [0x4b452c]
je 0x4450b3
lea eax, [ebp + 8]
mov ecx, 0x4b4528
push eax
call fcn.00448d00
push 8
mov esi, eax
call fcn.0046425d
add esp, 4
test eax, eax
je 0x445072
mov dword [eax], esi
mov dword [eax + 4], 5
jmp 0x445074
xor eax, eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x442140
push 0
push 0
call fcn.00474e52
add esp, 0x18
mov dword [ebp - 0x18], eax
test eax, eax
je 0x4450ef
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4450e8
push ecx
push eax
call fcn.0044ca6e
add esp, 8
test eax, eax
jne 0x4450e8
push 0x4b4548
call fcn.0044c62e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 5
call fcn.0044c8a5
push 6
mov dword [0x4b4574], 0x7ffffffe
call fcn.0044c8a5
push 1
call fcn.0044c8a5
push 6
mov dword [ebp - 0x14], 0
call fcn.0044c8a5
int3