joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465c70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x49e263
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0048f96a
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004950dd
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00496635
test eax, eax
je 0x465d8c
mov ecx, dword [esp + 0x3c]
call fcn.0049510a
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x465d50
push edi
mov ecx, esi
call fcn.004926c5
mov ecx, esi
call fcn.00465ef0
cmp dword [esp + 0x38], 1
jne 0x465d85
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0049282f
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4687c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4687f3
push esi
call fcn.0046b8b0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4687ec
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 0x468879
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x468862
mov eax, dword [esi + 8]
test eax, eax
je 0x468817
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 0x46885e
cmp eax, 2
je 0x468862
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46880a
cmp eax, 3
je 0x46883d
cmp eax, 1
jne 0x46880a
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 0x46880a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46880a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004688a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x468888
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004688a0
add esp, 4
pop esi
ret

Function at 0x490760
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x490798
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.0048e7ed
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048e7c5
jmp 0x4907a4
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x491e4e
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 0x491e90
call fcn.00497b41
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x491e90
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x491e87
xor eax, eax
jmp 0x491e98
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00491e9e
pop edi
pop esi
pop ebx
ret 4

Function at 0x498071
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 0x49809f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4980bd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00497fd7
jmp 0x4980bd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4980bd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00497fd7
test edi, edi
mov eax, edi
jne 0x4980a7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4027c0
Capabilities:
Check mutex on windows
Get thread local storage value
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4114b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xae0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, edi
jne 0x402805
mov dword [ebp - 0x14], 1
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0xaec]
push str.PCUTM_d
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea edx, [ebp - 0xaec]
xor ebx, ebx
push edx
push ebx
push 0x1f0001
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x402967
test esi, esi
mov dword [ebp - 0x20], eax
je 0x402856
lea eax, [ebp - 0x20]
push 1
push eax
call fcn.004029b0
add esp, 8
mov dword [ebp - 4], 0
call fcn.00402d80
test esi, esi
je 0x40287b
mov ecx, dword [0x41c0b8]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x402926
mov edx, dword [0x41c0bc]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ecx, ecx
cmp eax, 0x154dc
sete cl
mov eax, ecx
test eax, eax
jne 0x402967
test esi, esi
je 0x4028ad
call fcn.00403050
test eax, eax
je 0x402967
lea edx, [ebp - 0xaec]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x1c], ebx
je 0x402967
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 1
test esi, esi
je 0x4028fd
call fcn.00403050
test eax, eax
jne 0x4028f9
mov eax, dword [ebp + 8]
push 0x1388
mov ecx, dword [eax + 4]
push ecx
call edi
test eax, eax
jne 0x4028d6
xor esi, esi
jmp 0x4028d6
test esi, esi
jne 0x402920
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
je 0x402938
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x402962
push edi
mov dword [ebp - 0x2ec], 0x10007
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea edx, [ebp - 0x2ec]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.00402980
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4029b0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4114c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x41c0b8]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
cmp eax, edi
jne 0x4029ea
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x41c0b8], eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
cmp ebx, edi
je 0x402a80
cmp dword [ebp + 0xc], edi
je 0x402a80
mov dword [ebp - 4], edi
cmp edi, dword [ebp + 0xc]
jae 0x402a80
mov esi, dword [ebx + edi*4]
test esi, esi
jne 0x402a2b
lea eax, [ebp - 0x21c]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea esi, [ebp - 0x21c]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402a77
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push ecx
push edx
push esi
call fcn.00402e90
add esp, 0xc
test eax, eax
jne 0x402a80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
je 0x402a77
mov ecx, dword [0x41c0b8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
jmp 0x402a06
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402aa0
Capabilities:
Get hostname

Disassembly:
push ecx
cmp dword [0x41b194], 0x7af
jne 0x402ae6
lea eax, [esp]
mov dword [esp], 0x10
push eax
push 0x41c094
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x402adc
push 0x413698
push 0x41c094
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov dword [0x41b194], 0x7d2
mov eax, 0x41c094
pop ecx
ret

Function at 0x402af0
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x41b198]
sub esp, 0x418
cmp eax, 0x7af
jne 0x402b48
lea eax, [esp + 8]
push 0x104
lea ecx, [esp + 8]
push eax
lea edx, [esp + 8]
push ecx
push edx
push 0x41b198
lea eax, [esp + 0x224]
push 0x104
push eax
push 0x413c78
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x402b43
mov dword [0x41b198], eax
add esp, 0x418
ret
mov eax, dword [0x41b198]
add esp, 0x418
ret

Function at 0x402b50
Capabilities:
Get session user name

