joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c408
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x462a60
call fcn.0044c91c
xor edi, edi
mov dword [ebp - 0x20], edi
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call ebx
cmp word [eax], 0x5a4d
jne 0x44c448
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x44c448
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x44c460
cmp eax, 0x20b
je 0x44c44d
mov dword [ebp - 0x1c], edi
jmp 0x44c474
cmp dword [ecx + 0x84], 0xe
jbe 0x44c448
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x44c46e
cmp dword [ecx + 0x74], 0xe
jbe 0x44c448
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x478410], 0xffffffff
or dword [0x478414], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x478398]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x478394]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x47840c], eax
call fcn.0044c974
call fcn.0044ca14
cmp dword [0x4713b0], edi
jne 0x44c4d4
push fcn.0044ca14
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0044ca02
push 0x4710c4
push 0x4710c0
call sub.MSVCR71.dll__initterm
push 0x44c9b8
call fcn.0044c696
mov eax, dword [0x478390]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x47838c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___wgetmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, edi
jge 0x44c528
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x4710bc
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__wcmdln]
mov esi, dword [eax]
cmp esi, edi
jne 0x44c552
or dword [ebp - 4], 0xffffffff
mov eax, 0xff
jmp 0x44c60c
mov dword [ebp - 0x24], esi
mov ax, word [esi]
cmp ax, 0x20
ja 0x44c5c1
cmp ax, di
je 0x44c568
cmp dword [ebp - 0x20], edi
jne 0x44c5c1
mov ax, word [esi]
cmp ax, di
je 0x44c57d
cmp ax, 0x20
ja 0x44c57d
inc esi
inc esi
mov dword [ebp - 0x24], esi
jmp 0x44c568
mov dword [ebp - 0x58], edi
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x58], 1
je 0x44c599
movzx eax, word [ebp - 0x54]
jmp 0x44c59c
push 0xa
pop eax
push eax
push esi
push edi
push edi
call ebx
push eax
call fcn.0044d0c6
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], edi
jne 0x44c5b9
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x44c606
cmp ax, 0x22
jne 0x44c5d2
xor eax, eax
cmp dword [ebp - 0x20], edi
sete al
mov dword [ebp - 0x20], eax
inc esi
inc esi
jmp 0x44c552
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0044c957
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405823
Capabilities:
Resolve function by parsing pe exports

Disassembly:
loop 0x40585c
sbb byte [0xff6435e6], bh
xor byte [eax - 0xdf769c], dl
rcl dword [eax - 0xee17], cl
invalid
shr byte [esp + edi + 0x2c027c61], 0x20
Function at 0x1000194e
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x100019fb
push edi
push esi
call sub.mfc140u.dll_operator_2
pop ecx
mov edi, eax
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
mov esi, str.C:_buildAgentwork_b687d30c96366458clarityCswControlsCommonAboutWnd.cpp
test eax, eax
jne 0x1000199c
push eax
push str.GetFileVersionInfoW__LPTSTR_szFileName__dwHandle__dwSize__pVer_
push 0x1d
push esi
call sub.cswbasemfc14.dll_Ordinal_1234
add esp, 0x10
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x10021a60
push edi
call sub.VERSION.dll_VerQueryValueW
cmp dword [ebp - 8], 0x34
je 0x100019c7
push 0
push str.sizeof_VS_FIXEDFILEINFO___cbSize
push 0x21
push esi
call sub.cswbasemfc14.dll_Ordinal_1234
add esp, 0x10
mov ecx, dword [ebp - 0xc]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push dword [ebp + 0xc]
push str._s:__2i._2i._2i._2i.
push dword [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
push edi
call sub.mfc140u.dll_operator
add esp, 0x20
pop edi
jmp 0x10001a24
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x10001a13
push 0x89e
jmp 0x10001a18
push 0x89f
push dword [ebp + 0x10]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__8]
add esp, 0xc
pop esi
leave
ret
Function at 0x10001fd6
Capabilities:
Get common file path
Query environment variable
Read .ini file

