joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a230
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e0e88
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x7b2214]
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 esi, ecx
push 0x104
lea eax, [ebp - 0x118]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0x14c]
push 0x34
push 0
push eax
call fcn.00668940
add esp, 0xc
cmp dword [esi + 0xc], 0
jne 0x47a385
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
lea eax, [esi + 0x5c]
cmovae ecx, dword [ebp + 8]
cmp dword [eax + 0x14], 0x10
jb 0x47a2b0
mov eax, dword [eax]
push ecx
push eax
push 0x76a048
push 0x103
lea eax, [ebp - 0x118]
push 0x103
push eax
call fcn.004327b0
lea ecx, [ebp - 0x118]
add esp, 0x18
xor edx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47a2e0
sub ecx, esi
je 0x47a31d
nop dword [eax + eax]
cmp byte [ebp + edx - 0x118], 0x5c
jne 0x47a302
mov byte [ebp + edx - 0x118], 0x2f
lea eax, [ebp - 0x118]
inc edx
lea esi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47a310
sub eax, esi
cmp edx, eax
jb 0x47a2f0
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x47a385
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea eax, [ebp - 0x118]
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocString
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x47a3b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0x2000000
push 3
push 0
push 0
mov ebx, eax
lea eax, [ebp - 0x118]
push 0
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x47a3b2
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, 1
lea ecx, [ebp + 8]
call fcn.0042e010
mov eax, esi
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.00629f1d
mov esp, ebp
pop ebp
ret 0x3c
lea eax, [ebp - 0x14c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x47a385
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp + 0x20]
jne 0x47a385
mov ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
sub ecx, 0xd53e8000
push 0
push 0x989680
sbb eax, 0x19db1de
push eax
push ecx
call fcn.0062b2d0
mov edx, dword [ebp + 0x24]
mov esi, eax
mov ecx, dword [ebp + 0x28]
sub edx, 0xd53e8000
push 0
push 0x989680
sbb ecx, 0x19db1de
push ecx
push edx
call fcn.0062b2d0
mov edx, eax
mov ecx, esi
sub edx, esi
sub ecx, eax
cmp esi, eax
cmovbe ecx, edx
cmp ecx, 0x14
jbe 0x47a466
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 0x24]
push ecx
lea ecx, [ebp - 0x138]
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x1b7
push str.d:workcodegit_saltbox_src_base_scupgrade.cpp
push str._s__d_:__SCUpgrade::_IsNeedDown__file_:__s___lld____lld
push 1
call fcn.0043f550
add esp, 0x1c
jmp 0x47a385
xor esi, esi
jmp 0x47a38a
Function at 0x47d0c0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x7b2214]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [esp + 0xc], edx
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 8], esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
cmp eax, 1
jne 0x47d104
mov dword [edi + 0x468], 0
jmp 0x47d1d8
cmp eax, 0x110
jne 0x47d1c2
mov ecx, edi
mov dword [edi + 0x468], 1
mov dword [edi + 0x4c4], 1
call fcn.0047f0c0
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
lea edx, [esp + 0x3c]
xorps xmm0, xmm0
push edx
movaps xmmword [esp + 0x24], xmm0
mov eax, dword [eax + 0x4c]
call eax
movups xmm0, xmmword [eax]
lea eax, [esp + 0x20]
push eax
push dword [edi + 0x248]
movups xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x47d170
lea eax, [esp + 0x28]
push eax
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_ClientToScreen]
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
cmp eax, ecx
je 0x47d1d8
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push ecx
push eax
call esi
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x10]
push 0
push dword [esp + 0x20]
push eax
call esi
mov esi, dword [esp + 0xc]
jmp 0x47d1d8
cmp eax, 0x10
jne 0x47d1ff
mov ecx, edi
mov dword [edi + 0x468], 1
call fcn.0047d630
mov dword [esi], 0
cmp dword [edi + 0x468], 0
je 0x47d24e
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret 0x14
cmp eax, 0x4c9
jne 0x47d222
push ecx
push edx
push ecx
push ecx
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.0047e620
cmp dword [esp + 8], 0
mov dword [esi], eax
jmp 0x47d1e5
cmp eax, 0x4cb
jne 0x47d24e
mov eax, 1
mov dword [esp + 8], eax
test ecx, ecx
je 0x47d246
push ecx
mov ecx, edi
call fcn.0047ec30
mov ecx, eax
mov eax, dword [esp + 8]
jmp 0x47d248
xor ecx, ecx
mov dword [esi], ecx
test eax, eax
jne 0x47d1e7
mov esi, dword [edi + 0x39c]
mov ecx, edi
push 0
push dword [esp + 0x10]
push dword [esp + 0x1c]
push dword [esp + 0x24]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00481550
mov dword [edi + 0x39c], esi
test eax, eax
jne 0x47d1e7
mov esi, dword [ebp + 0xc]
lea eax, [esp + 8]
push eax
push dword [esp + 0x18]
lea ecx, [edi + 0x23c]
mov dword [esp + 0x10], 1
push dword [esp + 0x20]
push esi
call fcn.004a2824
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x47d2b6
lea eax, [esi - 0x132]
cmp eax, 6
jbe 0x47d2c1
cmp dword [esp + 8], 0
jne 0x47d1e7
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret 0x14
Function at 0x47d630
Capabilities:
Suspend thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x4bc], 0
je 0x47d645
cmp dword [esi + 0x46c], 3
jne 0x47d662
push 0x10010
push 0xc8
call fcn.004a3a18
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_DestroyWindow]
pop esi
ret
mov eax, dword [esi + 0x448]
test eax, eax
je 0x47d673
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 1
mov ecx, esi
call fcn.00480410
pop esi
ret

