joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10070840
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x10c453f0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10070888
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x100708ad
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100708ce
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100708ce
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100708c8
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100708ce
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
mov al, bl
and cl, 0xfd
add al, al
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop ebx
pop edi
mov byte [esi + 0x14], cl
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100709b0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100cae74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10070aa8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10070aa1
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10070a88
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10070a88
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10070a88
mov edx, dword [esi]
test edx, edx
jne 0x10070a51
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x10c4451c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10070aa1
jmp 0x10070a7c
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10070a7c
shl eax, 3
push eax
push edx
push 0
push dword [0x10c4451c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10070aa1
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10070a10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10070aec
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10070aec
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10070ae6
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.10071140
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10070ab4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007939c
mov esp, ebp
pop ebp
ret

Function at 0x10071360
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x100713b0
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1007139f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10071398
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x10071375
pop ebx
push dword [edi]
push 0
push dword [0x10c4451c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x100713c0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10c453e0]
test eax, eax
je 0x100713dc
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10071432
mov eax, dword [eax]
test eax, eax
jne 0x100713d0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1007142f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x10071405
mov ecx, dword [0x10c453e0]
mov dword [eax], ecx
mov dword [0x10c453e0], eax
pop edi
pop esi
test eax, eax
jne 0x10071432
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x10072150
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.100720a0
add esp, 0x18
test eax, eax
je 0x10072179
inc eax
cmp byte [eax], 0xcc
je 0x10072173
pop ebp
ret

Function at 0x100722b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.100721f0
add esp, 0x18
test eax, eax
je 0x100722d9
inc eax
cmp byte [eax], 0xcc
je 0x100722d3
pop ebp
ret

Function at 0x10074510
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.100746c0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100745dd
mov edx, dword [ebp - 4]
cmp edx, dword [0x100cae48]
jb 0x1007455a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100cae4c]
ja 0x1007455a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1007452a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1007af80
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10074580
jmp 0x100745dd
cmp dword [ebp - 0x14], 0x10000
jne 0x100745c3
cmp dword [ebp - 0x18], 0x10000
jb 0x100745c3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100745b6
mov eax, dword [ebp - 8]
jmp 0x100745df
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100745d8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100746c0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1007452a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100745f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100746f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100746b5
mov edx, dword [ebp - 4]
cmp edx, dword [0x100cae48]
jb 0x10074635
mov eax, dword [ebp - 4]
cmp eax, dword [0x100cae4c]
ja 0x10074635
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10074605
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1007af80
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1007465b
jmp 0x100746b5
cmp dword [ebp - 0x14], 0x10000
jne 0x1007469e
cmp dword [ebp - 0x18], 0x10000
jb 0x1007469e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10074691
mov eax, dword [ebp - 8]
jmp 0x100746b7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100746b0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100746f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10074605
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10095842
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100b6cf4
push 0x100b6cec
push str.FlsAlloc
push 0x1e
call fcn.100956cc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10095876
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a8294]
call esi
jmp 0x1009587c
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100958c0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100b6d04
push 0x100b6cfc
push str.FlsGetValue
push 0x20
call fcn.100956cc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100958f7
push dword [ebp + 8]
mov ecx, esi
call dword [0x100a8294]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10099d6a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10099e07
push ebx
push esi
call fcn.10099d33
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10098afb
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10099db4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10099e06
push edi
push eax
call fcn.10094277
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10099dd4
call fcn.1009423d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10099e05
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10098afb
add esp, 0x20
test eax, eax
jne 0x10099df3
push edi
call fcn.1009423d
jmp 0x10099dfb
push ebx
call fcn.1009423d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100a0ff0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100a101d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100a101d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4016b9
Capabilities:
Get file system object information

