joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ac0a0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4bfc9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
xor ebx, ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.004ac000
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], 1
mov eax, dword [ecx - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x18]
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x24]
mov edx, ecx
mov esi, edi
mov edi, ebp
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x2c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
jne 0x4ac13a
mov esi, dword [esp + 0x78]
push str.8uftp
mov ecx, esi
call fcn.004ac728
mov dword [esp + 0x20], 1
jmp 0x4ac26d
push edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
push esi
push edi
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x30]
lea edx, [esp + 0x28]
push ecx
push edx
push str.VarFileInfoTranslation
push esi
mov byte [esp + 0x80], 2
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4ac1c3
mov eax, dword [esp + 0x28]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
push edx
lea eax, [esp + 0x3c]
push str.StringFileInfo_04x_04xProductName
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
lea eax, [esp + 0x34]
push ecx
push edx
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4ac1c3
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea edx, [esp + 0x2c]
lea eax, [esp + 0x14]
push edx
push eax
push 0x4df1d8
push esi
mov byte [esp + 0x80], 3
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4ac227
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edx, eax
and edx, 0xffff
shr eax, 0x10
push edx
push eax
mov eax, ecx
lea edx, [esp + 0x20]
and eax, 0xffff
shr ecx, 0x10
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push ecx
push str._s__d._d._d._d
push edx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x1c
push ebp
call sub.MFC42.DLL_operatordelete
push esi
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x80]
add esp, 8
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], 1
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x68]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x4ac290
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4bfcc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
xor bl, bl
call fcn.004ac000
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], 0
mov eax, dword [ecx - 8]
inc eax
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x18]
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x4ac32f
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret
push esi
call sub.MFC42.DLL_operatornew
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
lea edx, [esp + 0x20]
push ecx
push edx
push str.VarFileInfoTranslation
push edi
mov byte [esp + 0x78], 1
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4ac3b6
mov eax, dword [esp + 0x20]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
push edx
lea eax, [esp + 0x34]
push str.StringFileInfo_04x_04xProductName
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x24]
lea edx, [esp + 0x14]
lea eax, [esp + 0x2c]
push ecx
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4ac3b6
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
push edx
push eax
push 0x4df1d8
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x4ac409
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edx, eax
and edx, 0xffff
shr eax, 0x10
push edx
push eax
mov eax, ecx
and eax, 0xfff
shr ecx, 0x10
push eax
push ecx
mov ecx, dword [esp + 0x80]
push str._d._d._d._d
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x18
mov bl, 1
push ebp
call sub.MFC42.DLL_operatordelete
push edi
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x68], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0xd22240
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6e4000]
push edi
jmp 0xd2225a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd22261
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd22250
mov eax, 1
add ebx, ebx
jne 0xd22273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd22284
jne 0xd222a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd222a3
dec eax
add ebx, ebx
jne 0xd22290
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd22268
add ebx, ebx
jne 0xd2229f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xd222f5
xor ecx, ecx
sub eax, 3
jb 0xd222bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd2232a
sar eax, 1
mov ebp, eax
jmp 0xd222c6
add ebx, ebx
jne 0xd222c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd22294
inc ecx
add ebx, ebx
jne 0xd222d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd22294
add ebx, ebx
jne 0xd222e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd222d6
jne 0xd222f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd222d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd22314
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd22306
jmp 0xd22256
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd22314
add edi, ecx
jmp 0xd22256
pop esi
mov edi, esi
mov ecx, 0x3292e6
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0xd2234f
cmp byte [edi], 0x9a
jne 0xd22334
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0xd22332
lea edi, [esi + 0x91e000]
mov eax, dword [edi]
or eax, eax
je 0xd223a0
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9ac964]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9acb30]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd22355
mov ecx, edi
jns 0xd22384
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 + 0x9acb34]
or eax, eax
je 0xd2239a
mov dword [ebx], eax
add ebx, 4
jmp 0xd22372
call dword [esi + 0x9acb44]
mov ebp, dword [esi + 0x9acb38]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
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 0xd223d4
sub esp, 0xffffff80
jmp 0x402298
Function at 0x404eb0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x560530
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
mov edi, ecx
push eax
mov ecx, 0x66d030
call fcn.004d0ec0
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [ecx - 8], ebx
jne 0x404efe
push 0xffffffffffffffff
push ebx
push 0xc3
call fcn.0053a982
jmp 0x404feb
mov edx, dword [edi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x404feb
mov eax, dword [0x5d2d10]
mov dword [esp + 0x14], eax
push esi
mov ecx, edi
mov byte [esp + 0x24], 1
call fcn.00414160
mov ecx, eax
call fcn.00423720
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push ecx
push str.__s_
push edx
call fcn.00528823
mov eax, dword [esp + 0x1c]
push str._integrated_
push eax
call fcn.00514e99
add esp, 0x14
test eax, eax
jne 0x404f9d
mov ecx, 0x66d030
call fcn.004d1960
test eax, eax
je 0x404f7f
mov ecx, 0x66bf18
call fcn.00487c90
test eax, eax
je 0x404fde
push esi
mov ecx, edi
call fcn.00414160
mov ecx, eax
call fcn.00423720
mov eax, dword [eax]
mov ecx, 0x66bf18
push eax
call fcn.0053a79e
jmp 0x404fb6
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 5
push ebx
push ecx
push edx
push 0x5c47e0
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [edi + 0x1c]
push 2
push esi
push 0x100c
push eax
call ebp
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x20], bl
call fcn.00530b8f
cmp esi, 0xffffffff
jne 0x404f1e
jmp 0x404feb
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.00530b8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x405010
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x560550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
mov edi, ecx
push eax
mov ecx, 0x66d030
call fcn.004d0f80
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], ebx
cmp dword [ecx - 8], ebx
jne 0x40505b
push 0xffffffffffffffff
push ebx
push 0x67
call fcn.0053a982
jmp 0x405148
mov edx, dword [edi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push edx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x405148
mov eax, dword [0x5d2d10]
mov dword [esp + 0x14], eax
push esi
mov ecx, edi
mov byte [esp + 0x24], 1
call fcn.00414160
mov ecx, eax
call fcn.00423720
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push ecx
push str.__s_
push edx
call fcn.00528823
mov eax, dword [esp + 0x1c]
push str._integrated_
push eax
call fcn.00514e99
add esp, 0x14
test eax, eax
jne 0x4050fa
mov ecx, 0x66d030
call fcn.004d1960
test eax, eax
je 0x4050dc
mov ecx, 0x66bf18
call fcn.00487c90
test eax, eax
je 0x40513b
push esi
mov ecx, edi
call fcn.00414160
mov ecx, eax
call fcn.00423720
mov eax, dword [eax]
mov ecx, 0x66bf18
push eax
call fcn.0053a79e
jmp 0x405113
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push 5
push ebx
push ecx
push edx
push 0x5c47e0
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [edi + 0x1c]
push 2
push esi
push 0x100c
push eax
call ebp
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x20], bl
call fcn.00530b8f
cmp esi, 0xffffffff
jne 0x40507b
jmp 0x405148
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], bl
call fcn.00530b8f
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x409470
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x160
or eax, 0x4008
lea edx, [esp]
push eax
mov eax, dword [ecx]
push 0x160
push edx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 4]
add esp, 0x160
ret 4

