joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407830
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x6fc]
push ebx
sub esp, 0x71c
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x7d4
mov eax, dword [0x41f708]
mov dword [esp], eax
call edi
sub esp, 8
mov dword [esp + 4], 0x7dd
mov dword [ebp - 0x714], eax
mov dword [esp], eax
mov dword [ebp - 0x710], edi
call edi
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x407
mov dword [esp], eax
call ebx
lea edx, [ebp - 0x6f8]
mov ecx, 0x1c
mov dword [ebp - 0x6fc], 0x74
mov dword [ebp - 0x70c], eax
sub esp, 0x10
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x612]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov eax, dword [0x41f704]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0xd
mov ecx, dword [ebp - 0x70c]
mov dword [esp], ecx
call ebx
sub esp, 0x10
test eax, eax
jne 0x407918
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [sym.imp.kernel32.dll_lstrcmpW]
lea edi, [ebp - 0x6e2]
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [ebp - 0x718], edx
call edx
sub esp, 8
mov esi, eax
test eax, eax
je 0x407990
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov ecx, dword [ebp - 0x70c]
mov dword [esp], ecx
call ebx
sub esp, 0x10
mov dword [esp + 4], 0x7de
mov eax, dword [ebp - 0x714]
mov dword [esp], eax
mov edi, dword [ebp - 0x710]
call edi
sub esp, 8
call dbg.populate_size_list
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x7d4
mov eax, dword [0x41f708]
mov dword [esp], eax
mov edi, dword [ebp - 0x710]
call edi
sub esp, 8
mov dword [esp + 4], 0x7de
mov dword [esp], eax
call edi
lea edi, [ebp - 0x684]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x407
mov dword [esp], eax
call ebx
lea edx, [ebp - 0x688]
mov ecx, 0x1c
mov dword [ebp - 0x688], 0x74
mov dword [ebp - 0x70c], eax
sub esp, 0x10
mov eax, esi
lea esi, [ebp - 0x216]
rep stosd dword es:[edi], eax
mov dword [esp + 0xc], edx
lea edi, [ebp - 0x414]
mov dword [esp + 8], 1
mov dword [esp + 4], 0x43a
mov eax, dword [0x41f704]
mov dword [esp], eax
call ebx
sub esp, 0x10
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0x104
mov dword [esp + 4], 0xd
mov eax, dword [ebp - 0x70c]
mov dword [esp], eax
call ebx
mov ecx, dword [ebp - 0x67c]
mov eax, 0x66666667
sub esp, 0x10
imul ecx
sar ecx, 0x1f
mov dword [esp + 4], 0x411cf8
mov dword [esp], esi
sar edx, 3
sub edx, ecx
mov dword [esp + 8], edx
call dword [sym.imp.user32.dll_wsprintfW]
mov dword [esp + 4], esi
mov dword [esp], edi
mov eax, dword [ebp - 0x718]
call eax
sub esp, 8
test eax, eax
je 0x40790d
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0xc
mov eax, dword [ebp - 0x70c]
mov dword [esp], eax
call ebx
sub esp, 0x10
jmp 0x40790d
Function at 0x407ac0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
sub esp, 0x14
mov dword [esp + 4], 0x7d0
mov eax, dword [0x41f708]
mov dword [esp], eax
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
test ebx, ebx
je 0x407b20
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x410284]
sub esp, 8
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41f6e8]
or edx, 2
mov dword [eax*4 + 0x41f6e8], edx
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x410284]
sub esp, 8
mov dword [esp], eax
call sym._reg_formatindex
mov edx, dword [eax*4 + 0x41f6e8]
and edx, 0xfffffffd
mov dword [eax*4 + 0x41f6e8], edx
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x407e00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
mov ebx, edx
sub esp, 0x5c
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x40000000
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x407fe0
mov edx, eax
lea esi, [ebp - 0x24]
cmp ebx, 0x11
je 0x407f90
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x1c], dbg.stream_out
mov dword [esp + 0xc], esi
mov esi, dword [sym.imp.user32.dll_SendMessageW]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x44a
mov eax, dword [0x41f704]
mov dword [esp], eax
call esi
mov edx, dword [ebp - 0x40]
sub esp, 0x10
mov dword [ebp - 0x3c], eax
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [0x41f704]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetFocus]
mov ecx, dword [ebp - 0x3c]
sub esp, 4
test ecx, ecx
je 0x407f48
xor eax, eax
movzx edx, word [edi + eax]
add eax, 2
mov word [eax + 0x41f4de], dx
test dx, dx
jne 0x407ec0
mov eax, 0x41f4e0
call dbg.set_caption
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb9
mov eax, dword [0x41f704]
mov dword [esp], eax
call esi
mov dword [0x410284], ebx
sub esp, 0x10
call dbg.set_bar_states
call dbg.set_default_font
mov eax, dword [0x410284]
mov dword [esp], eax
call sym._reg_formatindex
mov eax, dword [eax*4 + 0x41f6f0]
mov dword [esp + 4], eax
mov eax, dword [0x41f708]
mov dword [esp], eax
call dbg.target_device
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x4b0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x45f
mov eax, dword [0x41f704]
mov dword [esp], eax
call esi
sub esp, 0x10
test eax, eax
je 0x407ebe
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 2
mov dword [esp + 4], global_unicode
mov dword [esp], eax
mov dword [ebp - 0x3c], eax
call dword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [ebp - 0x3c]
sub esp, 0x14
cmp dword [ebp - 0x24], 2
je 0x407e60
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
sub esp, 4
jmp 0x407f84
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 5
mov dword [esp + 0xc], 0x30
sete al
mov dword [esp + 8], global_lpCaption
movzx eax, al
add eax, 0x6ab
mov dword [esp + 4], eax
mov eax, dword [0x41f708]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
xor eax, eax
sub esp, 0x10
jmp 0x407f84
Function at 0x4081f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x20
mov eax, dword [0x41f704]
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
cmp word [0x41f4e0], 0
jne 0x40824f
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], 8
mov ebx, dword [sym.imp.user32.dll_SendMessageW]
mov dword [ebp - 0xc], 0x4b0
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0x45f
mov dword [esp], eax
call ebx
mov edx, eax
sub esp, 0x10
mov eax, dword [0x41f704]
test edx, edx
je 0x408339
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xb8
mov dword [esp], eax
call ebx
sub esp, 0x10
test eax, eax
je 0x408339
cmp word [0x41f4e0], 0
movzx eax, word [0x41eaa0]
mov ebx, 0x41eaa0
jne 0x408358
test ax, ax
je 0x4083a0
mov eax, ebx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x4082a0
sub eax, ebx
sar eax, 1
cmp word [0x41e8a0], 0
je 0x4082d3
mov edx, 0x41e8a0
lea esi, [esi]
add edx, 2
cmp word [edx], 0
jne 0x4082c0
sub edx, 0x41e8a0
sar edx, 1
add eax, edx
mov dword [esp + 4], 2
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_calloc]
mov esi, eax
test eax, eax
je 0x408348
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x41e8a0
mov dword [esp], eax
call dword [sym.imp.user32.dll_wsprintfW]
mov dword [esp + 0xc], 0x33
mov dword [esp + 8], global_lpCaption
mov dword [esp + 4], esi
mov eax, dword [0x41f708]
mov dword [esp], eax
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
mov ebx, eax
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_free]
cmp ebx, 6
je 0x4083b0
cmp ebx, 7
jne 0x408348
lea esp, [ebp - 8]
mov eax, 1
pop ebx
pop esi
pop ebp
ret
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
mov eax, 0x41f4e0
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x408360
cmp eax, 0x41f4e0
ja 0x40837a
jmp 0x4083ec
mov eax, ebx
movzx edx, word [eax]
cmp dx, 0x5c
je 0x4083e0
cmp dx, 0x2f
je 0x4083e0
lea ebx, [eax - 2]
cmp ebx, 0x41f4e0
ja 0x408378
movzx eax, word [eax - 2]
jmp 0x408291
xor eax, eax
jmp 0x4082ad
cmp word [0x41f4e0], 0
je 0x4083d0
mov edx, dword [0x410284]
lea esp, [ebp - 8]
mov eax, 0x41f4e0
pop ebx
pop esi
pop ebp
jmp dbg.DoSaveFile
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
jmp dbg.DialogSaveFile
lea ebx, [eax + 2]
movzx eax, word [eax + 2]
jmp 0x408291
mov ebx, eax
xor eax, eax
jmp 0x4082ad
Function at 0x40e6d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40e72b
cmp byte [esi + ebx - 1], 0xa
je 0x40e6ff
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x41f7a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x40ed00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x41f7b4]
mov esi, dword [ebp + 8]
test edi, edi
je 0x40eec0
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x41f7b4]
movzx eax, al
bt eax, esi
jae 0x40ef20
mov ecx, dword [0x41f7a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x40edc6
test byte [0x410290], 8
jne 0x40ee60
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x4102a0], 8
jne 0x40ee10
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x40ed95
cmp esi, 3
jbe 0x40edd0
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 8], str._s:_s:_s
lea edx, [edi + 1]
mov dword [esp], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x418680]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x40ed95
mov ecx, dword [0x41f7b4]
test ecx, ecx
je 0x40ef00
mov dword [esp], 0x4102a0
call dword [0x41f7b4]
test al, 8
je 0x40ed6c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x40ed6c
mov ebx, dword [0x41f7b4]
test ebx, ebx
je 0x40eee0
mov dword [esp], 0x410290
call dword [0x41f7b4]
test al, 8
je 0x40ed59
call dword [sym.imp.kernel32.dll_GetTickCount]
lea ebx, [esp + 0x28]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mov eax, 0x10624dd3
mov dword [esp], ebx
mul ecx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x40ed5f
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x41f7b4
call sym._load_func.part.0
jmp 0x40ed20
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x41f7b4
call sym._load_func.part.0
jmp 0x40ee6a
mov ecx, dbg.fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x41f7b4
call sym._load_func.part.0
jmp 0x40ee1e
mov eax, 0xffffffff
jmp 0x40edc6
Function at 0x40f090
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call dbg.main
mov dword [esp], eax
call sym._exit

Function at 0x40f150
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call dbg.__main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x40f1be
xor ecx, ecx
xor edx, edx
jmp 0x40f196
cmp al, 0x5c
jne 0x40f218
add edx, 1
movzx eax, byte [ebx + 1]
add ebx, 1
test al, al
je 0x40f1b3
cmp al, 9
je 0x40f19e
cmp al, 0x20
jne 0x40f180
test ecx, ecx
je 0x40f1b3
xor edx, edx
jmp 0x40f18b
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x40f1b0
cmp al, 0x20
je 0x40f1b0
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x40f1d9
mov word [ebp - 0x2c], 1
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call dbg.WinMain@16
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
jne 0x40f1a2
and edx, 1
jne 0x40f1a2
xor ecx, 1
jmp 0x40f18b
Function at 0x899620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1e0000]
push edi
or ebp, 0xffffffff
jmp 0x899642
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x899649
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x899638
mov eax, 1
add ebx, ebx
jne 0x89965b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x89966c
jne 0x89968b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89968b
dec eax
add ebx, ebx
jne 0x899678
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x899650
add ebx, ebx
jne 0x899687
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8996dd
xor ecx, ecx
sub eax, 3
jb 0x8996a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x899712
sar eax, 1
mov ebp, eax
jmp 0x8996ae
add ebx, ebx
jne 0x8996ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89967c
inc ecx
add ebx, ebx
jne 0x8996bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x89967c
add ebx, ebx
jne 0x8996c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8996be
jne 0x8996da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8996be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8996fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8996ee
jmp 0x89963e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8996fc
add edi, ecx
jmp 0x89963e
pop esi
mov edi, esi
mov ecx, 0x69ff
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x89971a
cmp byte [edi], 0xa
jne 0x89971a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x89971f
lea edi, [esi + 0x490000]
mov eax, dword [edi]
or eax, eax
je 0x899797
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x49db94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x49dcd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x89974c
mov ecx, edi
jns 0x89977b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x49dcd8]
or eax, eax
je 0x899791
mov dword [ebx], eax
add ebx, 4
jmp 0x899769
call dword [esi + 0x49dce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x8997c8
cmp al, 0xef
ja 0x8997bb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x89979d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x8997aa
mov ebp, dword [esi + 0x49dcdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
aad 0x8d
xchg dword [edi], ecx
add al, byte [eax]
add byte [eax + 0x60807f20], al
sub byte [edi + 0x58], bh
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8997fc
sub esp, 0xffffff80
jmp 0x4af6b0
Function at 0x4016de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [fcn.00536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call 0x513fae
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x4017a6
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call 0x513fae
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call 0x50dc89
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x40184c
cmp edi, dword [esi + 0x7c]
jge 0x40184c
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call fcn.004160f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004160f0
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x513fae
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call 0x513fae
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x40179e
jmp 0x40176e
call fcn.0041a317
int3

Function at 0x41017d
Capabilities:
Encode data using xor

Disassembly:
shl dword [edx + 0x5e], cl
int1
dec ebx
mov edi, 0x60ecfe48
dec ebp
jae 0x410189
out 0xb2, eax
add dword [eax - 0x15559c85], ecx
pop ecx
mov eax, 0x875e7436
invalid
out dx, eax
cmp bh, 0xb1
inc ebx
dec eax
cli
jmp 0x4101d3
jle 0x410114
xor dword [ecx + 0x14], 0x5e
stosd dword es:[edi], eax
jns 0x4101f7
frstor dword [esi + ebx*8 - 0x503a9dc]
and al, 0x56
cld
cli
xor bl, byte [edi - 0x1bafa5df]
or al, 0xe6
jle 0x410173
invalid
cmp dword [eax + 0x2b4e707f], 0x48ea0d3e
pop esi
insd dword es:[edi], dx
or eax, 0xa057b5a7
mov esp, 0xe61f4ebf
add eax, 0xf251a88
xchg esp, eax
sub bl, byte [ebp + 0x3112b7d6]
pop edi
jnp 0x4101ec
and eax, 0x9d2a940f
salc
mov bh, 0x12
xor dword [edi + 0x7b], ebx
hlt
invalid
Function at 0x41856e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x581a60]
xor eax, esp
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 0x20]
push ebx
push edi
lea eax, [esp + 0x2c]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call dword [fcn.00536724]
fld qword [esi + 0x88]
mov eax, dword [esp + 0x34]
fmul qword [0x560e70]
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
lea ebx, [eax - 0x50]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
call fcn.0052ae3e
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], eax
cmp dword [esi + 0x7c], edi
jg 0x418636
mov eax, dword [esi + 0x7c]
lea edx, [eax + eax*4]
add edx, edx
add edx, edx
mov dword [esp + 8], edx
fild dword [esp + 8]
fmul qword [esi + 0x88]
call fcn.0052ae3e
mov ecx, dword [esp + 0x3c]
pop edi
pop ebx
xor ecx, esp
call fcn.00524b19
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test edi, edi
js 0x4186dc
cmp edi, dword [esi + 0x7c]
jge 0x4186dc
mov edx, dword [esi + 0x78]
mov ecx, dword [edx + edi*4]
mov edx, dword [esp + 0x10]
push 1
sub eax, edx
push eax
mov eax, dword [esp + 0x14]
sub ebx, eax
push ebx
push edx
mov dword [esp + 0x18], ecx
push eax
add ecx, 0x138
call int.0042cf80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 1
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x24]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
call int.0042cf80
fld qword [esi + 0x88]
fmul qword [0x560e70]
call fcn.0052ae3e
mov ebx, dword [0x536728]
push eax
push 0
lea eax, [esp + 0x14]
push eax
call ebx
fld qword [esi + 0x88]
fmul qword [0x560e70]
call fcn.0052ae3e
push eax
push 0
lea ecx, [esp + 0x24]
push ecx
call ebx
inc edi
cmp edi, dword [esi + 0x7c]
jl 0x41862e
jmp 0x4185fe
call fcn.004311a7
int3

Function at 0x420174
Capabilities:
Check for vm using instruction vpcext
Encode data using xor

Disassembly:
add byte [ecx - 0x2ecca25b], dh
xor edx, ecx
push edi
scasb al, byte es:[edi]
invalid
rol byte [edx - 0x265c0f4a], 0xe9
ficom word [edx]
inc eax
push 0x1a984b14
dec esi
and al, 0xaf
jg 0x420107
dec ebx
nop
inc eax
push edx
cmp byte [ebp - 0x63], 0x92
sbb esi, edx
dec ecx
ror byte [ebp - 0x4b313011], cl
mov al, byte [0xdd57c769]
ficom word [edx + 0xa9d099f]
push cs
add dword [eax - 0x298df1d0], ecx
add al, 0xd2
dec ebp
sahf
bound edi, qword [0x41ab6e17]
cli
inc edi
mov edx, 0x5a2b8a36
mov esi, 0x13643c4f
push edx
push 0x15
ja 0x420166
mov ecx, 0x6922faee
insd dword es:[edi], dx
cli
and ch, byte [ecx + 0x6d]
push ds
dec esi
retf
inc edi
mov edx, 0x80003e8
stosb byte es:[edi], al
jb 0x420103
je 0x42010f
rcr bl, cl
push ds
cmp dword [edx - 0x5db19a31], 0x930b53ee
lea esi, [eax]
invalid