joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410340
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4a19b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
call fcn.00441900
mov esi, eax
lea eax, [esp + 0x13]
add esi, 0x1564
push eax
mov ecx, esi
call fcn.004148b0
mov edi, dword [esi + 4]
mov ecx, dword [esi]
xor ebx, ebx
sub edi, ecx
push ebx
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], ebx
sar edi, 2
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.0049b140
cmp edi, ebx
mov byte [esp + 0x28], 1
je 0x4103c5
lea eax, [edi*4]
cmp eax, 0x80
push eax
jbe 0x4103ba
call sub.MFC42.DLL_operatornew
add esp, 4
jmp 0x4103c7
call dword [sym.imp.stlport_vc645.dll_private:_static_void____cdecl__STL::__node_alloc_1__0_::_M_allocate_unsigned_int_]
add esp, 4
jmp 0x4103c7
xor eax, eax
lea ecx, [eax + edi*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dl, byte [esp + 0x30]
mov ecx, dword [esi + 4]
mov esi, dword [esi]
mov byte [esp + 0x12], dl
lea edx, [esp + 0x12]
mov byte [esp + 0x28], 3
push edx
push eax
push ecx
push esi
call fcn.00443890
add esp, 0x10
mov dword [esp + 0x18], eax
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov ecx, eax
add edx, 0xad4
sub ecx, ebp
mov dword [esp + 0x28], 4
sar ecx, 2
cmp ebp, eax
je 0x410462
shl cl, 6
dec cl
mov ebx, edx
mov byte [esp + 0x30], cl
mov ecx, dword [ebp]
call fcn.0049ab60
mov cl, byte [eax + 0xb]
mov dl, byte [esp + 0x30]
not cl
and cl, 0x3f
mov esi, eax
xor cl, dl
mov edi, ebx
mov byte [eax + 0xb], cl
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
add ebp, 4
add ebx, 0x1e
cmp ebp, eax
movsw word es:[edi], word [esi]
jne 0x410428
mov ebp, dword [esp + 0x14]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x28], 5
je 0x410497
mov eax, dword [esp + 0x1c]
sub eax, ebp
sar eax, 2
shl eax, 2
cmp eax, 0x80
jbe 0x41048c
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x410497
push eax
push ebp
call dword [sym.imp.stlport_vc645.dll_private:_static_void___cdecl__STL::__node_alloc_1__0_::_M_deallocate_void___unsigned_int_]
add esp, 8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4119b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4a1c78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
call fcn.00441900
mov esi, eax
lea eax, [esp + 0xf]
add esi, 0x15a4
push eax
mov ecx, esi
call fcn.004148b0
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
sub ecx, ebx
push eax
sar ecx, 2
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0
call fcn.00415040
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 4]
mov esi, dword [esi]
push edx
push eax
push esi
mov byte [esp + 0x30], 2
call fcn.00443890
add esp, 0xc
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0x10]
mov ecx, eax
sub ecx, ebp
mov dword [esp + 0x24], 3
sar ecx, 2
jne 0x411a6b
test ebp, ebp
mov dword [esp + 0x24], 4
je 0x411b01
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
sub eax, ebp
sar eax, 2
push eax
push ebp
call fcn.004155e0
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov edx, dword [esp + 0x2c]
cmp ebp, eax
lea ebx, [edx + 0x4297]
je 0x411aba
shl cl, 6
dec cl
push edi
mov byte [esp + 0x30], cl
mov ecx, dword [ebp]
call fcn.0049ab60
mov cl, byte [eax + 5]
mov dl, byte [esp + 0x30]
not cl
and cl, 0x3f
mov esi, eax
xor cl, dl
mov edi, ebx
mov byte [eax + 5], cl
mov eax, dword [esp + 0x18]
add ebp, 4
mov ecx, 8
add ebx, 0x20
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x411a83
mov ebp, dword [esp + 0x14]
pop edi
test ebp, ebp
mov dword [esp + 0x24], 5
je 0x411b01
mov eax, dword [esp + 0x18]
sub eax, ebp
sar eax, 2
shl eax, 2
cmp eax, 0x80
jbe 0x411af6
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
push eax
push ebp
call dword [sym.imp.stlport_vc645.dll_private:_static_void___cdecl__STL::__node_alloc_1__0_::_M_deallocate_void___unsigned_int_]
add esp, 8
mov ecx, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x416cc0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a2758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push ebx
push esi
push edi
mov edi, ecx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x4dc390
call fcn.004984a0
xor ebx, ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], ebx
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0xc]
push 0x3b
push ebx
lea eax, [esp + 0x34]
push edx
push eax
mov byte [esp + 0x34], 1
xor esi, esi
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
je 0x416d34
mov ecx, dword [esp + 0xc]
inc esi
push 0x3b
push esi
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
jne 0x416d1d
cmp esi, ebx
mov dword [esp + 0x18], esi
jg 0x416d70
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
lea eax, [esi*8]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
mov dword [edi + 0x60], eax
jne 0x416dec
lea ecx, [esp + 0x18]
push 0x47b
push ecx
mov ecx, 0x4dc390
call fcn.00498ef0
mov eax, dword [eax]
push ebx
push ebx
push eax
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov edx, dword [esp + 0xc]
push 0x3b
push ebx
lea eax, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
xor esi, esi
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
je 0x416e66
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_sscanf]
push 0x20
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Remove
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push 0x4d5280
push eax
call ebp
mov ecx, dword [edi + 0x60]
mov edx, dword [esp + 0x24]
add esp, 0x10
mov dword [ecx + esi*8], edx
mov eax, dword [edi + 0x60]
mov cx, word [esp + 0x18]
push 0x3b
mov word [eax + esi*8 + 4], cx
mov edx, dword [esp + 0x14]
inc esi
lea eax, [esp + 0x34]
push esi
push edx
push eax
call sub.MFC42.DLL_AfxExtractSubString
test eax, eax
jne 0x416e13
pop ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x418610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a2d75
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esp + 0x18], 0
lea edi, [esi + 0x348]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x34]
mov byte [esp + 0x18], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x2c]
mov byte [esp + 0x18], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x20]
mov byte [esp + 0x18], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 0xc]
mov byte [esp + 0x18], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 8]
mov byte [esp + 0x18], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [edi + 4]
mov byte [esp + 0x18], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x304]
mov byte [esp + 0x18], 8
call sub.MFC42.DLL_CProgressCtrl::CProgressCtrl
lea ecx, [esi + 0x2b4]
mov byte [esp + 0x18], 7
call fcn.00459ab0
lea ecx, [esi + 0x264]
mov byte [esp + 0x18], 6
call fcn.004010a0
lea ecx, [esi + 0x224]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esi + 0x1b8]
mov byte [esp + 0x18], 4
call fcn.0041e4e0
lea ecx, [esi + 0x14c]
mov byte [esp + 0x18], 3
call fcn.0041e4e0
lea ecx, [esi + 0xe0]
mov byte [esp + 0x18], 2
call fcn.0041e4e0
lea ecx, [esi + 0x74]
mov byte [esp + 0x18], 1
call fcn.0041e4e0
lea ecx, [esi + 0x60]
mov byte [esp + 0x18], 0
call fcn.00456330
mov dword [esp + 0x18], 0xffffffff
mov ecx, esi
call fcn.0049e8d2
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41e8c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a37eb
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
mov dword [esp + 0x18], 0
call fcn.0049e584
mov dword [esi], 0x4b4b70
lea edi, [esi + 0x48]
mov byte [esp + 0x18], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x38]
mov dword [esi + 0x7c], ecx
push edx
mov ecx, edi
mov byte [esp + 0x1c], 2
mov dword [esi], 0x4b5a28
mov dword [esi + 0x78], eax
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x40], eax
mov eax, 1
xor edx, edx
cmp ebp, eax
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x64], eax
setne dl
mov eax, ecx
mov dword [esi + 0x50], edx
mov dword [esi + 0x4c], 0
mov dword [esi + 0x68], 0
mov ebp, dword [eax]
lea edx, [esi + 0x54]
mov dword [esi + 0x54], ebp
mov ebp, dword [eax + 4]
mov dword [edx + 4], ebp
mov ebp, dword [eax + 8]
mov dword [edx + 8], ebp
mov eax, dword [eax + 0xc]
mov ebp, dword [esp + 0x20]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push edx
or eax, 0x50000080
push ebp
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CEdit::Create
test eax, eax
je 0x41ea99
mov eax, dword [ebp + 0x20]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push eax
call ebp
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x41e9c2
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
push 1
push eax
push 0x30
push ecx
call ebp
mov edx, dword [esp + 0x38]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetFocus
mov eax, dword [esp + 0x40]
dec eax
cmp eax, 0x27
ja case.0x41e9f2.4
xor ecx, ecx
mov cl, byte [eax + 0x41ead0]
jmp dword [ecx*4 + 0x41eac0]
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xffffffffffffffff
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
jmp 0x41ea97
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esi + 0x20]
push 0xb1
push ecx
call ebp
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
jmp 0x41ea85
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call ebp
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
jmp 0x41ea97
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, dword [esp + 0x40]
mov edx, dword [esi + 0x20]
push 0
push ecx
push 0x102
push edx
call ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x2c
Function at 0x4217f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push 0x80000001
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421864
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x421859
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret

Function at 0x422350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a3e6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4b6384
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x4223e0
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x4223a7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x4223d1
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x4223e6
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x4223e6
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4b3330
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x4b331c
mov dword [esp + 0x1c], 0xffffffff
call fcn.0049e428
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42c280
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a4277
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x30]
lea ecx, [esp + 8]
push eax
push 0x4d5340
push ecx
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x14]
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0x4d509c
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.00499b10
mov edi, dword [esp + 0x20]
add esp, 0x14
lea ecx, [esp + 0x30]
mov esi, 1
call sub.MFC42.DLL_CString::CString_4
push edi
lea edx, [esp + 0x34]
push str._08ld
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x3c]
add esp, 0xc
xor edx, edx
mov ecx, 6
movsx eax, byte [ecx + edi]
sub eax, 0x30
shl esi, 4
imul eax, esi
add edx, eax
dec ecx
jns 0x42c323
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
sub esp, 8
fild qword [esp + 0x1c]
lea ecx, [esp + 0x10]
fmul qword [0x4b5980]
fstp qword [esp]
push str._.5f
push ecx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x3c]
add esp, 0x10
lea edx, [esp + 8]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
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
Function at 0x42ff30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4aeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x1c], ebx
call fcn.0049e584
mov dword [esi], 0x4b4b70
lea edi, [esi + 0x48]
mov byte [esp + 0x1c], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
mov byte [esp + 0x20], 2
mov dword [esi], 0x4b6e40
call sub.MFC42.DLL_CString::operator
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
xor eax, eax
cmp ebp, 1
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x44], edx
setne al
mov dword [esi + 0x50], eax
mov eax, ecx
mov dword [esi + 0x4c], ebx
lea edx, [esi + 0x54]
mov ebx, dword [eax]
mov dword [edx], ebx
mov ebx, dword [eax + 4]
mov dword [edx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [edx + 8], ebx
mov ebx, dword [esp + 0x24]
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
or eax, 0x50800080
push ebx
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CEdit::Create
test eax, eax
je 0x4300d6
mov eax, dword [ebx + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push eax
call ebx
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x430009
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
push 1
push eax
push 0x30
push ecx
call ebx
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetFocus
lea eax, [ebp - 1]
cmp eax, 0x27
ja case.0x430037.4
xor ecx, ecx
mov cl, byte [eax + 0x430110]
jmp dword [ecx*4 + 0x430100]
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xffffffffffffffff
push ecx
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
jmp 0x4300d4
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esi + 0x20]
push 0xb1
push ecx
call ebx
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
jmp 0x4300c6
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call ebx
push 0
push 0
push 0xb7
jmp 0x4300d0
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x20]
push 0
push 0
push 0xb7
push eax
call ebx
push 0
push ebp
push 0x102
mov ecx, dword [esi + 0x20]
push ecx
call ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20
Function at 0x430570
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4b68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0049e584
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
mov dword [esi], 0x4b6f20
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 4]
push 3
mov dword [esp + 0x1c], 0
sub ebx, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [edi + 0xc]
lea edx, [ebx + ebx*4]
mov ebx, dword [esp + 0x20]
lea eax, [eax + edx*2]
mov edx, dword [esp + 0x28]
add ecx, eax
or edx, 0x50800002
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
push edi
push edx
push 0x4dab08
mov ecx, esi
call sub.MFC42.DLL_CButton::Create
test eax, eax
je 0x430634
mov eax, dword [ebx + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push eax
call edi
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x430617
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
push 1
push eax
push 0x30
push ecx
call edi
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x20]
push 0
push edx
push 0xf1
push eax
call edi
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x1c
Function at 0x431850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a4d9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
xor ebp, ebp
mov dword [esp + 0x1c], ebp
call fcn.0049e584
mov dword [esi], 0x4b4b70
lea edi, [esi + 0x48]
mov byte [esp + 0x1c], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
mov byte [esp + 0x20], 2
mov dword [esi], 0x4b7430
mov dword [esi + 0x6c], ebp
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x38]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x40]
xor eax, eax
cmp ebx, 1
mov dword [esi + 0x64], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x44], edx
setne al
mov dword [esi + 0x50], eax
mov eax, ecx
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x68], ebp
mov ebx, dword [eax]
lea edx, [esi + 0x54]
mov dword [esi + 0x54], ebx
mov ebx, dword [eax + 4]
mov dword [edx + 4], ebx
mov ebx, dword [eax + 8]
mov dword [edx + 8], ebx
mov eax, dword [eax + 0xc]
mov ebx, dword [esp + 0x24]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
or eax, 0x50000080
push ebx
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CEdit::Create
test eax, eax
je 0x431a05
mov eax, dword [ebx + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
push ebp
push 0x31
push eax
call ebx
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
cmp eax, ebp
jne 0x431936
xor eax, eax
jmp 0x431939
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x20]
push 1
push eax
push 0x30
push ecx
call ebx
mov edx, dword [esp + 0x3c]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetFocus
mov eax, dword [esp + 0x44]
dec eax
cmp eax, 0x27
ja case.0x431969.4
xor ecx, ecx
mov cl, byte [eax + 0x431a40]
jmp dword [ecx*4 + 0x431a30]
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0xffffffffffffffff
push ecx
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x20]
push ebp
push ebp
push 0xb7
push eax
jmp 0x431a03
mov edi, dword [edi]
or ecx, 0xffffffff
xor eax, eax
push 0xffffffffffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esi + 0x20]
push 0xb1
push ecx
call ebx
mov edx, dword [esi + 0x20]
push ebp
push ebp
push 0xb7
push edx
jmp 0x4319f2
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push ebp
push 0xb1
push eax
call ebx
mov ecx, dword [esi + 0x20]
push ebp
push ebp
push 0xb7
push ecx
jmp 0x431a03
mov edx, dword [esi + 0x20]
push 0xffffffffffffffff
push ebp
push 0xb1
push edx
call ebx
mov eax, dword [esi + 0x20]
push ebp
push ebp
push 0xb7
push eax
call ebx
mov ecx, dword [esp + 0x44]
mov edx, dword [esi + 0x20]
push ebp
push ecx
push 0x102
push edx
call ebx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x24