Function at 0x4250e0
Capabilities:
Enumerate files on windows
Identify system language via api
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6d4
mov eax, dword [0x534014]
xor eax, esp
mov dword [esp + 0x6d0], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], 0x53a358
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0x53a350
mov dword [esp + 0x18], 0x60
push ebx
push esi
push edi
test ecx, ecx
je 0x425743
cmp word [ecx], 0
je 0x425743
test edx, edx
je 0x425743
cmp word [edx], 0
je 0x425743
push 0xffffffffffffffff
push ecx
lea eax, [esp + 0x4d8]
mov dword [0x53a350], 0
push 0x104
push eax
call fcn.0043e68d
add esp, 0x10
test eax, eax
jne 0x425729
lea ecx, [esp + 0x4d0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425181
sub ecx, edx
sar ecx, 1
cmp word [esp + ecx*2 + 0x4ce], 0x5c
je 0x4251bf
push 0xffffffffffffffff
push 0x41d490
lea eax, [esp + 0x4d8]
push 0x104
push eax
call fcn.0043cf0f
add esp, 0x10
test eax, eax
jne 0x425729
lea eax, [esp + 0x4d0]
mov dword [esp + 0x10], 0x80070002
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x2b0], eax
mov dword [esp + 0x2b4], eax
mov dword [esp + 0x2b8], eax
lea eax, [esp + 0x2b0]
push 6
push eax
push 0x41d494
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x42525a
cmp eax, 6
jae 0x42525a
lea eax, [esp + 0x10]
push eax
push 0xa
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x48]
call fcn.00425770
cmp dword [esp + 0x10], 0
je 0x4253d0
mov eax, dword [0x53a330]
mov edi, dword [sym.imp.KERNEL32.dll_DecodePointer]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x42529a
push 0x41d4a4
call ebx
test eax, eax
je 0x4253e7
push 0x41d4c0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x53a330], eax
jmp 0x42529f
push eax
call edi
mov esi, eax
test esi, esi
je 0x4253e7
push 0
push 0
push 0x41d4e0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x4252cb
push eax
push eax
push 0x100
call esi
test eax, eax
je 0x425729
mov eax, dword [0x53a348]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
test eax, eax
jne 0x42530f
push 0x41d4a4
call ebx
test eax, eax
je 0x425478
push 0x41d504
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_EncodePointer]
mov dword [0x53a348], eax
jmp 0x425314
push eax
call edi
mov esi, eax
test esi, esi
je 0x425478
lea eax, [esp + 0x18]
push eax
push 0
lea eax, [esp + 0x24]
push eax
push 0x34
call esi
test eax, eax
je 0x425729
mov eax, dword [esp + 0x18]
add eax, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
jne 0x42536a
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x18]
push eax
push ebx
lea eax, [esp + 0x24]
push eax
push 0x34
call esi
test eax, eax
je 0x425729
cmp word [ebx], 0
mov esi, ebx
je 0x4253b4
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
push 0x10
push esi
lea ecx, [esp + 0x48]
call fcn.00425770
mov edi, dword [esp + 0x10]
test edi, edi
je 0x4253b8
add esi, 0xa
cmp word [esi], 0
jne 0x425390
jmp 0x4253b8
mov edi, dword [esp + 0x10]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test edi, edi
jne 0x425478
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, 1
je 0x425404
cmp cx, 0xd
jne 0x425409
mov eax, 0x409
mov word [esp + 0x2a8], ax
and eax, 0x3ff
or eax, 0x400
xor esi, esi
mov word [esp + 0x2aa], ax
mov eax, 0x409
mov word [esp + 0x2ac], ax
push 0xa
push 6
lea eax, [esp + 0x2c4]
push eax
movzx eax, word [esp + esi*2 + 0x2b4]
push eax
call fcn.0043d03f
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
push 0xa
lea eax, [esp + 0x2c4]
push eax
call fcn.00425770
cmp dword [esp + 0x10], 0
je 0x4253d0
inc esi
cmp esi, 3
jb 0x425432
lea eax, [esp + 0x10]
push eax
push 0xa
push 0x41d524
lea ecx, [esp + 0x48]
call fcn.00425770
cmp dword [esp + 0x10], 0
je 0x4253d0
push 0xffffffffffffffff
lea eax, [esp + 0x4d4]
push eax
lea eax, [esp + 0x2d0]
push 0x104
push eax
call fcn.0043e68d
add esp, 0x10
test eax, eax
jne 0x42570f
push 0xffffffffffffffff
push 0x41d530
lea eax, [esp + 0x2d0]
push 0x104
push eax
call fcn.0043cf0f
add esp, 0x10
test eax, eax
jne 0x42570f
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x2cc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x425528
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x425748
movzx eax, ax
or eax, 0x80070000
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
lea esi, [esp + 0x4d0]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x425532
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [esp + 0x58]
push eax
sub esi, ecx
push edi
sar esi, 1
call ebx
test eax, eax
je 0x4256b6
jmp 0x425560
test byte [esp + 0x58], 0x10
je 0x4256a6
mov ecx, 0x41d534
lea eax, [esp + 0x84]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42559d
test dx, dx
je 0x425599
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42559d
add eax, 4
add ecx, 4
test dx, dx
jne 0x425577
xor eax, eax
jmp 0x4255a2
sbb eax, eax
or eax, 1
test eax, eax
je 0x4256a6
mov ecx, 0x41d538
lea eax, [esp + 0x84]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4255dc
test dx, dx
je 0x4255d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4255dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4255b6
xor eax, eax
jmp 0x4255e1
sbb eax, eax
or eax, 1
test eax, eax
je 0x4256a6
push 1
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x90]
push 0x41d540
push eax
call fcn.004250b0
add esp, 0x14
cmp eax, 0xffffffff
je 0x4256a6
lea eax, [esi + esi]
cmp eax, 0x208
jae 0x42575d
xor ecx, ecx
mov word [esp + eax + 0x2c8], cx
lea eax, [esp + 0x84]
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x2d0]
push 0x104
push eax
call fcn.0043cf0f
add esp, 0x10
test eax, eax
jne 0x4256a6
push 0xffffffffffffffff
push 0x41d490
lea eax, [esp + 0x2d0]
push 0x104
push eax
call fcn.0043cf0f
add esp, 0x10
test eax, eax
jne 0x4256a6
push 0xffffffffffffffff
push dword [esp + 0x24]
lea eax, [esp + 0x2d0]
push 0x104
push eax
call fcn.0043cf0f
add esp, 0x10
test eax, eax
jne 0x4256a6
push dword [esp + 0x24]
push eax
lea eax, [esp + 0x2d0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, eax
test ecx, ecx
jne 0x4256d8
lea eax, [esp + 0x58]
push eax
push edi
call ebx
test eax, eax
jne 0x425560
mov esi, dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4256ee
mov ax, word [esp + 0x14]
mov word [ecx], ax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x42570b
lea ecx, [esp + 0x2c8]
push ecx
push dword [esp + 0x38]
push eax
call fcn.0043d072
add esp, 0xc
xor esi, esi
jmp 0x4256ba
mov eax, 0x80070003
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
mov eax, 0x80070057
mov ecx, dword [esp + 0x6dc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00426f36
mov esp, ebp
pop ebp
ret
call fcn.0042706c
int3