Function at 0x425490
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x454]
sub esp, 0x454
push 0xffffffffffffffff
push 0x4690ad
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x488540]
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 edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x54], vtable.CMenu.0
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], vtable.CMenu.0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.00431d31
mov ecx, eax
test ecx, ecx
je 0x425e02
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
call fcn.00431d31
mov ecx, eax
test ecx, ecx
je 0x425e0c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 3
call fcn.00431d31
mov ecx, eax
test ecx, ecx
je 0x425e16
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
push 0
mov byte [ebp - 4], 4
call fcn.00453625
push eax
call fcn.00452f2e
mov eax, dword [edi]
add esp, 8
mov ecx, edi
call dword [eax + 0x6c]
test eax, eax
je 0x425589
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x54]
call fcn.0043dd97
push 3
push dword [ebp - 0x50]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.0043de3f
test eax, eax
je 0x4255aa
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043dd97
push dword [edi + 0x174]
lea eax, [ebp - 0x4c]
push str._s.
push eax
call fcn.00408d30
lea eax, [edi + 0x18c]
push eax
lea ecx, [edi + 0x188]
mov dword [ebp - 0x48], eax
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x30], ecx
push eax
call fcn.00419e90
add esp, 0x18
push dword [eax]
push 0x8c00
push 0
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_AppendMenuW]
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425614
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [edi + 0x188]
mov ebx, 1
lea ecx, [edi + 0x210]
mov dword [ebp - 0x14], ebx
push eax
push dword [ecx + 8]
call fcn.00441cdc
lea eax, [ebp]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
je 0x4257d6
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4257d3
lea ecx, [ecx]
cmp ebx, 0xff
jg 0x4257d0
test byte [ebp], 0x10
je 0x4257b6
call fcn.00431d31
test eax, eax
je 0x425e02
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0x2c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x18]
call fcn.00402800
test al, al
jne 0x4256cc
lea ecx, [ebp + 0x2c]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4256b0
sub ecx, edx
lea eax, [ebp + 0x2c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.004029e0
push ecx
mov byte [ebp - 4], 6
mov edi, esp
mov dword [ebp - 0x64], edi
mov ebx, dword [ebp - 0x18]
add ebx, 0xfffffff0
push ebx
call fcn.00402510
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov edi, dword [ebp - 0x10]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x1a4]
test eax, eax
je 0x425798
mov eax, dword [ebp - 0x14]
lea edi, [eax + 0x8c00]
inc eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x2c]
push eax
push edi
push 0
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2c]
push eax
push dword [ecx + 0x218]
lea ecx, [ecx + 0x210]
call fcn.00441d2d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x178]
lea ecx, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x425766
test dx, dx
je 0x425762
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x425766
add eax, 4
add ecx, 4
test dx, dx
jne 0x425740
xor eax, eax
jmp 0x42576b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x425779
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x10]
push dword [eax + 0x17c]
lea eax, [ebp + 0x2c]
push eax
call fcn.0044dba1
add esp, 8
test eax, eax
je 0x425795
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x4257b1
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
jmp 0x4257b9
mov edi, dword [ebp - 0x10]
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x425660
jmp 0x4257d3
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [edi + 0x188]
test eax, eax
je 0x425e02
lea ebx, [edi + 0x178]
mov edi, dword [ebx]
mov ecx, edi
mov dword [ebp - 0x14], ebx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x42581e
test dx, dx
je 0x42581a
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42581e
add ecx, 4
add eax, 4
test dx, dx
jne 0x4257f8
xor eax, eax
jmp 0x425823
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4259f5
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x218]
call fcn.00452f0d
dec edi
xor edx, edx
div edi
add edx, 1
js 0x425e20
mov eax, dword [ebp - 0x10]
cmp edx, dword [eax + 0x218]
jge 0x425e20
mov eax, dword [eax + 0x214]
mov eax, dword [eax + edx*4]
sub eax, 0x10
push eax
call fcn.00402510
mov edi, eax
add esp, 4
lea ecx, [edi + 0x10]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 7
mov ebx, dword [ebx]
sub ebx, 0x10
cmp edi, ebx
je 0x4258cc
cmp dword [ebx + 0xc], 0
jl 0x4258bc
mov eax, dword [edi]
cmp eax, dword [ebx]
jne 0x4258bc
push edi
call fcn.00402510
add esp, 4
mov dword [ebp - 0x24], eax
or ecx, 0xffffffff
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4258b2
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebx], eax
jmp 0x4258cf
push dword [ecx - 0xc]
mov ebx, dword [ebp - 0x14]
push ecx
mov ecx, ebx
call fcn.004029e0
jmp 0x4258cf
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4258e8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
lea eax, [ebp - 0x18]
push 0x475c18
push eax
call fcn.00419b70
push 0x475c20
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 8
push eax
call fcn.00419d00
add esp, 0x18
mov ebx, dword [ebp - 0x48]
mov byte [ebp - 4], 9
mov ecx, dword [eax]
mov edi, dword [ebx]
sub edi, 0x10
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x42596c
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x42595e
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x42595e
push edx
call fcn.00402510
add esp, 4
mov dword [ebp - 0x24], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x425954
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x48]
add eax, 0x10
mov dword [ebx], eax
jmp 0x42596c
push dword [ecx - 0xc]
mov ebx, dword [ebp - 0x48]
push ecx
mov ecx, ebx
call fcn.004029e0
mov byte [ebp - 4], 8
or edi, 0xffffffff
mov edx, dword [ebp - 0x34]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42598d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4259ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
push dword [ebp - 0x30]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x20], 0x8c00
push eax
call fcn.00419e90
add esp, 0xc
push dword [eax]
push 0x8c00
push 0
push 0x8c00
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov edx, dword [ebp - 0x30]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425a5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x425a5c
cmp dword [ebp - 0x34], 0
jne 0x425a5c
mov eax, dword [ebp - 0x24]
add edi, 0xfffffff0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x17c]
lea edx, [ecx - 0x10]
cmp edx, edi
je 0x425a5c
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x425a50
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x425a50
push edx
call fcn.00402510
add esp, 4
mov dword [ebp - 0x30], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x425a46
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebx], eax
jmp 0x425a5c
push dword [ecx - 0xc]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.004029e0
mov dword [ebp - 0x44], vtable.CMenu.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], vtable.CMenu.0
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x20]
mov byte [ebp - 4], 0xb
mov eax, dword [ecx + 0x218]
add eax, 0x8c00
push eax
push 0x8c00
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
lea ecx, [ebp - 0x2c]
call fcn.0043de15
mov ebx, dword [sym.imp.USER32.dll_GetSubMenu]
push 5
push dword [ebp - 0x50]
call ebx
push eax
call fcn.0043de3f
test eax, eax
je 0x425ac0
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0043dd97
push 0
push dword [ebp - 0x28]
call ebx
push eax
call fcn.0043de3f
test eax, eax
je 0x425add
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x44]
call fcn.0043dd97
mov edi, dword [sym.imp.USER32.dll_RemoveMenu]
push 0x400
push 0
push dword [ebp - 0x40]
call edi
push 1
push dword [ebp - 0x28]
call ebx
push eax
call fcn.0043de3f
test eax, eax
je 0x425b0c
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0043dd97
push 0x400
push 0
push dword [ebp - 0x38]
call edi
mov eax, dword [ebp - 0x10]
push dword [eax + 0x190]
lea eax, [ebp - 0x58]
push str._s.lang
push eax
call fcn.00408d30
mov edi, dword [ebp - 0x58]
lea eax, [ebp]
add esp, 0xc
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x425cbc
mov esi, eax
lea esp, [esp]
cmp dword [ebp], 0x10
je 0x425c9e
inc dword [ebp - 0x1c]
add ebx, 0x8d00
call fcn.00431d31
mov ecx, eax
test ecx, ecx
je 0x425e02
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 + 0x190]
lea eax, [ebp - 0x14]
push str._s_s
push eax
call fcn.00408d30
add esp, 0x10
lea eax, [ebp + 0x250]
mov edx, str.LANGUAGE
push dword [ebp - 0x14]
push ecx
push eax
push 0x4753f0
mov ecx, 0x476978
call fcn.0042b5c0
lea eax, [ebp + 0x2c]
push 0x2e
push eax
call fcn.0044dafe
add esp, 0x18
test eax, eax
je 0x425be5
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.00408d30
mov eax, dword [ebp + 0x2c]
add esp, 0x10
mov esi, dword [ebp - 0x14]
add eax, 0xffffffbf
push esi
push ebx
push 0
cmp ax, 0xd
ja 0x425c19
push dword [ebp - 0x40]
jmp 0x425c1c
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_AppendMenuW]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x2c]
add ecx, 0x224
push eax
push dword [ecx + 8]
call fcn.00441d2d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x194]
lea ecx, [ebp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x425c69
test dx, dx
je 0x425c65
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x425c69
add eax, 4
add ecx, 4
test dx, dx
jne 0x425c43
xor eax, eax
jmp 0x425c6e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x425c7c
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x5c], 1
mov byte [ebp - 4], 0xb
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425c98
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
lea eax, [ebp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x425cb9
cmp ebx, 0xff
jle 0x425b60
mov esi, dword [ebp - 0x60]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x10]
mov ebx, dword [sym.imp.USER32.dll_CheckMenuRadioItem]
push 0
push dword [ebp - 0x20]
mov eax, dword [eax + 0x22c]
add eax, 0x8d00
push eax
push 0x8d00
push dword [ebp - 0x40]
call ebx
mov ecx, dword [ebp - 0x10]
push 0
push dword [ebp - 0x20]
mov eax, dword [ecx + 0x22c]
add eax, 0x8d00
push eax
push 0x8d00
push dword [ebp - 0x38]
call ebx
lea ecx, [ebp - 0x3c]
call fcn.0043de15
lea ecx, [ebp - 0x44]
call fcn.0043de15
lea ecx, [ebp - 0x2c]
call fcn.0043de15
lea ecx, [ebp - 0x54]
call fcn.0043de15
cmp dword [ebp - 0x5c], 0
jne 0x425d3b
push 0
push 0
push str.FATAL_ERROR:_Missing_Language_Files__
call fcn.00439d22
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.CMenu.0
call fcn.0043ddff
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], vtable.CMenu.0
call fcn.0043ddff
or ebx, 0xffffffff
mov byte [ebp - 4], 3
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x425d7f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x425d9a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x425db6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], vtable.CMenu.0
call fcn.0043ddff
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], vtable.CMenu.0
call fcn.0043ddff
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.0044c3da
lea esp, [ebp + 0x454]
pop ebp
ret
push 0x80004005
call fcn.00402eb0
push 0x80004005
call fcn.00402eb0
push 0x80004005
call fcn.00402eb0
call fcn.00431877
int3