Function at 0x47d680
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov eax, ecx
push edi
push 0xffffffffffffffff
push str.tab_main
lea esi, [eax + 4]
mov dword [ebp - 8], eax
mov ecx, esi
call fcn.00480a00
push 0xffffffffffffffff
push str.richedit_protocol
mov ecx, esi
mov edi, eax
call fcn.0048e03b
mov esi, eax
test esi, esi
je 0x47d6c8
mov edx, dword [esi]
mov ecx, esi
push str.richedit
call dword [edx + 4]
test eax, eax
jne 0x47d7de
mov ecx, dword [0x7c5ac0]
test ecx, ecx
je 0x47d6db
call fcn.00496aa1
mov esi, eax
jmp 0x47d6dd
xor esi, esi
push ebx
push 0x2800
call fcn.00685999
push 0x5000
mov ebx, eax
call fcn.00685999
push 0xffffffffffffffff
push str.richedit_protocol
push str.richedit
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push eax
mov dword [ebp - 4], eax
call fcn.00462c90
add esp, 0x24
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 4]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x47d74b
push 0
push 0
push eax
push ebx
push 0xffffffffffffffff
push dword [ebp - 4]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push dword [ebp - 4]
call fcn.00684e92
add esp, 4
test esi, esi
je 0x47d791
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x47d791
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:workcodegitpblibclass_soui_2017_souiincludecore_swnd.h
push ebx
push str.soui
push 1
push 0
call dword [edx + 0x34]
jmp 0x47d7d2
push 0x2800
call fcn.00685999
push 0x20e
push str.d:workcodegitpblibclass_soui_2017_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByName2
push ebx
push str._s__s__s:_d_n
push 0xffffffffffffffff
mov esi, eax
push 0x2800
push esi
call fcn.004327b0
add esp, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00684e92
add esp, 4
push ebx
call fcn.00684e92
add esp, 4
xor esi, esi
pop ebx
mov eax, dword [ebp - 8]
mov ecx, edi
push 1
mov eax, dword [eax + 0x46c]
sub eax, 1
je 0x47d83f
sub eax, 1
je 0x47d828
sub eax, 1
je 0x47d811
push str.page_install
call fcn.004aa38d
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
push str.page_install_complete
call fcn.004aa38d
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
push str.page_install_ing
call fcn.004aa38d
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
push str.page_install_procotol
call fcn.004aa38d
test esi, esi
je 0x47d854
mov ecx, esi
call fcn.00491579
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47e060
Capabilities:
Resume thread

