joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4354d7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x455214]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00428d86
and dword [ebp - 0x14], 0
cmp dword [0x45c86c], 0
mov dword [ebp - 0x18], eax
jne 0x43558a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x435632
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x448154
push ebx
call edi
test eax, eax
je 0x435632
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x448144
push ebx
mov dword [0x45c86c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x45c870], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45c874], eax
call edi
push eax
call esi
mov dword [0x45c87c], eax
test eax, eax
je 0x43558a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x45c878], eax
mov eax, dword [0x45c878]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4355e3
cmp dword [0x45c87c], ecx
je 0x4355e3
push eax
call esi
push dword [0x45c87c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4355e3
test ebx, ebx
je 0x4355e3
call edi
test eax, eax
je 0x4355da
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4355da
test byte [ebp - 8], 1
jne 0x4355e3
or dword [ebp + 0x10], 0x200000
jmp 0x435616
mov eax, dword [0x45c870]
cmp eax, dword [ebp - 0x18]
je 0x435616
push eax
call esi
test eax, eax
je 0x435616
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x435616
mov eax, dword [0x45c874]
cmp eax, dword [ebp - 0x18]
je 0x435616
push eax
call esi
test eax, eax
je 0x435616
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45c86c]
call esi
test eax, eax
je 0x435632
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x435634
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042066a
leave
ret
Function at 0x43b398
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x455214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov esi, 0x47dc20
cmp dword [0x47dc30], edi
jne 0x43b4c7
lea eax, [ebp - 0x804]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43b3db
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x804]
call fcn.00401efe
cmp dword [0x47dc34], 8
mov eax, dword [0x47dc20]
jae 0x43b405
mov eax, esi
push edi
push eax
call fcn.00422165
pop ecx
pop ecx
test eax, eax
je 0x43b425
xor eax, eax
mov ecx, 0x4482ac
call fcn.00401efe
mov ecx, esi
call fcn.0040ef1e
cmp dword [0x47dc30], edi
je 0x43b44a
cmp dword [0x47dc34], 8
mov eax, dword [0x47dc20]
jae 0x43b43d
mov eax, esi
push edi
push eax
call fcn.00422165
pop ecx
pop ecx
test eax, eax
je 0x43b45c
push str.TEMP
call fcn.00422478
pop ecx
push eax
push esi
call fcn.00401f79
cmp dword [0x47dc30], edi
je 0x43b481
cmp dword [0x47dc34], 8
mov eax, dword [0x47dc20]
jae 0x43b474
mov eax, esi
push edi
push eax
call fcn.00422165
pop ecx
pop ecx
test eax, eax
je 0x43b493
push 0x44c9b8
call fcn.00422478
pop ecx
push eax
push esi
call fcn.00401f79
cmp dword [0x47dc30], edi
je 0x43b4b8
cmp dword [0x47dc34], 8
mov eax, dword [0x47dc20]
jae 0x43b4ab
mov eax, esi
push edi
push eax
call fcn.00422165
pop ecx
pop ecx
test eax, eax
je 0x43b4c7
push 0xffffffffffffffff
push edi
mov eax, 0x47dbe8
mov ecx, esi
call fcn.00401c81
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042066a
leave
ret
Function at 0x43b4d7
Capabilities:
Get common file path