Disassembly:
push 0x38
mov eax, 0x1001ed42
call fcn.1001d05e
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], edi
xor ebx, ebx
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov esi, 0x104
mov dword [ebp - 4], ebx
push esi
push esi
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push str.CSW_CONFIG_FOLDER
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x10002028
push esi
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__19]
push 0x10021a60
mov ecx, eax
mov byte [ebp - 4], 1
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
je 0x10002073
push 0x10021a60
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_1]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_5884]
dec eax
lea ecx, [ebp - 0x3c]
push eax
call dword [sym.imp.mfc140u.dll_Ordinal_1653]
cmp ax, 0x5c
je 0x100020a5
push ebx
push str.sConfigDir_sConfigDir.GetLength_____1___L
push 0x137
push str.C:_buildAgentwork_b687d30c96366458clarityCswControlsCommonAtlToCswApp.cpp
call sub.cswbasemfc14.dll_Ordinal_1234
add esp, 0x10
push str.others.ini
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100016cd
add esp, 0xc
mov ecx, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1663]
push eax
push 0x14
lea eax, [ebp - 0x38]
push eax
push 0x10021a64
push str.Language
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, edi
call fcn.1001d00d
ret
Function at 0x100035ef
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10034280]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10036264], 0
je 0x10003612
mov al, 1
jmp 0x10003724
cmp byte [0x10034041], 0
je 0x10003722
push str.CSWNETCOM.DLL
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10002d6a
pop ecx
pop ecx
test eax, eax
je 0x10003722
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x10003665
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x10036264], eax
jmp 0x1000366a
mov eax, dword [0x10036264]
test eax, eax
je 0x1000371b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NETCOM_GetFreeComs
push eax
call esi
push str.NETCOM_GetComsCount
push dword [0x10036264]
mov dword [0x10036268], eax
call esi
push str.NETCOM_SetComAttr
push dword [0x10036264]
mov dword [0x1003626c], eax
call esi
push str.NETCOM_ComWrite
push dword [0x10036264]
mov dword [0x10036270], eax
call esi
push str.NETCOM_ComRead
push dword [0x10036264]
mov dword [0x10036274], eax
call esi
push str.NETCOM_ComReadQueue
push dword [0x10036264]
mov dword [0x10036278], eax
call esi
cmp dword [0x10036268], 0
mov dword [0x1003627c], eax
pop esi
je 0x10003716
cmp dword [0x1003626c], 0
je 0x10003716
cmp dword [0x10036270], 0
je 0x10003716
cmp dword [0x10036274], 0
je 0x10003716
cmp dword [0x10036278], 0
je 0x10003716
test eax, eax
jne 0x1000360b
call fcn.10002beb
mov byte [0x10034041], 0
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001cfeb
leave
ret
Function at 0x10003730
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10034280]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x1003623c], 0
je 0x10003753
mov al, 1
jmp 0x10003861
cmp byte [0x10034040], 0
je 0x1000385f
push str.CSWNETPAD.DLL
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.10002d6a
pop ecx
pop ecx
test eax, eax
je 0x1000385f
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x100037a6
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x1003623c], eax
jmp 0x100037ab
mov eax, dword [0x1003623c]
test eax, eax
je 0x10003858
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NETPAD_GetFreeComs
push eax
call esi
push str.NETPAD_GetComsCount
push dword [0x1003623c]
mov dword [0x10036240], eax
call esi
push str.NETPAD_SetComAttr
push dword [0x1003623c]
mov dword [0x10036244], eax
call esi
push str.NETPAD_ComWrite
push dword [0x1003623c]
mov dword [0x10036248], eax
call esi
push str.NETPAD_ComRead
push dword [0x1003623c]
mov dword [0x1003624c], eax
call esi
push str.NETPAD_ComReadQueue
push dword [0x1003623c]
mov dword [0x10036250], eax
call esi
cmp dword [0x10036240], 0
mov dword [0x10036254], eax
pop esi
je 0x10003853
cmp dword [0x10036244], 0
je 0x10003853
cmp dword [0x10036248], 0
je 0x10003853
cmp dword [0x1003624c], 0
je 0x10003853
cmp dword [0x10036250], 0
jne 0x1000374c
call fcn.10002c21
mov byte [0x10034040], 0
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001cfeb
leave
ret
Function at 0x100040d3
Capabilities:
Get common file path
Query environment variable