Disassembly:
push ecx
cmp dword [0x41b19c], 0x7af
jne 0x402b96
lea eax, [esp]
mov dword [esp], 0x101
push eax
push 0x41be90
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x402b8c
push 0x413698
push 0x41be90
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov dword [0x41b19c], 0x7d2
mov eax, 0x41be90
pop ecx
ret
Function at 0x402d80
Capabilities:
Allocate thread local storage
Query or enumerate registry value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4114d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x41c
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push eax
push 1
push 0
mov ebx, 0x10e91
push str.SoftwareCorelPCU
push 0x80000002
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402e58
lea ecx, [ebp - 0x24]
lea edx, [ebp - 0x428]
push ecx
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push edx
push eax
push 0
push str.Data
push ecx
mov dword [ebp - 0x24], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x14]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x402e58
push esi
push esi
lea eax, [ebp - 0x20]
push esi
lea ecx, [ebp - 0x18]
push eax
push ecx
call fcn.00402ba0
add esp, 0x14
test eax, eax
je 0x402e58
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
lea edi, [ebp - 0x428]
mov esi, edx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x402e3a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402e43
mov ebx, 0x154dc
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x402e58
mov eax, dword [0x41c0bc]
test eax, eax
jne 0x402e6c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x41c0bc], eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402f10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402f42
push ebp
mov ebp, dword [esp + 0x14]
mov eax, ebp
sub esi, ebp
mov edi, ecx
mov dl, byte [esi + eax]
xor dl, cl
mov byte [eax], dl
inc eax
dec edi
jne 0x402f2f
mov byte [ecx + ebp], 0
pop ebp
pop edi
pop esi
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov byte [ecx + eax], 0
ret
Function at 0x402f50
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 8], ebx
cmp word [edi], 0x5a4d
je 0x402f6a
pop edi
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
je 0x402f7d
pop edi
xor eax, eax
pop ebx
pop ecx
ret
push ebp
push esi
mov esi, dword [eax + 0x78]
mov eax, dword [esi + edi + 0x20]
add esi, edi
add eax, edi
mov ecx, dword [esi + 0x24]
add ecx, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jbe 0x402fe2
mov ebp, eax
mov eax, dword [ebp]
mov ecx, dword [esp + 0x1c]
add eax, edi
push ecx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
je 0x402fc9
mov eax, dword [esi + 0x18]
inc ebx
add ebp, 4
cmp ebx, eax
jb 0x402f9c
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x1c]
xor edx, edx
mov dx, word [eax + ebx*2]
lea edx, [ecx + edx*4]
mov eax, dword [edx + edi]
add eax, edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop edi
pop ebx
pop ecx
ret

Function at 0x403110
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
xor eax, eax
test ecx, ecx
jbe 0x40312d
mov edx, dword [esp + 4]
push ebx
mov bl, byte [eax + edx]
xor bl, cl
mov byte [eax + edx], bl
inc eax
cmp eax, ecx
jb 0x40311f
pop ebx
ret

Function at 0x403280
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov eax, dword [eax]
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], 0x10
mov ebx, edi
xor eax, dword [ebx]
push eax
push edi
mov ebp, eax
call fcn.004032e0
mov ecx, dword [esp + 0x1c]
add esp, 8
xor eax, esi
add ebx, 4
dec ecx
mov esi, ebp
mov dword [esp + 0x14], ecx
jne 0x40329e
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
xor ecx, eax
mov eax, dword [esp + 0x18]
xor edx, esi
pop edi
mov dword [eax], edx
mov edx, dword [esp + 0x18]
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
ret