Disassembly:
push 0xc44
mov eax, 0x4404fe
call fcn.004269d5
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xc4c], eax
cmp esi, edi
je 0x43b544
cmp word [esi], di
je 0x43b544
push edi
push esi
call fcn.00422165
pop ecx
pop ecx
test eax, eax
jne 0x43b544
mov dword [ebp - 0xc50], edi
mov eax, esi
call fcn.0040eca5
test al, al
je 0x43b544
push esi
call fcn.00422522
pop ecx
test eax, eax
je 0x43b544
push 0xc8
call ebx
inc dword [ebp - 0xc50]
cmp dword [ebp - 0xc50], 0x3e8
jl 0x43b515
mov eax, dword [ebp - 0xc4c]
cmp eax, edi
je 0x43b591
cmp word [eax], di
je 0x43b591
push edi
push eax
call fcn.00422165
pop ecx
pop ecx
test eax, eax
jne 0x43b591
xor esi, esi
mov eax, dword [ebp - 0xc4c]
call fcn.0040eca5
test al, al
je 0x43b591
push dword [ebp - 0xc4c]
call fcn.00422522
pop ecx
test eax, eax
je 0x43b591
push 0xc8
call ebx
inc esi
cmp esi, 0x3e8
jl 0x43b562
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0xc18], eax
mov dword [ebp - 0xc1c], edi
mov word [ebp - 0xc2c], cx
mov dword [ebp - 4], edi
mov dword [ebp - 0xc34], eax
xor eax, eax
mov dword [ebp - 0xc38], edi
mov word [ebp - 0xc48], ax
lea eax, [ebp - 0xc48]
push eax
push dword [ebp - 0xc4c]
lea ecx, [ebp - 0xc2c]
mov byte [ebp - 4], 1
call fcn.0040cbfb
xor eax, eax
push 0x3fe
mov word [ebp - 0x410], ax
lea eax, [ebp - 0x40e]
push edi
push eax
call fcn.004226c0
add esp, 0x14
lea eax, [ebp - 0x410]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
push 0x7fe
mov word [ebp - 0xc10], ax
lea eax, [ebp - 0xc0e]
push edi
push eax
call fcn.004226c0
add esp, 0xc
push 0x400
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp dword [ebp - 0xc1c], edi
je 0x43b6b2
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x43b661
lea eax, [ebp - 0xc2c]
lea ecx, [ebp - 0xc10]
push ecx
push eax
call fcn.00420f10
pop ecx
pop ecx
test eax, eax
je 0x43b6b2
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x43b689
lea eax, [ebp - 0xc2c]
push edi
push eax
call fcn.00422165
pop ecx
pop ecx
test eax, eax
jne 0x43b6b2
cmp dword [ebp - 0xc18], 8
mov eax, dword [ebp - 0xc2c]
jae 0x43b6ab
lea eax, [ebp - 0xc2c]
push eax
call fcn.004224f2
pop ecx
push 1
xor edi, edi
lea esi, [ebp - 0xc48]
call fcn.00402032
push 1
lea esi, [ebp - 0xc2c]
call fcn.00402032
call fcn.00426a58
ret 4
Function at 0x43b6d6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440547
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x455214]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push esi
push edi
mov eax, dword [0x455214]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040a805
mov dword [esp + 0x14], eax
lea eax, [esp + 0x2c]
call fcn.0040a73d
xor ebx, ebx
mov dword [esp + 0x460], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x43b73d
mov eax, dword [eax]
jmp 0x43b73f
xor eax, eax
push eax
lea esi, [esp + 0x34]
call fcn.00406b7a
lea edi, [esp + 0x2c]
call fcn.0040196c
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x18]
mov dword [esp + 0x30], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x460], 3
push dword [esp + 0x28]
lea ecx, [esp + 0x1c]
call fcn.00410bea
pop ecx
cmp eax, 1
jle 0x43b813
xor eax, eax
push 0x3fe
mov word [esp + 0x50], ax
lea eax, [esp + 0x52]
push ebx
push eax
call fcn.004226c0
mov esi, dword [esp + 0x24]
add esp, 0xc
jmp 0x43b807
push 0x200
lea eax, [esp + 0x50]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [esp + 0x44], 8
mov ecx, dword [esp + 0x30]
jae 0x43b7d1
lea ecx, [esp + 0x30]
lea eax, [esp + 0x4c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x43b7fb
cmp dx, bx
je 0x43b7f7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x43b7fb
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x43b7d5
xor eax, eax
jmp 0x43b800
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x43b80f
add esi, 4
cmp esi, dword [esp + 0x1c]
jne 0x43b7b0
jmp 0x43b82a
mov eax, dword [esi]
jmp 0x43b826
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x43b82a
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x18], ebx
je 0x43b83a
push dword [esp + 0x18]
call fcn.0042065f
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x34]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00402032
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.0042066a
mov esp, ebp
pop ebp
ret

Function at 0x43c105
Capabilities:
Create thread

Disassembly:
push ebx
push edi
call fcn.00421639
xor ebx, ebx
mov edi, eax
cmp dword [0x47de3c], ebx
jne 0x43c153
cmp word [0x47dec2], 3
push esi
mov esi, 0x47deb8
jne 0x43c139
call fcn.00408333
test al, 1
je 0x43c139
cmp byte [0x47dcfa], bl
je 0x43c152
push 0x47de44
push ebx
push esi
push 0x406e5e
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x47de48], eax
pop esi
mov eax, edi
pop edi
pop ebx
ret
Function at 0x43c158
Capabilities:
Check mutex on windows

