joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448140
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x448173
push esi
call fcn.0044b250
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44816c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4481f9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4481e2
mov eax, dword [esi + 8]
test eax, eax
je 0x448197
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4481de
cmp eax, 2
je 0x4481e2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44818a
cmp eax, 3
je 0x4481bd
cmp eax, 1
jne 0x44818a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44818a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44818a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00448220
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x448208
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00448220
add esp, 4
pop esi
ret

Function at 0x454ad0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x454b73
test eax, eax
jbe 0x454b73
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x454b73
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x454b1e
xor esi, esi
jmp 0x454b24
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x454b4f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040dad0
add esi, eax
push esi
mov ebx, esi
call fcn.0040dad0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x454b30
pop ebp
test edi, edi
pop edi
jne 0x454b73
test ebx, ebx
je 0x454b73
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045c740
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x454cb5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x454dcd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x454dcd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046d4b0
mov esi, eax
test esi, esi
je 0x454dcd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x454dcd
mov ecx, esi
call fcn.00454c20
cmp edi, eax
jge 0x454dcd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x454d53
mov dword [esp + 0x34], 1
jmp 0x454dae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x454dcd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00453490
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x46de54
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46de8c
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046bf0b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046bee3
jmp 0x46de98
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46f549
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46f58b
call fcn.00474ffe
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46f58b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46f582
xor eax, eax
jmp 0x46f593
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046f599
pop edi
pop esi
pop ebx
ret 4

