joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457ee0
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4b2ca0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x4b60e4]
push edi
mov ax, word [esi + 0x14]
mov word [esi + 0x1f8], ax
push dword [0x4b60c0]
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
setne al
mov byte [esi + 0x3d1], al
push dword [0x4b60c0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
jne 0x457f8e
push 1
push dword [0x4b60c0]
call edi
push dword [0x4b60c4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x457f67
push 1
push dword [0x4b60c4]
call edi
mov ax, word [esi + 0x14]
mov ecx, 0x180
and ax, cx
mov ecx, 0x100
cmp ax, cx
jne 0x457f89
call fcn.00458d80
mov byte [esi + 0x3d1], 1
call fcn.004476f0
mov dword [esi + 0x20c], 0
lea eax, [esi + 0x208]
mov dword [esi + 0x210], 0
mov dword [esi + 0x214], 0
mov dword [esi + 0x218], 0
mov dword [esi + 0x21c], 0
mov dword [esi + 0x220], 0
mov dword [esi + 0x224], 0
mov dword [esi + 0x228], 0
mov dword [esi + 0x22c], 0
mov dword [esi + 0x230], 0
push eax
mov dword [eax], 0x2c
push dword [0x4b60c0]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
push dword [0x4b60c0]
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x458025
push 1
push dword [0x4b60c0]
call edi
mov ax, word [esi + 0x14]
mov ecx, 0xfefe
and ax, cx
mov ecx, 0x82
or ax, cx
test byte [esi + 0x1f8], 0x10
mov word [esi + 0x14], ax
jne 0x4580d2
mov ecx, dword [0x4b60e8]
test ecx, ecx
je 0x4580a9
movsx eax, word [esi + 0x1c]
cmp dword [ecx], eax
jl 0x4580a9
movsx eax, word [esi + 0x1e]
cmp dword [ecx + 4], eax
jl 0x4580a9
push 2
push dword [0x4b60c0]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x4580a9
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x4580a9
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
movsx eax, word [esi + 0x1c]
cmp eax, ecx
jne 0x4580a9
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
movsx eax, word [esi + 0x1e]
cmp eax, ecx
je 0x4580d2
or word [esi + 0x14], 0x14
push dword [0x4b60bc]
call dword [sym.imp.MMFS2.dll_Ordinal_16]
mov ecx, dword [0x4b60bc]
movzx eax, ax
test ecx, ecx
je 0x4580d2
or eax, 2
push eax
push ecx
call dword [sym.imp.MMFS2.dll_Ordinal_17]
call fcn.00447850
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x458107
push 0
push 0x401
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x458107
push 8
push 0x401
push dword [esi + 0xb0]
call dword [sym.imp.USER32.dll_CheckMenuItem]
call fcn.00458f90
call fcn.004476f0
call fcn.004472e0
push 3
push dword [0x4b60c0]
call edi
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0
push dword [0x4b60c4]
call esi
push 1
push 0
push dword [0x4b60c0]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x4b60f8], 1
pop esi
call fcn.00476fd3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x459050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
xor edi, edi
mov dword [ebp - 4], ecx
test esi, esi
je 0x459128
mov eax, dword [ebp + 8]
nop dword [eax]
cmp ax, word [esi + 2]
jne 0x4590c2
test byte [esi], 0x10
je 0x459081
test ebx, ebx
jne 0x459085
jmp 0x4590c2
test ebx, ebx
jne 0x4590c2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test byte [esi], 8
cwde
je 0x459099
test eax, eax
jns 0x4590bf
jmp 0x45909d
test eax, eax
js 0x4590bf
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [esi]
cwde
test cl, 4
je 0x4590b3
test eax, eax
jns 0x4590bb
jmp 0x4590b7
test eax, eax
js 0x4590bb
movzx edi, word [esi + 4]
test edi, edi
jne 0x4590cc
mov eax, dword [ebp + 8]
cmp byte [esi], 0
jl 0x459128
add esi, 8
jmp 0x459070
test cl, 0x40
je 0x4590ff
cmp edi, 0x7d0
jl 0x459107
mov esi, dword [ebp - 4]
push 0
movzx eax, di
or eax, 0x10000
push eax
push 0x111
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x7d0
jl 0x4590d9
mov esi, dword [ebp - 4]
push esi
call dword [sym.imp.USER32.dll_GetMenu]
test eax, eax
je 0x459128
push 0
push edi
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
cmp eax, 0xffffffff
je 0x459128
test al, 1
je 0x4590dc
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459270
Capabilities:
Log keystrokes

Disassembly:
push ebx
push edi
mov ebx, ecx
mov edi, edx
xor eax, eax
mov word [ebx], ax
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x4592bb
push esi
push 2
push 0x40
call fcn.0047aab9
add esp, 8
mov esi, eax
push 0x3f
push esi
push 0x65
push dword [0x4b60b0]
call dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [edi - 0x60]
push ecx
push esi
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.0047aacf
add esp, 0x10
pop esi
jmp 0x459307
lea eax, [edi - 0x70]
cmp eax, 0x17
ja 0x4592d8
lea eax, [edi - 0x6f]
push eax
push 0x4a3798
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x459307
xor eax, eax
nop word [eax + eax]
cmp dword [eax*8 + str._bf_tg_fh_ri], edi
je 0x4592f1
inc eax
cmp eax, 0x14
jl 0x4592e0
jmp 0x459307
push 0x3f
push ebx
push dword [eax*8 + 0x4a31f4]
push dword [0x4b60b0]
call dword [sym.imp.USER32.dll_LoadStringW]
cmp word [ebx], 0
jne 0x45931f
push 2
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov word [ebx], ax
xor eax, eax
mov word [ebx + 2], ax
pop edi
pop ebx
ret
Function at 0x459330
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push edi
push 0
push 0x78
mov edi, edx
push ebx
mov dword [ebp - 4], edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0x79
push ebx
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor esi, esi
movsx eax, word [edi + 0x12]
cmp esi, eax
jne 0x4593a8
push 2
push 0x80
call fcn.0047aab9
mov edi, eax
add esp, 8
mov eax, dword [ebp - 4]
mov ecx, edi
movsx edx, word [eax + esi*2]
call fcn.00459270
push edi
lea ecx, [esi + 0x6e]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push edi
call fcn.0047aacf
mov edi, dword [ebp - 4]
add esp, 4
push 1
lea eax, [esi + 0x6e]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
inc esi
cmp esi, 8
jl 0x459362
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46aff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, edx
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
push ecx
cmp dword [esi + 0x2a4], 0
lea ecx, [ebp - 1]
push 1
push ecx
push eax
setne byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46b0ce
cmp byte [ebp - 1], 0
push edi
je 0x46b0c1
mov esi, dword [esi + 0x2a4]
mov edi, dword [0x4b60e4]
cmp edi, esi
je 0x46b0a8
test esi, esi
jne 0x46b047
xor ecx, ecx
jmp 0x46b04d
mov ecx, dword [esi + 0x1d8]
cmp dword [0x4b60e8], ecx
je 0x46b071
mov dword [0x4b60ec], 0
test ecx, ecx
je 0x46b06b
mov eax, dword [ecx + 0x7c]
mov dword [0x4b60ec], eax
mov dword [0x4b60e8], ecx
mov dword [0x4b60e4], esi
test esi, esi
je 0x46b08e
mov eax, dword [esi + 0x1d0]
mov dword [0x4b60c4], eax
mov eax, dword [esi + 0x1d4]
jmp 0x46b09a
mov dword [0x4b60c4], 0
xor eax, eax
push eax
mov dword [0x4b60bc], eax
call dword [sym.imp.MMFS2.dll_Ordinal_831]
mov esi, edi
mov ecx, dword [ebp - 8]
call fcn.0044f9b0
mov ecx, esi
mov edi, eax
call fcn.00402c20
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, 1
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46b0e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 1], 0
xor edi, edi
lea ecx, [ebp - 0x10]
push edi
push ecx
push 1
lea ecx, [ebp - 1]
mov eax, edx
push ecx
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x46b169
cmp byte [ebp - 1], 0
je 0x46b164
push dword [ebx + 0x2ac]
mov edx, dword [ebx + 0x44]
mov ecx, ebx
push edi
call fcn.0046a4b0
mov ecx, dword [ebx + 0x2a4]
add esp, 8
test ecx, ecx
je 0x46b169
call fcn.00402c20
mov ecx, dword [ebx + 0x2a4]
xor edx, edx
mov esi, eax
call fcn.00406b90
mov ecx, dword [ebp - 0xc]
lea edx, [ebp - 8]
mov dword [ebp - 8], edi
call fcn.00451610
mov ecx, esi
mov edi, eax
call fcn.00402c20
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, 1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c2f0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4b2ca0]
xor eax, ebp
mov dword [ebp - 4], eax
push 6
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp + 8]
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x46c338
push 0xa
lea eax, [ebp - 0xc]
push 0
push eax
call fcn.0048507a
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00476fd3
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00476fd3
mov esp, ebp
pop ebp
ret
Function at 0x472a70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b5380]
push edi
test eax, eax
je 0x472ae9
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x472ae9
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x472ae9
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x472ad1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x472ad1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x472ad1
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x54]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18