Disassembly:
push 0x41c
mov eax, 0x1001f02c
call fcn.1001d05e
mov ebx, ecx
mov dword [ebp - 0x424], ebx
mov dword [ebp - 0x428], ebx
lea ecx, [ebx + 0x2088]
mov dword [ebx], vtable.CGSerial.0
call dword [sym.imp.mfc140u.dll_Ordinal_296]
xor eax, eax
lea edi, [ebx + 0x208c]
mov ecx, edi
mov dword [ebp - 4], eax
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
xor eax, eax
push eax
push eax
push eax
push eax
mov byte [ebp - 4], 1
mov byte [ebx + 0x10], al
call esi
mov dword [ebx + 8], eax
xor eax, eax
push eax
push eax
push eax
push eax
call esi
mov dword [ebx + 0xc], eax
xor eax, eax
push eax
push eax
push eax
push eax
call esi
or dword [ebx + 4], 0xffffffff
mov dword [ebx + 0x58], eax
xor eax, eax
push eax
push eax
push eax
push eax
call esi
mov dword [ebx + 0x50], eax
xor eax, eax
push eax
push eax
push eax
push eax
call esi
or dword [ebx + 0x2070], 0xffffffff
mov ecx, edi
or dword [ebx + 0x2078], 0xffffffff
or dword [ebx + 0x2080], 0xffffffff
mov dword [ebx + 0x3c], eax
xor eax, eax
push 0x10023138
mov byte [ebx + 0x206d], al
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x205c], eax
mov dword [ebx + 0x2074], eax
mov dword [ebx + 0x207c], eax
mov byte [ebx + 0x2084], al
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov esi, 0x104
mov byte [ebx + 0x2090], 1
push esi
lea eax, [ebp - 0x218]
push eax
push str.CSW_CONFIG_FOLDER
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x100041d3
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
dec eax
cmp eax, 0x102
ja 0x10004208
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x218]
lea esi, [ebx + 0x2088]
push eax
mov ecx, esi
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
mov ecx, esi
call dword [sym.imp.mfc140u.dll_Ordinal_8182]
test al, al
jne 0x10004236
push str.Debug_Logs_
mov ecx, esi
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
xor eax, eax
lea ecx, [ebx + 0x14]
push ecx
mov dword [ebx + 0x2060], eax
mov word [ebx + 0x2064], ax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, ebx
call fcn.1001d00d
ret
Function at 0x1000a100
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x10039ad4]
push 5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000a14e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000a14e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x1000a14e
push 0
push dword [ebp + 8]
push eax
call fcn.1000c177
add esp, 0xc
push dword [ebp + 8]
push dword [ebp + 8]
call fcn.10009d5a
xor eax, eax
inc eax
jmp 0x1000a150
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x1000a30e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x10034280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x50]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push ecx
lea ecx, [ebp - 0x58]
push ecx
push dword [ebp + 0xc]
push eax
call fcn.1000c3cf
add esp, 0x10
cmp byte [ebp + 0x14], 0
je 0x1000a3f1
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push str.COMCTL32.DLL
call esi
mov edi, eax
test edi, edi
jne 0x1000a370
push 2
push eax
push str.COMCTL32.DLL
call esi
mov edi, eax
test edi, edi
je 0x1000a3f1
push 5
push 0x3ee
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000a3ea
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000a3ea
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.1000c2ec
add esp, 0xc
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x1000a3ea
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push eax
call fcn.1000c3cf
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
add esp, 0x10
push 4
push dword [ebp - 0x58]
push dword [ebx]
call esi
push 8
push dword [ebp - 0x5c]
mov dword [ebx], eax
push dword [ebx + 4]
call esi
push dword [ebp - 0x4c]
mov dword [ebx + 4], eax
push dword [ebp - 0x50]
push eax
jmp 0x1000a40a
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 4
push dword [ebp - 0x58]
push dword [ebx]
call esi
push 8
push dword [ebp - 0x54]
mov dword [ebx], eax
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 4], eax
xor ecx, ebp
pop ebx
call fcn.1001cfeb
leave
ret
Function at 0x1000bb39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x10034280]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x10039ad4]
push edi
push 0xf0
push eax
xor edi, edi
mov dword [ebp - 0x214], ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1000bcc1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1000bcc1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000bcc1
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x1000bcc1
mov ecx, dword [esi + 4]
mov dword [ebp - 0x210], eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x218], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x1000bc30
push 3
lea eax, [ebp - 0x104]
push esi
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
call fcn.1000ce14
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x210]
push 0
push 0x143
movzx eax, ax
push eax
mov eax, dword [ebp - 0x214]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x104]
cmovne ecx, edi
mov edi, ecx
cmp dword [ebp - 0x108], eax
je 0x1000bcaf
push dword [ebp - 0x108]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1000bcaf
mov ecx, 0x1234
cmp cx, ax
jne 0x1000bcaf
or dword [ebp - 0x238], 0xffffffff
lea eax, [ebp - 0x208]
push 3
push esi
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x23c], 1
mov dword [ebp - 0x20c], eax
call fcn.1000ce14
mov eax, dword [ebp - 0x20c]
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x234], eax
cmp eax, ecx
je 0x1000bc83
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x23c]
push eax
mov eax, dword [ebp - 0x210]
push 0
push 0x40b
movzx eax, ax
push eax
mov eax, dword [ebp - 0x214]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x1000bcbf
add esi, dword [ebp - 0x218]
test edi, edi
jne 0x1000bb97
jmp 0x1000bcc1
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1001cfeb
leave
ret 4
Function at 0x10012c92
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x20
mov eax, 0x10020b33
call fcn.1001d02b
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x2c]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0x10], 0
test eax, eax
push 7
pop ecx
rep movsd dword es:[edi], dword [esi]
push 4
lea esi, [eax - 0x94]
pop ecx
lea eax, [ebp - 0x10]
cmove esi, ecx
push eax
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.1000e6d5
test eax, eax
je 0x10012cd6
mov eax, dword [ebp - 0x10]
jmp 0x10012d55
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push 0x100241c4
mov ecx, esi
call fcn.100181a8
mov ecx, eax
mov eax, dword [ebp + 0xc]
test ecx, ecx
js 0x10012d3e
test eax, eax
je 0x10012d3b
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
movzx esi, ax
push 0x11
shr esi, 0xf
call edi
test ax, ax
lea ebx, [esi + 2]
push 0x12
cmovns ebx, esi
call edi
mov dx, ax
mov eax, dword [ebp + 0xc]
test dx, dx
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
lea ecx, [ebx + 4]
cmovns ecx, ebx
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
call esi
mov ecx, eax
mov eax, dword [ebp + 0xc]
jmp 0x10012d3e
xor ecx, ecx
inc ecx
xor ebx, ebx
test ecx, ecx
setne bl
and dword [ebp - 4], 0
test eax, eax
je 0x10012d53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
call fcn.1001cff9
ret 8
Function at 0x10016242
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0xa0
test esi, esi
lea edx, [esi + 0xc]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x50
test esi, esi
lea eax, [esi - 0x44]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x10016273
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8

Function at 0x10018ce5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x10020ac4
call fcn.1001d0ca
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x10018d62
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x10018d62
call fcn.10009ca0
mov esi, eax
jmp 0x10018e47
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10018d85
call fcn.10009ca0
jmp 0x10018e3a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x10018d7b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x10018db8
mov esi, 0x8007000e
jmp 0x10018e3c
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.10015a08
jmp 0x10018de9
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x10018dae
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x10018d7b
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10018b9e
mov esi, eax
test edi, edi
je 0x10018e47
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10018e60
lea ecx, [ebp - 0x418]
call fcn.10016624
mov eax, esi
call fcn.1001d01c
ret 0x10