Disassembly:
mov dword [0x4061db], 0
mov eax, dword [0x4061db]
mov ecx, 0
push ecx
xor ecx, ecx
push ecx
call dword [sym.imp.USER32.DLL_LoadMenuW]
mov dword [0x40600d], 0
mov eax, dword [0x40600d]
mov dword [0x406039], 0
mov ecx, dword [0x406039]
push ecx
push 0
pop ecx
push ecx
call dword [sym.imp.USER32.DLL_LoadMenuW]
mov edx, 0
mov eax, edx
mov dword [0x406168], eax
push 0xf78
pop ebx
sub ebx, edi
cmp ebx, 0xbce
jbe 0x401723
rol ebx, 6
shr ebx, 1
add ebx, dword [0x40607d]
sub ebx, 0x5ae
add ebx, 0xf65
add ebx, esi
mov ecx, ebx
add ecx, ebx
add ecx, 0xd7
ja 0x401753
sub ecx, 0x19c
je 0x401753
add ecx, dword [0x40606f]
mov dword [0x4060a8], ecx
push 0
push pe_nt_image_headers32
push 3
push 0
push 1
push 0x80000000
push 0x406109
push 0x21405e
pop edx
shl edx, 1
call dword [edx]
push 0
push 0
push 0
push 0
push 0x406109
mov edx, dword [sym.imp.shell32.dll_SHGetFileInfoA]
call edx
push 0
push 0
push 0
push 0
push 0x406109
mov edx, 0x2140ec
shl edx, 1
call dword [edx]
mov ecx, 0
inc ecx
sub ecx, ecx
sub ecx, 0xbb6
cmp ecx, 0x3e
jb 0x4017bc
dec ecx
rol ecx, 8
sub ecx, 0xa67
jbe 0x4017cd
sub ecx, dword [0x406024]
add ecx, 0x858
inc ecx
ror ecx, 1
sub ecx, dword [0x40609f]
add dword [0x4060c2], ecx
sub eax, 0x13479e5
mov ebx, 0x182
shr ebx, 7
mov ecx, ebx
sub ecx, ecx
ror ecx, 1
sub ecx, dword [0x40616d]
add ecx, eax
sub ecx, 0xb9b
rol ecx, 1
sub ecx, dword [0x406015]
add ecx, ecx
mov dword [0x4061f8], ecx
sub eax, 0xfe8b6d2b
mov dword [0x4061b9], eax
lea ecx, [ecx + 0x406054]
add ecx, 0x82b
rol ecx, 3
dec ecx
sub ecx, esi
sub dword [0x40601f], ecx
add ecx, dword [0x406138]
shl ecx, 1
inc ecx
shl ecx, 1
add dword [0x406232], ecx
push dword [0x4061b9]
lea ecx, [eax + 0x406171]
shl ecx, 1
sub ecx, 0xa5
mov dword [0x406196], ecx
shr ecx, 1
add ecx, dword [0x406141]
dec ecx
sub ecx, 0x882
sub ecx, ebx
mov eax, ecx
sub eax, 0x643
jne 0x401880
add eax, dword [0x406228]
add dword [0x4060c7], eax
ret
Function at 0x42be8a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e88f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov dword [ebp - 0x32c], ecx
push 0x4472f0
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x4479dc
push 0x4472fc
push 0x447308
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 6
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::CFileDialog
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp - 0x280]
or eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
push 0x447310
push 0x447314
lea ecx, [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x32c]
call fcn.0042be11
mov edx, dword [ebp - 0x2a0]
add edx, 1
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x29c], 1
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
push 0xf002
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x31c]
call fcn.0043cd02
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
push 0x447320
lea ecx, [ebp - 0x31c]
call fcn.0043cae0
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
lea ecx, [ebp - 0x31c]
call fcn.0041f2a0
mov dword [ebp - 0x2a8], eax
call fcn.0042c7b0
mov ecx, eax
call fcn.0042c7f0
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x320]
call fcn.0041f2a0
mov dword [ebp - 0x284], eax
push 0x104
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x298], eax
lea edx, [ebp - 0x114]
mov dword [ebp - 0x288], edx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::DoModal
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::GetPathName
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x334], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x334]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x324]
call fcn.0043c990
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.0043c990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call fcn.0043c990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x31c]
call fcn.0043c990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x320]
call fcn.0043c990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.0042c820
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42daf7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ea2a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov dword [ebp - 0x32c], ecx
push 0x4473d4
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x4479f0
push 0x4473e0
push 0x4473ec
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 6
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::CFileDialog
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp - 0x280]
or eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
push 0x4473f4
push 0x4473f8
lea ecx, [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x32c]
call fcn.0042da7e
mov edx, dword [ebp - 0x2a0]
add edx, 1
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x29c], 1
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
push 0xf002
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x31c]
call fcn.0043cd02
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
push 0x447404
lea ecx, [ebp - 0x31c]
call fcn.0043cae0
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
lea ecx, [ebp - 0x31c]
call fcn.0041f2a0
mov dword [ebp - 0x2a8], eax
call fcn.0042c7b0
mov ecx, eax
call fcn.0042c7f0
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x320]
call fcn.0041f2a0
mov dword [ebp - 0x284], eax
push 0x104
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x298], eax
lea edx, [ebp - 0x114]
mov dword [ebp - 0x288], edx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::DoModal
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::GetPathName
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x334], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x334]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x324]
call fcn.0043c990
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.0043c990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call fcn.0043c990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x31c]
call fcn.0043c990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x320]
call fcn.0043c990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.0042c820
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4306a9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ec0e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x328
mov dword [ebp - 0x32c], ecx
push 0x4474b8
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x447a04
push 0x4474c4
push 0x4474d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0
push 0
push 6
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::CFileDialog
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x320]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp - 0x280]
or eax, dword [ebp + 0x10]
mov dword [ebp - 0x280], eax
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
push 0x4474d8
push 0x4474dc
lea ecx, [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x32c]
call fcn.00430630
mov edx, dword [ebp - 0x2a0]
add edx, 1
mov dword [ebp - 0x2a0], edx
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x29c], 1
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
push 0xf002
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x31c]
call fcn.0043cd02
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
push 0x4474e8
lea ecx, [ebp - 0x31c]
call fcn.0043cae0
push 0
lea ecx, [ebp - 0x31c]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
lea ecx, [ebp - 0x31c]
call fcn.0041f2a0
mov dword [ebp - 0x2a8], eax
call fcn.0042c7b0
mov ecx, eax
call fcn.0042c7f0
mov dword [ebp - 0x2b0], eax
lea ecx, [ebp - 0x320]
call fcn.0041f2a0
mov dword [ebp - 0x284], eax
push 0x104
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x298], eax
lea edx, [ebp - 0x114]
mov dword [ebp - 0x288], edx
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::DoModal
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x314]
call sub.MFC42.DLL_CFileDialog::GetPathName
mov dword [ebp - 0x330], eax
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x334], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x334]
push edx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x324]
call fcn.0043c990
push 0xffffffffffffffff
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x328], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x118]
call fcn.0043c990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x318]
call fcn.0043c990
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x31c]
call fcn.0043c990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x320]
call fcn.0043c990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x314]
call fcn.0042c820
mov eax, dword [ebp - 0x328]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14