Disassembly:
push 0x74
mov eax, 0x440809
call fcn.004269d5
xor ebx, ebx
cmp byte [0x47dcf9], bl
je 0x43c279
push 0x47dc04
lea esi, [ebp - 0x64]
call fcn.00404a72
push 0x44c9c0
lea esi, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.00406b7a
push 0x44c94c
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00406b7a
mov byte [ebp - 4], 2
xor edi, edi
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x43c1b2
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x64]
push eax
mov eax, edi
call fcn.00408fbf
mov edi, eax
cmp edi, 0xffffffff
je 0x43c1e0
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x1c]
mov eax, edi
lea esi, [ebp - 0x64]
call fcn.0040dd85
add edi, dword [ebp - 0x38]
jmp 0x43c1a6
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00402032
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00402032
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
jae 0x43c205
lea eax, [ebp - 0x64]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47de4c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43c26d
push 0x29
push 0x2b
pop ecx
lea ebx, [ebp - 0x80]
call fcn.0043be93
mov esi, ebx
mov byte [ebp - 4], 3
call fcn.00416cc0
mov eax, ebx
lea esi, [ebp - 0x20]
call fcn.00409170
mov eax, esi
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00420797
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], eax
push 0x44f444
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x44c89c
call fcn.00425e39
push 1
xor edi, edi
lea esi, [ebp - 0x64]
call fcn.00402032
call fcn.00426a58
ret

Function at 0x43c27f
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x440839
call fcn.004269d5
xor ebx, ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea eax, [ebp - 0x2c]
push eax
push 0x401
push 0x47dbe8
mov dword [ebp - 4], ebx
call fcn.0043b8fb
call fcn.0043b922
mov esi, eax
cmp esi, ebx
je 0x43c2e5
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x43c2c7
lea eax, [ebp - 0x2c]
push esi
push 1
push dword [ebp - 0x1c]
push eax
call fcn.00421f8b
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
push esi
inc bl
call fcn.00422072
add esp, 0x14
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00406af1
mov al, bl
call fcn.00426a58
ret
Function at 0x43c2f9
Capabilities:
Write file on windows

Disassembly:
push 0x20
mov eax, 0x440866
call fcn.004269d5
and dword [ebp - 0x1c], 0
mov bl, 1
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push 0x3fc
push 0x47dbe8
call fcn.0043b8fb
call fcn.0043b9ae
mov esi, eax
test esi, esi
je 0x43c382
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x43c344
lea eax, [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [0x44c4d3]
jne 0x43c379
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x43c35a
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
push esi
push 1
add ecx, 0xfffffffc
push ecx
add eax, 4
push eax
call fcn.00421f8b
add esp, 0x10
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
push esi
call fcn.00422072
pop ecx
jmp 0x43c384
xor bl, bl
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00406af1
mov al, bl
call fcn.00426a58
ret

Function at 0x43c9af
Capabilities:
Create thread

Disassembly:
push 0x64
mov eax, 0x440ac0
call fcn.00426a0b
xor ebx, ebx
lea eax, [ebp - 0x50]
push eax
push ebx
push 0x47dbe8
push 0x40280a
push ebx
push ebx
mov dword [0x47de40], ebx
mov dword [ebp - 0x50], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], ebx
call fcn.0043e7c0
or dword [ebp - 4], 0xffffffff
mov dword [0x47de40], eax
jmp 0x43c9fc
cmp dword [ebp - 0x50], ebx
je 0x43ca19
push ebx
push ebx
push 0x502
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x47de40], ebx
jne 0x43cad1
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov dword [ebp - 4], 2
cmp byte [0x47dcfc], bl
lea ebx, [ebp - 0x4c]
je 0x43ca74
push 0x13
push 0x27
pop ecx
call fcn.0043be93
mov esi, eax
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0040965d
push 0
push 1
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.00406b2c
mov esi, edi
call fcn.00416cc0
jmp 0x43ca9c
push 0x11
push 0x25
pop ecx
call fcn.0043be93
mov esi, eax
lea edi, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0040965d
push 0
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00406b2c
lea eax, [ebp - 0x30]
lea esi, [ebp - 0x70]
call fcn.00409170
mov eax, esi
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 5
call fcn.00420797
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
push 0x44f444
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0x44c89c
call fcn.00425e39
call fcn.00426a67
ret
Function at 0x401000
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x407edf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
call fcn.0040777a
lea edi, [esi + 0x1c]
mov dword [esp + 0x230], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0x20]
mov byte [esp + 0x230], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0x24]
mov byte [esp + 0x230], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x28]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [esp + 0x230], 5
call sub.MFC42.DLL_CString::CString_2
xor eax, eax
push 0x40b910
mov ecx, ebp
mov byte [esp + 0x234], 6
mov dword [esi], 0x409450
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
call fcn.0040776e
push 0x40b910
mov ecx, ebx
call fcn.0040776e
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x28]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1a]
and edx, 0xffff
push edx
mov edx, dword [esp + 0x1c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x18]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
push edx
mov edx, dword [esp + 0x26]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x144]
push str._02d_02d_04d__02d_02d_02d_03d.TXT
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0040776e
lea edx, [esp + 0x128]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret
Function at 0x40101d
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x407edf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
call fcn.0040777a
lea edi, [esi + 0x1c]
mov dword [esp + 0x230], 0
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0x20]
mov byte [esp + 0x230], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0x24]
mov byte [esp + 0x230], 2
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x28]
mov byte [esp + 0x230], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [esp + 0x230], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [esp + 0x230], 5
call sub.MFC42.DLL_CString::CString_2
xor eax, eax
push 0x40b910
mov ecx, ebp
mov byte [esp + 0x234], 6
mov dword [esi], 0x409450
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
call fcn.0040776e
push 0x40b910
mov ecx, ebx
call fcn.0040776e
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [esp + 0x28]
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1a]
and edx, 0xffff
push edx
mov edx, dword [esp + 0x1c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x18]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
push edx
mov edx, dword [esp + 0x26]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x144]
push str._02d_02d_04d__02d_02d_02d_03d.TXT
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.0040776e
lea edx, [esp + 0x128]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x228]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret

Function at 0x4011b0
Capabilities:
Access peb ldr_data
Delete file
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x407f2f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x409450
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x1c]
push eax
mov dword [esp + 0x18], 5
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esi + 0x30]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CObArray::CObArray
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x401260
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
mov ebx, ecx
push esi
push 0x40b910
lea esi, [ebx + 0x20]
mov ecx, esi
call fcn.0040776e
push ebx
push 0x401320
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x401286
pop esi
pop ebx
ret
push ebp
lea ebp, [ebx + 0x24]
push esi
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
mov eax, dword [ebx + 0x1c]
push 0x40b144
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x40130b
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fputs]
push esi
push str._r_n_LAST_TOKEN_INFO__r_n
call edi
mov eax, dword [ebx + 0x2c]
push esi
push eax
call edi
push esi
push str._r_n_r_n
call edi
push esi
push str._r_n_LAST_KEY_STROKE__r_n
call edi
mov ecx, dword [ebx + 0x28]
push esi
push ecx
call edi
push esi
push str._r_n_r_n
call edi
push esi
push str._r_n_INFECTION_PATH___r_n
call edi
mov edx, dword [ebx + 0x30]
push esi
push edx
call edi
add esp, 0x40
push esi
push str._r_n_r_n
call edi
mov eax, dword [ebp]
push esi
push eax
call edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
ret
Function at 0x401ac0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x40808c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
lea edi, [esi + 8]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0xc]
mov dword [esp + 0x230], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x128]
mov byte [esp + 0x230], 1
push eax
push 0xff
mov dword [esi], 0x40973c
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x1e]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1a]
and edx, 0xffff
push edx
mov edx, dword [esp + 0x1c]
and eax, 0xffff
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x18]
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x1e]
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
push edx
mov edx, dword [esp + 0x26]
and eax, 0xffff
and ecx, 0xffff
push eax
and edx, 0xffff
push ecx
push edx
lea eax, [esp + 0x44]
push str._02d_02d_04d__02d_02d_02d_03d.BMP
push eax
call ebp
add esp, 0x24
lea ecx, [esp + 0x128]
push ecx
mov ecx, edi
call fcn.0040776e
lea edx, [esp + 0x28]
mov ecx, edi
push edx
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1a]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x1c]
and ecx, 0xffff
and edx, 0xffff
push ecx
mov ecx, dword [esp + 0x18]
and eax, 0xffff
push edx
mov edx, dword [esp + 0x1e]
push eax
mov eax, dword [esp + 0x26]
and ecx, 0xffff
and edx, 0xffff
push ecx
and eax, 0xffff
push edx
push eax
push str._02d_02d_04d__02d_02d_02d_03d.JPG
lea ecx, [esp + 0x48]
push ecx
call ebp
add esp, 0x24
lea edx, [esp + 0x128]
mov ecx, ebx
push edx
call fcn.0040776e
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call sub.MFC42.DLL_CString::operator_1
push 0x1f2c
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x22c]
add esp, 4
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret