Function at 0x4242c0
Capabilities:
Enumerate files on windows
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x454]
sub esp, 0x454
push 0xffffffffffffffff
push 0x467c6d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x486540]
xor eax, ebp
mov dword [ebp + 0x450], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x5c], vtable.CMenu.0
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], vtable.CMenu.0
mov dword [ebp - 0x24], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], 0
call fcn.00430fae
mov ecx, eax
test ecx, ecx
je 0x424b6f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
call fcn.00430fae
mov ecx, eax
test ecx, ecx
je 0x424b79
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
lea eax, [ebx + 0x10]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 3
call fcn.00430fae
mov ecx, eax
test ecx, ecx
je 0x424b83
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64], eax
push 0
mov byte [ebp - 4], 4
call fcn.00452515
push eax
call fcn.00451e0a
mov eax, dword [esi]
add esp, 8
mov ecx, esi
call dword [eax + 0x6c]
test eax, eax
je 0x4243bb
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0043cf4f
push 3
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.0043cff7
test eax, eax
je 0x4243dc
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043cf4f
push dword [esi + 0x16c]
lea eax, [ebp - 0x4c]
push str._s.
push eax
call fcn.00408310
lea ecx, [esi + 0x184]
lea eax, [esi + 0x180]
mov dword [ebp - 0x54], ecx
push ecx
push eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00418ce0
add esp, 0x18
push dword [eax]
push 0x8100
push 0
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_AppendMenuW]
mov edx, dword [ebp - 0x38]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x424446
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esi + 0x180]
mov edi, 1
lea ecx, [esi + 0x208]
mov dword [ebp - 0x14], edi
push eax
push dword [ecx + 8]
call fcn.00440dd9
mov esi, dword [ebp - 0x4c]
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
je 0x42464e
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x42464b
cmp edi, 0xff
jg 0x42464b
test byte [ebp], 0x10
je 0x424636
call fcn.00430fae
test eax, eax
je 0x424b6f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402660
test al, al
jne 0x4244fc
lea ecx, [ebp + 0x2c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4244e0
sub ecx, edx
lea eax, [ebp + 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402840
mov byte [ebp - 4], 6
push ecx
mov dword [ebp - 0x50], esp
mov edi, dword [ebp - 0x1c]
add edi, 0xfffffff0
mov dword [ebp - 0x38], edi
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
mov dword [ebp - 0x20], eax
jl 0x42452b
cmp ecx, dword [edi]
jne 0x42452b
lock inc dword [eax]
jmp 0x42455d
mov eax, dword [ecx]
push 2
push dword [edi + 4]
call dword [eax]
mov edi, eax
test edi, edi
je 0x424b8d
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
lea ecx, [eax + 0x10]
mov edx, dword [eax + 4]
lea eax, [edi + 0x10]
inc edx
push edx
push ecx
push edx
push eax
call fcn.00402a10
add esp, 0x10
mov ecx, dword [ebp - 0x50]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1a4]
test eax, eax
je 0x424615
mov eax, dword [ebp - 0x14]
lea edi, [eax + 0x8100]
inc eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x2c]
push eax
push edi
push 0
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2c]
push eax
push dword [ecx + 0x210]
lea ecx, [ecx + 0x208]
call fcn.00440e2a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x170]
lea ecx, [ebp + 0x2c]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4245e6
test dx, dx
je 0x4245e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4245e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4245c0
xor eax, eax
jmp 0x4245eb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4245f9
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x10]
push dword [eax + 0x174]
lea eax, [ebp + 0x2c]
push eax
call fcn.0044ca85
add esp, 8
test eax, eax
je 0x424615
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x20]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x424633
mov edx, dword [ebp - 0x38]
push edx
mov ecx, dword [edx]
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x14]
lea eax, [ebp]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x424490
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x60]
mov eax, dword [ecx]
test eax, eax
je 0x424b6f
mov edi, dword [ebp - 0x10]
add edi, 0x170
mov ecx, dword [edi]
lea ecx, [ecx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x424696
test dx, dx
je 0x424692
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x424696
add ecx, 4
add eax, 4
test dx, dx
jne 0x424670
xor eax, eax
jmp 0x42469b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x424797
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.00426660
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00402400
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4246da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
lea eax, [ebp - 0x50]
push 0x473be0
push eax
call fcn.00418b40
push 0x473be8
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 8
push eax
call fcn.00418c10
add esp, 0x18
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x54]
mov ecx, edi
push eax
call fcn.00402400
mov byte [ebp - 4], 8
or eax, 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42472d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x50]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42474c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
push dword [ebp - 0x60]
lea eax, [ebp - 0x54]
mov dword [ebp - 0x18], 0x8100
push eax
call fcn.00418ce0
add esp, 0xc
push dword [eax]
push 0x8100
push 0
push 0x8100
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov edx, dword [ebp - 0x54]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4247b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4247b3
cmp dword [ebp - 0x2c], 0
jne 0x4247b3
mov eax, dword [ebp - 0x30]
mov ecx, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
add eax, 0x174
push eax
call fcn.00402400
mov dword [ebp - 0x48], vtable.CMenu.0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], vtable.CMenu.0
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x10]
push 0
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xb
mov eax, dword [eax + 0x210]
add eax, 0x8100
push eax
push 0x8100
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
lea ecx, [ebp - 0x28]
call fcn.0043cfcd
mov edi, dword [sym.imp.USER32.dll_GetSubMenu]
push 5
push dword [ebp - 0x58]
call edi
push eax
call fcn.0043cff7
test eax, eax
je 0x424817
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x28]
call fcn.0043cf4f
push 0
push dword [ebp - 0x24]
call edi
push eax
call fcn.0043cff7
test eax, eax
je 0x424834
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x48]
call fcn.0043cf4f
mov edi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0x400
push 0
push dword [ebp - 0x44]
call edi
push 1
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.0043cff7
test eax, eax
je 0x424867
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x40]
call fcn.0043cf4f
push 0x400
push 0
push dword [ebp - 0x3c]
call edi
mov eax, dword [ebp - 0x10]
push dword [eax + 0x188]
lea eax, [ebp - 0x64]
push str._s.lang
push eax
call fcn.00408310
mov edi, dword [ebp - 0x64]
lea eax, [ebp]
add esp, 0xc
mov dword [ebp - 0x30], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, eax
mov dword [ebp - 0x2c], ecx
cmp ecx, 0xffffffff
je 0x424a2e
xor ecx, ecx
jmp 0x4248c0
cmp dword [ebp], 0x10
je 0x424a08
lea eax, [ecx + 0x8200]
inc ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], ecx
call fcn.00430fae
mov ecx, eax
test ecx, ecx
je 0x424b6f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 0xc
push eax
mov eax, dword [ebp - 0x10]
push dword [eax + 0x188]
lea eax, [ebp - 0x14]
push str._s_s
push eax
call fcn.00408310
add esp, 0x10
lea eax, [ebp + 0x250]
push dword [ebp - 0x14]
push 0x100
push eax
push 0x4733b8
push str.LANGUAGE
push 0x474928
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x2c]
push 0x2e
push eax
call fcn.0044c9e1
add esp, 8
test eax, eax
je 0x42494e
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x250]
push eax
lea eax, [ebp - 0x14]
push str._s____s_
push eax
call fcn.00408310
mov esi, dword [ebp - 0x14]
add esp, 0x10
mov eax, dword [ebp + 0x2c]
add eax, 0xffffffbf
push esi
push dword [ebp - 0x1c]
push 0
cmp ax, 0xd
ja 0x424984
push dword [ebp - 0x44]
jmp 0x424987
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2c]
add ecx, 0x21c
push eax
push dword [ecx + 8]
call fcn.00440e2a
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x18c]
lea ecx, [ebp + 0x2c]
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4249d6
test dx, dx
je 0x4249d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4249d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4249b0
xor eax, eax
jmp 0x4249db
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4249ec
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x68], 1
mov byte [ebp - 4], 0xb
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x424a08
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x424a28
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xff
jle 0x4248c0
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x10]
push 0
push dword [ebp - 0x18]
mov eax, dword [eax + 0x224]
add eax, 0x8200
push eax
push 0x8200
push dword [ebp - 0x44]
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x18]
mov eax, dword [ecx + 0x224]
add eax, 0x8200
push eax
push 0x8200
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
lea ecx, [ebp - 0x40]
call fcn.0043cfcd
lea ecx, [ebp - 0x48]
call fcn.0043cfcd
lea ecx, [ebp - 0x28]
call fcn.0043cfcd
lea ecx, [ebp - 0x5c]
call fcn.0043cfcd
cmp dword [ebp - 0x68], 0
jne 0x424aad
push 0
push 0
push str.FATAL_ERROR:_Missing_Language_Files__
call fcn.00438ebf
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], vtable.CMenu.0
call fcn.0043cfb7
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], vtable.CMenu.0
call fcn.0043cfb7
mov byte [ebp - 4], 3
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x424aef
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
or edi, 0xffffffff
mov byte [ebp - 4], 2
mov eax, edi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x424b0a
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x424b23
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], vtable.CMenu.0
call fcn.0043cfb7
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], vtable.CMenu.0
call fcn.0043cfb7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x450]
xor ecx, ebp
call fcn.0044b35e
lea esp, [ebp + 0x454]
pop ebp
ret
push 0x80004005
call fcn.00402d40
push 0x80004005
call fcn.00402d40
push 0x80004005
call fcn.00402d40
call fcn.00402b20
int3