Function at 0x409ab0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x560dc3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov eax, dword [0x5d2d10]
lea ecx, [esi + 0xc]
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x2c]
push edx
mov byte [esp + 0x20], 1
mov dword [esi], method.CCommandLineInfo.virtual_0
mov dword [esi + 8], eax
call fcn.00530d18
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x10], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x14], edi
mov edx, dword [0x5d7c10]
mov ebp, edx
cmp ebp, edx
mov dword [esp + 0x28], ebp
jl 0x409c4f
mov eax, dword [0x5d7c0c]
lea ebx, [ebp + 1]
cmp ebx, edi
jne 0x409b58
cmp eax, edi
je 0x409b47
push eax
call fcn.00531c29
add esp, 4
mov dword [0x5d7c0c], edi
mov dword [0x5d7c14], edi
mov dword [0x5d7c10], edi
jmp 0x409c4f
cmp eax, edi
jne 0x409b93
lea edi, [ebx*4]
push edi
call fcn.00531c00
mov edx, eax
mov ecx, edi
mov dword [0x5d7c0c], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [0x5d7c14], ebx
jmp 0x409c49
mov ecx, dword [0x5d7c14]
cmp ebx, ecx
jg 0x409bb5
cmp ebx, edx
jle 0x409c49
mov ecx, ebx
lea edi, [eax + edx*4]
sub ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x409c49
mov eax, dword [0x5d7c18]
cmp eax, edi
jne 0x409be1
mov eax, edx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x409bd5
mov eax, 4
jmp 0x409be1
cmp eax, 0x400
jle 0x409be1
mov eax, 0x400
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x24], eax
jl 0x409bef
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
lea ecx, [eax*4]
push ecx
call fcn.00531c00
mov ecx, dword [0x5d7c10]
mov esi, dword [0x5d7c0c]
mov ebp, eax
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x5d7c10]
mov ecx, ebx
sub ecx, eax
lea edi, [ebp + eax*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [0x5d7c0c]
push edx
call fcn.00531c29
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov dword [0x5d7c0c], ebp
mov ebp, dword [esp + 0x30]
add esp, 8
mov dword [0x5d7c14], eax
mov dword [0x5d7c10], ebx
mov ecx, dword [0x5d7c0c]
mov eax, esi
pop edi
mov dword [ecx + ebp*4], esi
mov ecx, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x409d20
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x560df9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
mov dword [esp + 0x14], edi
mov dword [esi + 8], 0x57f95c
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call fcn.004099e0
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], vtable.CBitmap.0
mov eax, 0x10
mov byte [esp + 0x14], 3
mov ecx, eax
mov dword [esi + 0x40], eax
xor eax, eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esi], method.CMenu.virtual_0
mov dword [esi + 0x3c], edi
call fcn.0040a820
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0040a960
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x409e00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x560e23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
mov dword [esp + 0x14], edi
mov dword [esi + 8], 0x57f95c
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 1
call fcn.004099e0
mov eax, 0x10
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], vtable.CBitmap.0
mov ecx, eax
mov dword [esi + 0x40], eax
xor eax, eax
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi], method.CMenu.virtual_0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40cfd0
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], 1
mov ecx, dword [esi + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x7c]
mov ecx, esi
push edx
push 2
call fcn.0040c4b0
mov dword [0x5d7c30], esi
mov dword [esi + 0x78], ebx
call fcn.0054fc30
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x2c]
push eax
push ebx
push 0x40cf80
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x5d7c34], eax
mov ecx, dword [esi + 0x7c]
mov dword [esi + 0x84], 2
mov dword [0x5c4948], ecx
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x8c]
mov ecx, esi
mov edi, dword [eax + edx*4]
mov ebp, dword [edi]
call fcn.0052f102
push eax
push esi
mov ecx, edi
call dword [ebp + 8]
mov ecx, dword [0x5d7c34]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [0x5d7c34], ebx
mov dword [0x5d7c30], ebx
cmp dword [esi + 0x78], 1
je 0x40cfe6
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0040c4b0
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40eaf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5611f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
xor esi, esi
push esi
lea ecx, [esp + 0x18]
call fcn.00536404
push 0x5d7bec
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call fcn.00535c08
mov esi, eax
mov eax, dword [esp + 0x38]
lea edx, [esp + 4]
push 0x420
mov eax, dword [eax]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
call dword [eax + 0x68]
push esi
lea ecx, [esp + 0x18]
call fcn.00535c08
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 4]
lea ecx, [esp + 0x14]
sub esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.00536476
mov ecx, dword [esp + 0x28]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x4106a0
Capabilities:
Check if file exists
Resume thread

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call fcn.00410770
mov ebx, dword [esp + 0x10]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4106bf
pop edi
pop esi
pop ebx
ret 0x20
mov eax, dword [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x24
call fcn.00531c00
add esp, 4
test eax, eax
je 0x4106e3
mov ecx, dword [0x5d2d10]
mov esi, eax
mov dword [eax], ecx
jmp 0x4106e5
xor esi, esi
mov edx, dword [esp + 0x1c]
push ebx
mov dword [esi + 0xc], edx
mov eax, dword [edi + 8]
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.00530d18
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x28]
push 0
push 4
push 0
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x38]
push eax
add edi, 4
push esi
push 0x410560
mov dword [esi + 8], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edx
call fcn.00531e34
mov esi, eax
test esi, esi
jne 0x410745
pop edi
pop esi
pop ebx
ret 0x20
push 1
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0x5d7c38
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov eax, 1
pop ebx
ret 0x20

Function at 0x416730
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x100]
test eax, eax
jne 0x41678b
lea eax, [esp + 8]
mov dword [esi + 0xf8], 0
push eax
push 4
push esi
push 0x416700
push 0
push 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x41678b
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x416785
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ecx
ret
mov dword [esi + 0x100], edi
pop edi
pop esi
pop ecx
ret
Function at 0x41c700
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x561d83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.005359bd
lea ebp, [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], vtable.CBitmap.0
mov ebx, dword [esp + 0x2c]
mov dword [esi], method.CDC.virtual_0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
mov edi, dword [ebx + 0xc]
xor eax, eax
cmp edi, ecx
mov byte [esp + 0x24], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x41c7db
mov eax, dword [esp + 0x30]
lea edi, [esi + 0x20]
cmp eax, ecx
jne 0x41c775
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x50]
jmp 0x41c77d
push eax
push edi
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.00535a74
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call fcn.005365f8
test ebp, ebp
je 0x41c7b9
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call fcn.00535bb5
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00535ece
jmp 0x41c7ed
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8