joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e25cf
Capabilities:
Get common file path

Disassembly:
push 0x120
mov eax, 0x52d75f
call fcn.0050a1b9
mov esi, ecx
mov dword [ebp - 0x128], esi
call fcn.004e7f39
push 0x15c
call fcn.00408f02
pop ecx
mov ecx, eax
mov dword [ebp - 0x124], ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x4e2613
mov eax, dword [esi + 4]
push ebx
push eax
call fcn.004e987c
jmp 0x4e2615
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
mov ecx, esi
call fcn.004e7f0b
call fcn.00411954
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x88]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
mov byte [ebp + esi - 0x114], 0x5c
inc esi
mov dword [ebp - 0x124], esi
mov byte [ebp + esi - 0x114], bl
mov dword [ebp - 0x120], ebx
cmp edi, ebx
je 0x4e27af
cmp dword [edi + 4], ebx
jle 0x4e27af
lea ecx, [ebp - 0x118]
call fcn.00404360
mov edx, dword [edi]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
lea eax, [ebp - 0x118]
push eax
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x4e2793
lea ecx, [ebp - 0x11c]
call fcn.00404360
mov eax, dword [ebp - 0x120]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x4e26e4
push dword [ebp - 0x118]
lea eax, [ebp - 0x11c]
push 0x54d218
push eax
call fcn.00403b30
add esp, 0xc
jmp 0x4e2716
jge 0x4e2704
push dword [ebp - 0x118]
inc eax
push eax
lea eax, [ebp - 0x11c]
push str._d__s
push eax
call fcn.00403b30
add esp, 0x10
jmp 0x4e2716
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x11c]
call fcn.00403740
push 0x15c
call fcn.00408f02
pop ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4e273a
mov ecx, eax
call fcn.004bb4aa
mov esi, eax
jmp 0x4e273c
xor esi, esi
push dword [ebp - 0x11c]
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x10]
mov eax, dword [esi]
lea ecx, [ebx + 0xe110]
push ecx
mov ecx, esi
call dword [eax + 0xc]
push ebx
mov ecx, edi
call fcn.0041e4b0
mov eax, dword [eax]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x128]
push esi
call fcn.004e7f0b
mov ecx, dword [ebp - 0x11c]
inc dword [ebp - 0x120]
add ecx, 0xfffffff0
call fcn.00404320
mov esi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x118]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00404320
inc ebx
cmp ebx, dword [edi + 4]
jl 0x4e267d
call fcn.0050a23c
ret
Function at 0x51df79
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00510c36
and dword [ebp - 4], 0
cmp dword [0x5852b4], 0
mov ebx, eax
jne 0x51e02a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x51e0db
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x558d80
push edi
call esi
test eax, eax
je 0x51e0db
push eax
call fcn.00510bc4
mov dword [esp], 0x558d70
push edi
mov dword [0x5852b4], eax
call esi
push eax
call fcn.00510bc4
mov dword [esp], 0x558d5c
push edi
mov dword [0x5852b8], eax
call esi
push eax
call fcn.00510bc4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x5852bc], eax
call esi
push eax
call fcn.00510bc4
pop ecx
mov dword [0x5852c4], eax
test eax, eax
je 0x51e02a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00510bc4
pop ecx
mov dword [0x5852c0], eax
mov eax, dword [0x5852c0]
cmp eax, ebx
je 0x51e082
cmp dword [0x5852c4], ebx
je 0x51e082
push eax
call fcn.00510c3f
push dword [0x5852c4]
mov esi, eax
call fcn.00510c3f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x51e082
test edi, edi
je 0x51e082
call esi
test eax, eax
je 0x51e079
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x51e079
test byte [ebp - 0xc], 1
jne 0x51e082
or dword [ebp + 0x10], 0x200000
jmp 0x51e0bb
mov eax, dword [0x5852b8]
cmp eax, ebx
je 0x51e0bb
push eax
call fcn.00510c3f
pop ecx
test eax, eax
je 0x51e0bb
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x51e0bb
mov eax, dword [0x5852bc]
cmp eax, ebx
je 0x51e0bb
push eax
call fcn.00510c3f
pop ecx
test eax, eax
je 0x51e0bb
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5852b4]
call fcn.00510c3f
pop ecx
test eax, eax
je 0x51e0db
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x51e0dd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x44f87c31
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7b2c2bf8
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x20d41e6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [esp + 8], 0xb826f9e3
push dword [esp]
pushfd
pushfd
lea esp, [esp + 0x14]
jmp 0x20e2648