Disassembly:
push esi
push 0
mov esi, ecx
call fcn.00480410
mov eax, dword [esi + 0x448]
pop esi
test eax, eax
je 0x47e07c
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
ret
Function at 0x47f530
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x7b2214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x208
push 0
push eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x214], esi
call fcn.00668940
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x47f5a0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00629f1d
mov esp, ebp
pop ebp
ret 4
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x47f5b0
mov eax, dword [0x76a02c]
lea ecx, [ebp - 0x20c]
mov dword [edi], eax
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x47f5d0
mov eax, dword [0x7731d8]
xor edx, edx
mov dword [ecx], eax
mov eax, dword [0x7731dc]
mov dword [ecx + 4], eax
mov eax, dword [0x7731e0]
mov dword [ecx + 8], eax
mov eax, dword [0x7731e4]
mov dword [ecx + 0xc], eax
lea ecx, [ebp - 0x20c]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f606
sub ecx, edi
sar ecx, 1
je 0x47f65a
push ebx
mov ebx, 0x5c
lea esi, [ebx - 0x2d]
cmp bx, word [ebp + edx*2 - 0x20c]
jne 0x47f632
mov word [ebp + edx*2 - 0x20c], si
lea eax, [ebp - 0x20c]
inc edx
lea edi, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47f640
sub eax, edi
sar eax, 1
cmp edx, eax
jb 0x47f620
mov esi, dword [ebp - 0x210]
pop ebx
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
pop edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47f677
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00432ef0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00629f1d
mov esp, ebp
pop ebp
ret 4
Function at 0x480a00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0048e03b
mov esi, eax
test esi, esi
je 0x480a32
mov edx, dword [esi]
mov ecx, esi
push str.tabctrl
call dword [edx + 4]
test eax, eax
je 0x480a32
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
mov ecx, dword [0x7c5ac0]
test ecx, ecx
je 0x480a45
call fcn.00496aa1
mov esi, eax
jmp 0x480a47
xor esi, esi
push 0x2800
call fcn.00685999
add esp, 4
mov edi, eax
push 0x5000
call fcn.00685999
add esp, 4
mov ebx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.tabctrl
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00462c90
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x480ab4
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00684e92
add esp, 4
test esi, esi
je 0x480b09
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x480b09
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:workcodegitpblibclass_soui_2017_souiincludecore_swnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.00684e92
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.00685999
add esp, 4
mov esi, eax
push 0x20e
push str.d:workcodegitpblibclass_soui_2017_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.004327b0
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00684e92
add esp, 4
push edi
call fcn.00684e92
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x480cc0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0xffffffffffffffff
push str.turn3d
call fcn.0048e03b
mov esi, eax
test esi, esi
je 0x480cf3
mov edx, dword [esi]
mov ecx, esi
push str.Turn3dView
call dword [edx + 4]
test eax, eax
je 0x480cf3
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
mov ecx, dword [0x7c5ac0]
test ecx, ecx
je 0x480d06
call fcn.00496aa1
mov esi, eax
jmp 0x480d08
xor esi, esi
push 0x2800
call fcn.00685999
add esp, 4
mov edi, eax
push 0x5000
call fcn.00685999
add esp, 4
mov ebx, eax
push 0xffffffffffffffff
push str.turn3d
push str.Turn3dView
push str.FindChildByName2_Failed__no_window_of_class___s__with_name_of___s__was_found_within___d__levels
push 0xffffffffffffffff
push 0x2800
push ebx
call fcn.00462c90
add esp, 0x1c
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp eax, 0x2800
jae 0x480d76
push 0
push 0
push eax
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ebx
call fcn.00684e92
add esp, 4
test esi, esi
je 0x480dcb
mov eax, dword [esi]
mov ecx, esi
push 1
push 0
mov eax, dword [eax + 0x2c]
call eax
test al, al
je 0x480dcb
mov eax, dword [ebp + 4]
mov ecx, esi
mov edx, dword [esi]
push eax
push str.SOUI::SWindow::FindChildByName2
push 0x20e
push str.d:workcodegitpblibclass_soui_2017_souiincludecore_swnd.h
push edi
push str.soui
push 1
push 0
call dword [edx + 0x34]
push edi
call fcn.00684e92
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
push 0x2800
call fcn.00685999
add esp, 4
mov esi, eax
push 0x20e
push str.d:workcodegitpblibclass_soui_2017_souiincludecore_swnd.h
push str.SOUI::SWindow::FindChildByName2
push edi
push str._s__s__s:_d_n
push 0xffffffffffffffff
push 0x2800
push esi
call fcn.004327b0
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
call fcn.00684e92
add esp, 4
push edi
call fcn.00684e92
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8
Function at 0x486429
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], ecx
lea ecx, [ebp + 0xc]
call fcn.0048b89f
lea edx, [eax - 1]
cmp edx, 4
ja 0x486559
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 1
jle 0x4864f5
push edi
lea ecx, [ebp + 0xc]
call fcn.0048880f
push eax
push ebx
call fcn.004865ff
add esp, 0xc
lea ecx, [ebp + 0xc]
push edi
call fcn.0048b8c5
push eax
push ebx
call fcn.004865ff
add esp, 0xc
lea eax, [ebp - 0x14]
lea ecx, [ebp + 0xc]
push eax
call fcn.00486c11
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
call fcn.004858f0
test al, al
je 0x4864e9
mov esi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x14]
call fcn.004887fc
push eax
push ebx
call fcn.004865ff
add esp, 0xc
lea ecx, [ebp - 0x14]
push edi
call fcn.0048b8b2
push eax
push ebx
call fcn.004865ff
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov esi, dword [esi + 0x14]
add esp, 0xc
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], esi
push eax
call fcn.004858f0
test al, al
jne 0x4864a7
push edi
push 0
push ebx
call fcn.004865ff
add esp, 0xc
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x486501
mov esi, dword [esi + 0x10]
jmp 0x48653a
xor esi, esi
jmp 0x48653a
lea ecx, [ebp - 4]
call fcn.0048b89f
push edi
push 1
mov byte [ebp + 0x13], al
lea eax, [ebp + 0x13]
push 1
push eax
call fcn.00687a59
mov ecx, dword [ebp - 0xc]
add esp, 0x10
push edi
push esi
push ebx
call fcn.00486429
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.004888b4
mov esi, dword [eax]
mov dword [ebp - 4], esi
test esi, esi
jne 0x486505
push edi
push 1
lea eax, [ebp + 0xb]
mov byte [ebp + 0xb], 0
push 1
push eax
call fcn.00687a59
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x48655d
Capabilities:
Write file on windows