Function at 0x47552e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47555c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47557a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00475494
jmp 0x47557a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47557a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00475494
test edi, edi
mov eax, edi
jne 0x475564
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x411790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc000]
push edi
or ebp, 0xffffffff
jmp 0x4117b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4117b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4117a8
mov eax, 1
add ebx, ebx
jne 0x4117cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4117c0
jne 0x4117dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4117c0
xor ecx, ecx
sub eax, 3
jb 0x4117f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x411862
mov ebp, eax
add ebx, ebx
jne 0x4117fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411808
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41182c
inc ecx
add ebx, ebx
jne 0x411818
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41180d
jne 0x411829
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41180d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41184c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41183d
jmp 0x4117ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41184c
add edi, ecx
jmp 0x4117ae
pop esi
mov edi, esi
mov ecx, 0x12
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41186a
cmp byte [edi], 0
jne 0x41186a
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 0x41186f
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x4118de
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x138f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13940]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41189c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x13944]
or eax, eax
je 0x4118d8
mov dword [ebx], eax
add ebx, 4
jmp 0x4118b9
call dword [esi + 0x1394c]
mov ebp, dword [esi + 0x13948]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x411912
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x4014e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 4]
push edi
push 1
push eax
call dword [0x412218]
mov ecx, dword [esi + 4]
mov edi, dword [0x412220]
push 0x13
push 0
push 0
push 0
push 0
push 1
push ecx
call edi
mov edx, dword [esi + 4]
push 5
push edx
call dword [0x41220c]
mov eax, dword [esi + 4]
push 0x13
push 0
push 0
push 0
push 0
push 1
push eax
call edi
xor eax, eax
pop edi
ret
Function at 0x405820
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x405833
push 0x80004005
call entry0
push ebx
mov ebx, dword [0x412134]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x405840
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [0x41200c]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x4059c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x224
mov eax, dword [0x417060]
xor eax, esp
mov dword [esp + 0x220], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x234]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
call dword [0x412018]
mov ecx, dword [esp + 0x10]
mov esi, eax
test esi, esi
jne 0x405a2e
test ecx, ecx
je 0x405a20
push ecx
call dword [0x412008]
test eax, eax
mov ecx, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x10], ecx
je 0x405a3c
test ecx, ecx
je 0x405ae1
push ecx
jmp 0x405adb
mov esi, dword [0x41201c]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x3c]
push edx
push 0
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
jne 0x405aae
jmp 0x405a70
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.004059c0
mov edi, eax
test edi, edi
jne 0x405afd
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x3c]
push eax
push edi
push ecx
mov dword [esp + 0x34], 0x100
call esi
test eax, eax
je 0x405a70
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405ac5
push eax
call dword [0x412008]
mov dword [esp + 0x10], 0
mov edx, dword [ebp]
push edi
push edx
call dword [section..rdata]
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405ae1
push eax
call dword [0x412008]
mov eax, esi
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0040663d
add esp, 0x224
ret 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x405b0c
push eax
call dword [0x412008]
mov eax, edi
jmp 0x405ae3
Function at 0x410d10
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x17ac
call fcn.00410730
mov eax, dword [0x417060]
xor eax, esp
mov dword [esp + 0x17a8], eax
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
push 0xfa0
lea ecx, [esp + 0x1c]
xor esi, esi
push ecx
mov dword [esp + 0x18], esi
call fcn.004064e4
mov ebx, dword [esp + 0x10]
shr ebx, 2
xor edi, edi
test ebx, ebx
jle 0x410e0e
push ebp
mov ebp, dword [0x41204c]
lea ecx, [ecx]
mov edx, dword [esp + edi*4 + 0x18]
push edx
push 0
push 0x1f0fff
call ebp
mov esi, eax
test esi, esi
je 0x410de6
push 0x7fe
lea eax, [esp + 0xfbe]
push 0
push eax
mov word [esp + 0xfc4], 0
call fcn.00407510
add esp, 0xc
push 0x400
lea ecx, [esp + 0xfbc]
push ecx
push 0
push esi
call fcn.004064ea
test eax, eax
je 0x410ddf
lea edx, [esp + 0xfb8]
push 0x5c
push edx
call fcn.00406a5e
add esp, 8
test eax, eax
je 0x410ddf
push str.kuaiwandp.exe
add eax, 2
push eax
call dword [0x412058]
test eax, eax
jne 0x410ddf
mov dword [esp + 0x10], 1
push esi
call dword [0x412060]
add edi, 1
cmp edi, ebx
jl 0x410d60
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x17a8]
xor ecx, esp
call fcn.0040663d
add esp, 0x17ac
ret
mov ecx, dword [esp + 0x17b4]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0040663d
add esp, 0x17ac
ret
Function at 0x4010e0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x40374f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 2
mov edi, dword [eax - 8]
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x3c], 3
and ecx, 0x80000001
jns 0x401130
dec ecx
or ecx, 0xfffffffe
inc ecx
jne 0x4011d3
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov bl, 4
test edi, edi
mov byte [esp + 0x3c], bl
jle 0x4011c5
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Empty
mov edx, dword [esp + 0x48]
mov al, byte [esi + edx]
mov byte [esp + 0x1c], al
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call fcn.004030ac
mov edx, dword [esp + 0x48]
mov al, byte [esi + edx + 1]
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.004012c0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.0040309a
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
add esi, 2
cmp esi, edi
jl 0x401149
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 7
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
xor edi, edi
mov ebx, dword [edx - 8]
mov ebp, dword [eax - 8]
test ebx, ebx
jle 0x40123e
xor esi, esi
test ebp, ebp
jle 0x401239
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov al, byte [edi + edx]
mov cl, byte [esi + ecx]
not al
xor al, cl
lea ecx, [esp + 0x10]
push eax
push esi
call sub.MFC42.DLL_CString::SetAt
inc esi
cmp esi, ebp
jl 0x401217
inc edi
cmp edi, ebx
jl 0x401211
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov ebx, 1
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret 0xc
Function at 0x4012c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403787
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x24], 1
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ax, word [esp + 8]
cmp al, 0x30
jb 0x401327
cmp al, 0x39
ja 0x401327
mov cl, al
shl cl, 4
mov byte [esp + 8], cl
jmp 0x401341
cmp al, 0x41
jb 0x40133d
cmp al, 0x46
ja 0x40133d
mov cl, al
add cl, 9
shl cl, 4
mov byte [esp + 8], cl
jmp 0x401341
mov cl, byte [esp + 8]
cmp ah, 0x30
jb 0x401351
cmp ah, 0x39
ja 0x401351
mov al, ah
sub al, 0x30
jmp 0x40135f
cmp ah, 0x41
jb 0x401365
cmp ah, 0x46
ja 0x401365
mov al, ah
sub al, 0x37
add cl, al
mov byte [esp + 8], cl
mov esi, dword [esp + 8]
lea ecx, [esp + 0x10]
and esi, 0xff
push 0xa
push ecx
push esi
call dword [sym.imp.MSVCRT.dll__itoa]
add esp, 0xc
lea ecx, [esp + 0x30]
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
push esi
lea edx, [esp + 0xc]
push 0x406024
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x38]
add esp, 0xc
lea eax, [esp + 8]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0xc], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x401720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403850
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x2710
idiv ecx
lea ecx, [esp + 0xc]
mov edi, edx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString_2
push edi
lea edx, [esp + 0x10]
push str._t_d
push edx
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0xc]
lea ecx, [esp + 0x24]
push eax
call fcn.0040309a
push 0
push 0
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00401510
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x406058
push ecx
call esi
add esp, 8
test eax, eax
je 0x40183d
mov edx, dword [esp + 8]
push 0x406054
push edx
call esi
add esp, 8
test eax, eax
jne 0x40183d
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x18
ret 4
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret 4
Function at 0x401fa0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x403b9d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [esp + 0x220]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esi + 0x60]
mov dword [esp + 0x228], 0
call fcn.00401000
lea edi, [esi + 0x64]
mov byte [esp + 0x228], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x68]
mov byte [esp + 0x228], 2
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x7c]
mov byte [esp + 0x228], 3
call sub.MFC42.DLL_CString::CString_2
lea ebx, [esi + 0x80]
mov byte [esp + 0x228], 4
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x84]
mov byte [esp + 0x228], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x88]
mov byte [esp + 0x228], 6
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x8c]
mov byte [esp + 0x228], 7
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0x94]
mov byte [esp + 0x228], 8
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_2
push 0
push 0
push 0
push 0
push 1
push 0
lea ecx, [esi + 0x98]
mov byte [esp + 0x240], 9
call fcn.004030fa
lea ecx, [esi + 0xb4]
mov byte [esp + 0x228], 0xa
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xb8]
mov byte [esp + 0x228], 0xb
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0xbc]
mov byte [esp + 0x228], 0xc
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esi + 0xd8]
mov byte [esp + 0x228], 0xd
call sub.MFC42.DLL_CWnd::CWnd
mov dword [esi + 0xd8], 0x40475c
lea eax, [esi + 0x11c]
mov byte [esp + 0x228], 0xe
mov dword [esp + 0x10], eax
lea ecx, [eax + 8]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x228], 0xf
add ecx, 0xc
call sub.MFC42.DLL_CString::CString_2
push 0
push 0
push 0
push 0
lea ecx, [esi + 0x12c]
mov byte [esp + 0x238], 0x10
call sub.MFC42.DLL_CEvent::CEvent
mov byte [esp + 0x228], 0x11
mov dword [esi], 0x404684
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x134], eax
xor eax, eax
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd0], 0xffffffff
mov dword [esi + 0x118], eax
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea edx, [esp + 0x18]
mov dword [esi + 0x134], eax
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.00403106
mov edx, dword [esi + 0x20]
push 0
lea ecx, [esp + 0x120]
push 0x1a
push ecx
push edx
mov dword [esi + 0xb0], 0x20200010
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x11c]
push eax
push 0x40635c
push ebx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, edi
push str.687474703A2F2F636C69656E742E36687574762E636F6D2F
call fcn.00403106
mov ecx, dword [esp + 0x220]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret 4
Function at 0x402650
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x403bd8
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x118]
mov dword [ebp - 4], 0
test eax, eax
jne 0x40276e
push 1
call sub.MFC42.DLL_CWnd::UpdateData
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40275c
test eax, eax
mov ebx, eax
je 0x4026be
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
lea eax, [edi + edi]
add eax, 3
and al, 0xfc
call fcn.00403460
mov eax, esp
push edi
push ebx
push eax
call sub.MFC42.DLL_AfxA2WHelper
push 0
push eax
push 0
call sub.urlmon.dll_IsValidURL
test eax, eax
jne 0x40275c
test esi, esi
je 0x4026d7
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x11c]
mov dword [edi], eax
mov eax, dword [esi + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x130]
lea ecx, [ebp + 8]
push ecx
lea ecx, [esi + 0x124]
mov dword [esi + 0x120], eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esi + 0x128]
call sub.MFC42.DLL_CString::Empty
push 0
push 4
push 0
push 0
push edi
push 0x4027e0
call sub.MFC42.DLL_AfxBeginThread
test eax, eax
mov dword [esi + 0x118], eax
je 0x402751
push 1
mov ecx, esi
mov dword [eax + 0x28], 0
call fcn.004027a0
mov esi, dword [esi + 0x118]
mov edx, dword [esi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x40277b
push 0
mov ecx, esi
call fcn.004027a0
jmp 0x40277b
push 0
mov ecx, esi
call fcn.004027a0
mov ecx, esi
call sub.MFC42.DLL_CDialog::OnOK
jmp 0x40277b
mov eax, dword [esi + 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x18]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4