Function at 0x20e174c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
pushal
pushfd
lea esp, [esp + 0x30]
push esp
push 0xf5566795
pushfd
lea esp, [esp + 8]
jmp fcn.020e050d
Function at 0x419250
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov byte [ebp - 1], 0
mov eax, 1
test eax, eax
je 0x419310
movzx ecx, byte [ebp - 1]
test ecx, ecx
je 0x4192f5
mov edx, dword [ebp - 8]
add edx, 0xb
mov dword [ebp - 8], edx
lea eax, [ebp - 0x18]
push eax
push 0x40
mov ecx, dword [ebp - 8]
mov edx, dword [ecx - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0xc], 0
jmp 0x4192a8
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx - 0x14]
jae 0x4192f3
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx - 0x15]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax - 4]
xor edx, ecx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax - 2]
xor edx, ecx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax - 3]
xor edx, ecx
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov byte [edx], cl
jmp 0x41929f
jmp 0x419310
mov byte [ebp - 1], 1
jmp 0x419303
call 0x419308
pop dword [ebp - 8]
jmp 0x419261
mov dword [ebp - 0x14], 0xf9bc7a68
invalid
Function at 0x41af00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4595a0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xdc
mov eax, dword [0x46c008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [0x487698], eax
mov dword [ebp - 0x5c], 0
mov byte [ebp - 0x5f], 0
mov ecx, 1
test ecx, ecx
je 0x41affb
movzx edx, byte [ebp - 0x5f]
test edx, edx
je 0x41afe0
mov eax, dword [ebp - 0x5c]
add eax, 0xb
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0xe4]
push ecx
push 0x40
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx - 0x14]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x6c], 0
jmp 0x41af93
mov edx, dword [ebp - 0x6c]
add edx, 1
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax - 0x14]
jae 0x41afde
mov edx, dword [ebp - 0x5c]
movzx eax, byte [edx - 0x15]
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx - 4]
xor eax, edx
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx - 2]
xor eax, edx
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx - 3]
xor eax, edx
mov ecx, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x6c]
mov byte [eax], dl
jmp 0x41af8a
jmp 0x41affb
mov byte [ebp - 0x5f], 1
jmp 0x41afee
call 0x41aff3
pop dword [ebp - 0x5c]
jmp 0x41af45
push 0x16
push 0x7cf2ac49
mov edx, 0xda382ab7
mov cl, 0x40
in eax, dx
mov ah, 0x3c
test al, 0xd5
scasd eax, dword es:[edi]
cdq
adc al, 0xd2
les ebp, [edx]
dec ebx
test eax, 0xb4ed40c2
test al, 0x1f
lodsb al, byte [esi]
push ebx
fstp qword [ebx]
aam 0x2a
pop edx
mov eax, 0xb4ed40d3
xor dword [eax + 0xc8ca2c0], ebp
retf 0x2ae2

Function at 0x430040
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43005d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x430064
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x43007b
mov ecx, dword [ebp - 4]
push ecx
call fcn.00423bc0
add esp, 4
or eax, 0xffffffff
jmp 0x43007d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401c40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x455996
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esi], fcn.00418790
push edi
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 8], 0x45c1f8
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x1c], 0x45c24c
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 0x11
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0xa
mov dword [esi + 4], edi
mov eax, dword [esi + 0x20]
cmp eax, edi
mov byte [esp + 0x14], 1
je 0x401cb9
push eax
call sub.MFC71U.DLL_operator_new
add esp, 4
mov dword [esi + 0x20], edi
push 0x2c
call sub.MFC71U.DLL_SerializeElements
mov edi, eax
add esp, 4
mov dword [esi + 0x20], edi
xor eax, eax
mov ecx, 0xb
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], 0xb
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x408350
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x46c
mov edx, dword [ebp + 8]
test edx, edx
mov eax, dword [0x4781d0]
push ebx
push esi
mov dword [esp + 0x470], eax
push edi
mov dword [esp + 0x14], ecx
je 0x4084b6
mov word [esp + 0x60], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x62]
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0x14]
stosw word es:[edi], ax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0
push str..resume
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Find]
mov ecx, esi
sub ecx, eax
sub esi, ecx
shl esi, 1
mov ebx, esi
lea ecx, [esp + 0x10]
mov word [esp + ebx + 0x60], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
mov esi, eax
mov ecx, ebx
mov eax, ecx
shr ecx, 2
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
push 0
push 0
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileWithProgressW]
test eax, eax
je 0x4084ac
mov esi, dword [esp + 0x14]
cmp word [esi + 0x88], 0
je 0x408446
lea eax, [esp + 0x60]
push eax
push str._s__VERYSILENT
push 0x104
lea ecx, [esp + 0x274]
push ecx
jmp 0x40845d
lea edx, [esp + 0x60]
push edx
push 0x45dd18
push 0x104
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x310]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push 0x4000000
push eax
push eax
push eax
lea eax, [esp + 0x288]
push eax
push 0
mov dword [esp + 0x40], 0x44
mov word [esp + 0x70], 0xa
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4084cd
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor al, al
mov ecx, dword [esp + 0x474]
call fcn.0044247b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x20]
push 0
push 0xc8
push 0xc8
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x474]
mov al, 1
call fcn.0044247b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4205d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x458162
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sub.MFC71U.DLL_CWnd::CWnd
lea edi, [esi + 0x64]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x40], ebx
mov dword [esi], 0x463b98
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::constructor_void_]
lea ecx, [esi + 0x29c]
call fcn.00406fa0
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x40], 2
mov dword [esi + 0x58], ebx
mov dword [esi + 0x54], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], 8
call sub.MFC71U.DLL_AfxFullPath
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], str.HuMenu
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ebx
call sub.MFC71U.DLL_AfxGetModuleShortFileName
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x2c], eax
call sub.MFC71U.DLL_AfxReadStringLength
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 0xc]
push 0x209
push eax
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::LoadFromResource_struct_HINSTANCE_____unsigned_int_]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x2d0], ebx
mov dword [esi + 0x2d4], ebx
mov byte [esi + 0x2e2], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x425a90
Capabilities:
Check if file exists
Move file