Disassembly:
push 0x44
mov eax, 0x6e1c4a
call fcn.0062ace4
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x50]
push 0xa
sub esp, 0xc
mov dword [esp + 8], 0x40100000
mov dword [esp + 4], 0x3e800000
mov dword [esp], 0x3f400000
push 0x11
call fcn.004854e7
and dword [ebp - 4], 0
lea eax, [ebp - 0x50]
push eax
push dword [edi]
mov ecx, edi
call fcn.00486186
lea eax, [ebp - 0x50]
push eax
call fcn.004862d1
mov ecx, dword [ebp - 0x4c]
xor ebx, ebx
push esi
inc ebx
mov dword [ebp - 0x14], eax
push 0x10
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x6c6d7873
push ebx
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ecx
call fcn.00687a59
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.0048666d
add esp, 0x1c
lea eax, [ebp - 0x50]
mov ecx, edi
push esi
push dword [edi]
push eax
call fcn.00486429
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0048600f
call fcn.0062ac8e
ret 4
Function at 0x4865ff
Capabilities:
Write file on windows

Disassembly:
push 4
mov eax, 0x6e1c6f
call fcn.0062acb0
mov edi, dword [ebp + 8]
push dword [edi + 4]
call fcn.00487ea7
and dword [ebp + 8], 0
mov ebx, eax
pop ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00426210
mov esi, dword [ebp - 0x10]
cmp dword [esi - 8], 0
je 0x486641
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00485e57
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
push dword [ebp + 0x10]
lea eax, [ebp + 8]
push ebx
push 1
push eax
call fcn.00687a59
add esp, 0x10
and dword [ebp - 4], 0
lea ecx, [esi - 0xc]
cmp ecx, dword [section..data]
je 0x486667
call fcn.004264f0
call fcn.0062ac79
ret

Function at 0x48666d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00485d8e
mov edi, eax
test edi, edi
je 0x4866aa
push esi
mov ecx, dword [ebp + 0xc]
mov esi, edi
push edi
call fcn.00485c50
push dword [esi]
mov edi, eax
call fcn.0069cc6d
push dword [ebp + 8]
inc eax
push eax
push 2
push dword [esi]
call fcn.00687a59
add esp, 0x14
test edi, edi
jne 0x486680
pop esi
pop edi
pop ebp
ret

Function at 0x4886df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
xor edi, edi
test ebx, ebx
jne 0x488702
mov eax, dword [ebp + 8]
mov dword [eax + 8], edi
mov dword [eax], 1
mov dword [eax + 4], edi
jmp 0x48879f
push esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], edi
push eax
push ebx
call fcn.00487c9b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x488725
push ebx
call fcn.006873a5
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x48877b
mov esi, dword [ebp + 0x10]
xor eax, eax
inc eax
test esi, esi
cmovne eax, esi
push eax
call dword [0x7ae028]
mov dword [ebp - 4], eax
pop ecx
push ebx
test eax, eax
jne 0x488750
call fcn.006873a5
mov eax, dword [ebp + 8]
mov dword [eax], 3
jmp 0x48877b
push esi
push 1
push eax
call fcn.00687c9a
push ebx
mov esi, eax
call fcn.006873a5
add esp, 0x14
cmp esi, dword [ebp + 0x10]
je 0x488784
push dword [ebp - 4]
call dword [0x7ae02c]
mov eax, dword [ebp + 8]
mov dword [eax], 2
pop ecx
mov dword [eax + 8], edi
mov dword [eax + 4], edi
jmp 0x48879e
push dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00488657
mov eax, dword [ebp + 8]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x4ac456
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
lea eax, [esi + 0x170]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
mov ecx, esi
test eax, eax
jne 0x4ac47c
call fcn.00491129
jmp 0x4ac4a8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004904e9
mov eax, dword [esi + 0x180]
xor ecx, ecx
cmp dword [eax - 8], ecx
je 0x4ac4a8
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
pop ebp
ret 0xc

Function at 0x4afaf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x6f3e2c
push dword [ebp + 8]
call fcn.0068725c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4afb4d
push ebx
push edi
push esi
call fcn.0069d487
push eax
call fcn.0069d77a
mov edi, eax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x10]
jbe 0x4afb2c
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x4afb42
push esi
push edi
push 1
push dword [ebp + 0xc]
call fcn.00687c9a
xor ebx, ebx
add esp, 0x10
cmp edi, eax
sete bl
push esi
call fcn.006873a5
pop ecx
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret

Function at 0x4afba7
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
call fcn.004b0718
mov ebx, eax
test ebx, ebx
je 0x4afbdd
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x4afbdd
cmp dword [ebp + 0x14], edi
jae 0x4afbe6
push 0x7a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
push ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4afbdd
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4afbdd
push edi
push eax
push dword [ebp + 0x10]
call fcn.00667e40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
jmp 0x4afbdf