Function at 0x472af0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b5380]
push edi
test eax, eax
je 0x472b69
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x472b69
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x472b69
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x472b51
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x472b51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x472b51
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x58]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18

Function at 0x472b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b5380]
push edi
test eax, eax
je 0x472be9
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x472be9
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x472be9
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x472bd1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x472bd1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x472bd1
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamA]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x4c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18
Function at 0x472bf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b5380]
push edi
test eax, eax
je 0x472c69
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x472c69
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x472c69
push esi
mov esi, dword [ebp + 0xc]
push 5
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x472c51
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x472c51
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x472c51
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
pop esi
pop edi
pop ebp
ret 0x18
push dword [ebp + 0x1c]
mov eax, dword [edi + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0x18
xor eax, eax
pop edi
pop ebp
ret 0x18

Function at 0x472ef0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b5380]
push edi
test eax, eax
je 0x472f54
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x472f54
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x472f54
push esi
mov esi, dword [ebp + 0xc]
push 4
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x472f45
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x472f45
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x472f45
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x472f4e
push dword [ebp + 0x10]
mov eax, dword [edi + 0x3c]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0xc
xor eax, eax
pop edi
pop ebp
ret 0xc

Function at 0x472f60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4b5380]
push edi
test eax, eax
je 0x472fc4
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0xc]
jge 0x472fc4
mov eax, dword [eax + 0x10]
mov edi, dword [eax + ecx*4]
test edi, edi
je 0x472fc4
push esi
mov esi, dword [ebp + 0xc]
push 4
push dword [ebp + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x472fb5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x472fb5
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x472fb5
push eax
call dword [sym.imp.USER32.dll_LoadMenuIndirectW]
test eax, eax
jne 0x472fbe
push dword [ebp + 0x10]
mov eax, dword [edi + 0x40]
push esi
call eax
pop esi
pop edi
pop ebp
ret 0xc
xor eax, eax
pop edi
pop ebp
ret 0xc

Function at 0x47e742
Capabilities:
Get common file path
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047e5dd
Function at 0x405fb0
Capabilities:
Authenticate hmac

Disassembly:
lea esi, [0x4060fcdb]
mov eax, esi
xor edi, ebp
xchg bl, al
jo 0x405fc3
add eax, 0x944f5f70
lea edi, [0x28374173]
mov bh, 0xad
imul ecx, ebx
jmp 0x405fd8
cmp esi, 0x7d50
and bl, bh
imul edi, eax
test ebx, 0xf2d6cb38
jmp 0x405ff5
imul eax, ebp
mov dl, 0x3a
test eax, edi
jo 0x406004
test al, ch
test ebp, esi
dec edi
call 0x4060c1
lea edx, [0x5faf288e]
test ebx, 0x520f2a47
dec ah
imul ebp, edx
mov dl, 0xe9
test esi, eax
imul eax, eax
inc ebp
movzx ebp, dl
and al, 0x44
cmp edx, 0xfe72
ja 0x406034
xchg ah, dl
mov dh, ch
push esi
jmp 0x406043
pop ecx
mov edx, edi
mov dl, dh
lea edx, [0x318d8178]
mov esi, ecx
sbb al, 0xea
imul eax, edx, 0x2d29f419
test ebp, 0x4bbe5cbf
xor ebx, esi
test al, dl
sbb dl, ah
mov cl, bl
imul esi, esi, 0
test ebx, edi
test bh, cl
mov ch, bl
mov dl, 0x51
dec eax
imul ecx, eax, 0x5b312916
inc edi
mov dh, 0x88
mov cl, ah
dec edi
test bh, dh
push 0x914dd
test bl, dl
movsx edx, bl
pop eax
jmp 0x406095
xor eax, 0xebe1
movzx ebx, dx
xadd esi, eax
mov bh, dh
sub esi, 0x9ff3b
inc ecx
jne 0x4060ae
movzx eax, bx
test dh, 0x5c
test dl, bl
add al, bl
cmp esi, 0x7e0
jb 0x40606c
pop ebp
mov bl, 0x36
imul eax, edi, 0xeb1a69c7
jmp 0x406092
ret
invalid
mov dh, 0x4a
jbe 0x4060da
test bl, 0x6d
test bh, bh
or bh, 0x78
lea edi, [0x89535eb2]
sub bl, cl
xchg ah, al
push eax
push edx
or ebx, esi
dec bl
sbb dh, cl
imul esi, ecx
imul eax, esi, 0xfb59b876
movzx edi, bp
mov esi, 0xdcc652f5
add edi, eax
add ebp, 0x1209d
inc dl
sub cl, cl
xchg edi, ebx
push 0xe482e6
test ch, 0xa4
mov edi, edx
test ebp, eax
jno 0x40611e
sub dh, ah
lea esi, [0x87ae197a]
imul edi, ebx, 0xe567040c
mov ebx, 0x9366
mov dh, cl
cmp eax, 0x47e21342
loop 0x40617d
Function at 0x406013
Capabilities:
Authenticate hmac

Disassembly:
lea esi, [0x4060fcdb]
mov eax, esi
xor edi, ebp
xchg bl, al
jo 0x405fc3
add eax, 0x944f5f70
lea edi, [0x28374173]
mov bh, 0xad
imul ecx, ebx
jmp 0x405fd8
cmp esi, 0x7d50
and bl, bh
imul edi, eax
test ebx, 0xf2d6cb38
jmp 0x405ff5
imul eax, ebp
mov dl, 0x3a
test eax, edi
jo 0x406004
test al, ch
test ebp, esi
dec edi
call 0x4060c1
lea edx, [0x5faf288e]
test ebx, 0x520f2a47
dec ah
imul ebp, edx
mov dl, 0xe9
test esi, eax
imul eax, eax
inc ebp
movzx ebp, dl
and al, 0x44
cmp edx, 0xfe72
ja 0x406034
xchg ah, dl
mov dh, ch
push esi
jmp 0x406043
pop ecx
mov edx, edi
mov dl, dh
lea edx, [0x318d8178]
mov esi, ecx
sbb al, 0xea
imul eax, edx, 0x2d29f419
test ebp, 0x4bbe5cbf
xor ebx, esi
test al, dl
sbb dl, ah
mov cl, bl
imul esi, esi, 0
test ebx, edi
test bh, cl
mov ch, bl
mov dl, 0x51
dec eax
imul ecx, eax, 0x5b312916
inc edi
mov dh, 0x88
mov cl, ah
dec edi
test bh, dh
push 0x914dd
test bl, dl
movsx edx, bl
pop eax
jmp 0x406095
xor eax, 0xebe1
movzx ebx, dx
xadd esi, eax
mov bh, dh
sub esi, 0x9ff3b
inc ecx
jne 0x4060ae
movzx eax, bx
test dh, 0x5c
test dl, bl
add al, bl
cmp esi, 0x7e0
jb 0x40606c
pop ebp
mov bl, 0x36
imul eax, edi, 0xeb1a69c7
jmp 0x406092
ret
invalid
mov dh, 0x4a
jbe 0x4060da
test bl, 0x6d
test bh, bh
or bh, 0x78
lea edi, [0x89535eb2]
sub bl, cl
xchg ah, al
push eax
push edx
or ebx, esi
dec bl
sbb dh, cl
imul esi, ecx
imul eax, esi, 0xfb59b876
movzx edi, bp
mov esi, 0xdcc652f5
add edi, eax
add ebp, 0x1209d
inc dl
sub cl, cl
xchg edi, ebx
push 0xe482e6
test ch, 0xa4
mov edi, edx
test ebp, eax
jno 0x40611e
sub dh, ah
lea esi, [0x87ae197a]
imul edi, ebx, 0xe567040c
mov ebx, 0x9366
mov dh, cl
cmp eax, 0x47e21342
loop 0x40617d
Function at 0x409690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
jne 0x4096b6
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x24]
call fcn.004071c0
xor al, al
jmp 0x409841
mov ecx, dword [ebp - 0x24]
call fcn.00408dd0
mov ecx, dword [ebp - 0x24]
add ecx, 4
call fcn.00404ee0
mov dword [ebp - 8], 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR80.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR80.dll_ftell]
add esp, 4
mov dword [ebp - 8], eax
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR80.dll_fseek]
add esp, 0xc
cmp dword [ebp - 8], 0
jg 0x40971f
push 0
push 0
push 0
push 0xc
mov ecx, dword [ebp - 0x24]
call fcn.004071c0
xor al, al
jmp 0x409841
mov eax, dword [ebp - 8]
add eax, 1
push eax
call sub.MFC80.DLL_Ordinal_762
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x409782
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.MFC80.DLL_Ordinal_764
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x24]
call fcn.004071c0
xor al, al
jmp 0x409841
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov byte [ebp - 0x12], 0xd
mov byte [ebp - 0x11], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 8]
mov byte [ecx], 0
mov edx, dword [ebp - 4]
movsx eax, byte [edx]
test eax, eax
je 0x409800
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
cmp edx, 0xd
jne 0x4097e2
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xa
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
cmp ecx, 0xa
jne 0x4097e0
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x4097fe
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x40979f
mov edx, dword [ebp - 0xc]
mov byte [edx], 0
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
call sub.MFC80.DLL_Ordinal_764
add esp, 4
mov ecx, dword [ebp - 0x24]
call fcn.00405330
movzx eax, al
neg eax
sbb eax, eax
add eax, 1
mov esp, ebp
pop ebp
ret 8