Disassembly:
sub esp, 0x414
mov eax, dword [0x4781d0]
push esi
mov dword [esp + 0x414], eax
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x104
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x104
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.AutoUpdate.exe.EX_
lea edx, [esp + 8]
push edx
call esi
push str.AutoUpdate.exe
lea eax, [esp + 0x210]
push eax
call esi
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
pop esi
je 0x425b25
push 3
lea edx, [esp + 0x20c]
push edx
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [esp + 0x410]
mov al, 1
call fcn.0044247b
add esp, 0x414
ret
Function at 0x429f00
Capabilities:
Terminate process

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
test eax, eax
je 0x429f14
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x429fe9
mov eax, dword [esi + 0x70]
test eax, eax
je 0x429f6e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x429f6e
mov ecx, dword [esi + 0x2ac]
test ecx, ecx
je 0x429f50
mov eax, dword [esi + 0x70]
test eax, eax
je 0x429f50
mov edx, dword [ecx]
push 0
push 0
push 0x64
push 2
push eax
call dword [edx + 0x20]
mov eax, dword [esi + 0x5c]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x429f8d
mov ecx, dword [esi + 0x5c]
push 0
push ecx
jmp 0x429f87
mov edx, dword [esi + 0x5c]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x429f8d
mov eax, dword [esi + 0x5c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [esi + 0x5c]
push edi
lea ecx, [esp + 8]
push ecx
push edx
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esi + 0x60]
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x429fb5
push eax
call edi
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x429fbf
push eax
call edi
xor eax, eax
mov dword [esi + 0x70], 0
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
cmp byte [esp + 0x10], 1
pop edi
jne 0x429fe9
mov ecx, dword [esi + 0x6c]
mov eax, dword [esp + 4]
mov edx, dword [ecx]
push eax
call dword [edx + 0xc]
mov al, 1
pop esi
pop ecx
ret 4
Function at 0x429ff0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x260
mov eax, dword [0x4781d0]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x264], eax
mov eax, dword [esi + 0x6c]
xor ebp, ebp
cmp eax, ebp
jne 0x42a028
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x25c]
call fcn.0044247b
add esp, 0x260
ret 4
cmp dword [esi + 0x20], ebp
jne 0x42a068
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebp
call sub.MFC71U.DLL_AfxGetStringManager
cmp eax, ebp
je 0x42a04f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x42a051
xor eax, eax
mov edx, dword [esi]
push ebp
push 0x64
push eax
lea eax, [esp + 0x14]
push eax
push 0x40000000
push ebp
push ebp
mov ecx, esi
call dword [edx + 0x5c]
cmp dword [esi + 0x2ac], ebp
push ebx
push edi
jne 0x42a0be
lea ecx, [esi + 0x74]
call fcn.00429240
test al, al
je 0x42a18f
mov edi, dword [esi + 0x2ac]
mov edx, dword [esi + 0x54]
mov ebx, dword [edi]
lea ecx, [esi + 0x54]
push 0x6010100
push 0x4653f8
call dword [edx + 4]
push eax
mov ecx, edi
call dword [ebx + 0xc]
test al, al
je 0x42a18f
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 0x10]
test al, al
je 0x42a18f
mov eax, dword [esi + 0x5c]
cmp eax, ebp
lea ebx, [esi + 0x5c]
je 0x42a10b
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42a10b
mov eax, dword [esi + 0x70]
cmp eax, ebp
je 0x42a1a5
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42a1a5
mov ecx, dword [esi + 0x6c]
mov edx, dword [ecx]
push 1
call dword [edx + 0x10]
push 0x65
push 2
mov ecx, esi
call fcn.004296f0
jmp 0x42a1a5
mov ecx, dword [esi + 0x2ac]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, eax
call dword [sym.imp.PlatformData.dll_public:_static_class_CParameterGlobal____cdecl_CParameterGlobal::GetInstance_void_]
mov ecx, dword [esp + 0x274]
mov eax, edi
cdq
push edx
push eax
push ecx
push 0x465600
lea edx, [esp + 0x74]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x18
push ebx
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebp
push 0x4000000
push ebp
push ebp
push ebp
lea ecx, [esp + 0x84]
push ecx
push ebp
mov dword [esp + 0x48], 0x44
mov word [esp + 0x78], 3
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x42a193
xor edx, edx
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
xor al, al
jmp 0x42a1a7
mov eax, dword [esi + 0x20]
push ebp
push 0x7530
push 0x64
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
mov ecx, dword [esp + 0x26c]
pop edi
pop ebx
pop esi
pop ebp
call fcn.0044247b
add esp, 0x260
ret 4