Function at 0x403350
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov eax, dword [eax]
push esi
mov esi, dword [ecx]
push edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x14], 0x10
lea ebx, [edi + 0x44]
xor eax, dword [ebx]
push eax
push edi
mov ebp, eax
call fcn.004032e0
mov ecx, dword [esp + 0x1c]
add esp, 8
xor eax, esi
sub ebx, 4
dec ecx
mov esi, ebp
mov dword [esp + 0x14], ecx
jne 0x40336f
mov ecx, dword [edi + 4]
mov edx, dword [edi]
xor ecx, eax
mov eax, dword [esp + 0x18]
xor edx, esi
pop edi
mov dword [eax], edx
mov edx, dword [esp + 0x18]
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
ret
Function at 0x4033b0
Capabilities:
Encrypt data using blowfish

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov eax, 0x413d5c
lea ecx, [esi + 0x48]
mov edx, 0x100
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
dec edx
jne 0x4033c6
cmp eax, 0x414d5c
jl 0x4033c1
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov edi, 0x413d14
xor eax, eax
sub edi, esi
mov dword [esp + 0x10], 0x12
xor ecx, ecx
mov dword [esp + 0x20], 4
xor ebx, ebx
mov bl, byte [eax + edx]
shl ecx, 8
or ecx, ebx
inc eax
cmp eax, ebp
jl 0x40340e
xor eax, eax
mov ebx, dword [esp + 0x20]
dec ebx
mov dword [esp + 0x20], ebx
jne 0x4033fd
mov ebx, dword [edi + esi]
add esi, 4
xor ebx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esi - 4], ebx
dec ecx
mov dword [esp + 0x10], ecx
jne 0x4033f3
mov ebx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov esi, ebx
mov edi, 9
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
push ecx
push ebx
call fcn.00403280
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov dword [esi], edx
mov dword [esi + 4], eax
add esp, 0xc
add esi, 8
dec edi
jne 0x403444
lea esi, [ebx + 0x4c]
mov ebp, 4
mov edi, 0x80
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
push ebx
call fcn.00403280
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov dword [esi - 4], eax
mov dword [esi], ecx
add esp, 0xc
add esi, 8
dec edi
jne 0x403477
dec ebp
jne 0x403472
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x403c18
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x411628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
push 0x413698
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_3
push 0x413698
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0
call sub.MFC42u.DLL_CString::CString_3
push 0x413698
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 1
call sub.MFC42u.DLL_CString::CString_3
push 0xff
push 0xff
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 2
call sub.MFC42u.DLL_CString::GetBuffer
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push eax
mov eax, dword [esi + 4]
push 1
push eax
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov dword [esp + 0x16], ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x1a], ecx
push 0xa
mov dword [esp + 0x22], ecx
push edx
mov dword [esp + 0x2a], ecx
push eax
mov word [esp + 0x20], 0
mov word [esp + 0x32], cx
call dword [sym.imp.MSVCRT.dll__ltow]
add esp, 0xc
lea ecx, [esp + 8]
push 0xff
push 0xff
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 4]
push eax
push 4
push ecx
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::ReleaseBuffer
push 0xff
push 0xff
lea ecx, [esp + 0x18]
call sub.MFC42u.DLL_CString::GetBuffer
mov edx, dword [esi + 4]
push eax
push 0x1f
push edx
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0xc]
lea ecx, [esp + 8]
push eax
push 0x414df4
call sub.MFC42u.DLL_CString::Replace
lea ecx, [esp + 0x14]
push ecx
push 0x414dec
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::Replace
mov edx, dword [esp + 0x10]
push 0x40
mov eax, dword [esp + 0xc]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x30], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x403eeb
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4116a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
mov esi, ecx
push edi
push 0x413698
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_3
mov edx, dword [esp + 0xa8]
xor eax, eax
mov dword [esp + 0x1a], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x1e], eax
push 0xa
mov dword [esp + 0x26], eax
push ecx
mov dword [esp + 0x2e], eax
push edx
mov dword [esp + 0xac], 0
mov word [esp + 0x24], 0
mov word [esp + 0x36], ax
call dword [sym.imp.MSVCRT.dll__ltow]
add esp, 0xc
lea ecx, [esp + 0xc]
push 0x400
push 0x400
call sub.MFC42u.DLL_CString::GetBuffer
push eax
mov eax, dword [esi + 4]
push 0x31
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::ReleaseBuffer
lea ecx, [esp + 0x18]
push ecx
push 0x414df4
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::Replace
push 0x413698
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_3
mov edx, dword [esi + 8]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0xff
mov edi, dword [edx]
push 0xff
lea ecx, [esp + 0x10]
mov byte [esp + 0xa8], 1
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 8]
push eax
call dword [edi + 0x48]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
cmp eax, 8
jle 0x404013
lea edx, [esp + 0x10]
push 8
push edx
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0xa4], 2
call fcn.004090d4
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 1
call sub.MFC42u.DLL_CString::CString
push 0x414dfc
push 4
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::Insert
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x414dec
call sub.MFC42u.DLL_CString::Replace
mov esi, dword [esi + 4]
call sub.MFC42u.DLL_AfxGetModuleState
mov edi, dword [eax + 0xc]
mov dword [esp + 0x30], edi
call sub.MFC42u.DLL_AfxGetModuleState
mov dword [eax + 0xc], esi
push 0
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0xac], 3
call sub.MFC42u.DLL_CString::CString_1
lea ecx, [esp + 0x3c]
call fcn.00404af0
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 4
call sub.MFC42u.DLL_CDialog::DoModal
mov esi, eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xa0], 5
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0xa0], 3
call sub.MFC42u.DLL_CDialog::CDialog
mov byte [esp + 0xa0], 1
call sub.MFC42u.DLL_AfxGetModuleState
lea ecx, [esp + 8]
mov dword [eax + 0xc], edi
mov byte [esp + 0xa0], 0
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0xa0], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x98]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x9c
ret 4
Function at 0x406230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x411c58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 0x413698
lea ecx, [esp + 0xc]
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x18], 0
call sub.MFC42u.DLL_CString::LoadStringW
mov ecx, dword [esp + 8]
push ecx
push 0x3f4
mov ecx, esi
call sub.MFC42u.DLL_CWnd::SetDlgItemTextW
mov edx, dword [esp + 0x20]
lea edi, [esi + 0xf4]
push edx
mov ecx, edi
call fcn.00408f9c
push 0xff
push 0xff
mov ecx, edi
call sub.MFC42u.DLL_CString::GetBuffer
push eax
call fcn.0040d2b0
add esp, 8
mov ecx, edi
push 0xffffffffffffffff
call sub.MFC42u.DLL_CString::ReleaseBuffer
mov eax, dword [esp + 0x24]
lea ecx, [esi + 0x138]
push eax
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esi + 0xf8]
call sub.MFC42u.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi + 0xe0], ecx
lea ecx, [esp + 8]
mov dword [esi + 0xdc], edx
mov dword [esi + 0xe4], eax
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c