Function at 0x4cf180
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3f78
push eax
mov eax, 0x2114
mov dword fs:[0], esp
call fcn.004ace40
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x20], ecx
jne 0x4cf1b9
or eax, 0xffffffff
jmp 0x4cfcb4
cmp dword [ebp + 0xc], ebx
jge 0x4cf1c6
or eax, 0xffffffff
jmp 0x4cfcb4
mov al, byte [ebp + 0x13]
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x40], al
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x4a2]
mov word [ebp - 0x4a4], bx
rep stosd dword es:[edi], eax
push esi
push 0x4f6574
lea ecx, [ebp - 0x4a4]
push 0x103
push ecx
mov dword [ebp - 4], ebx
stosw word es:[edi], ax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
lea edx, [ebp - 0x4a4]
push edx
call edi
add esp, 0x14
cmp word [ebp + eax*2 - 0x4a6], 0x5c
jne 0x4cf239
lea eax, [ebp - 0x4a4]
push eax
call edi
add esp, 4
mov word [ebp + eax*2 - 0x4a6], bx
lea ecx, [ebp - 0x40]
lea edx, [ebp - 0x4a4]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
call fcn.004caa00
cmp eax, ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], eax
jg 0x4cf25d
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x4cf269
mov dword [ebp - 0x24], ebx
jmp 0x4cf282
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov eax, 0x7d8c42b3
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [ebp - 0x24], edx
mov cx, word [0x50fce0]
xor eax, eax
mov word [ebp - 0x10d8], cx
mov ecx, 0x81
lea edi, [ebp - 0x10d6]
push esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x94
xor eax, eax
lea edi, [ebp - 0x29c]
push 0x501490
lea edx, [ebp - 0x10d8]
push 0x104
rep stosd dword es:[edi], eax
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
push 0x4e200
mov dword [ebp - 0x1c], ebx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x14
or esi, 0xffffffff
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x4cf383
lea edx, [eax + 0x48]
mov dword [ebp - 0x2c], 0x64
mov ecx, 0x28b
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0x30e
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0x30e
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [edx - 0x2c]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
lea eax, [edx - 0x1c]
add edx, 0xc80
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x2c]
mov dword [edx - 0xcc8], esi
mov dword [edx - 0xcc4], esi
mov dword [edx - 0xcc0], ebx
mov dword [edx - 0xcb4], ebx
mov dword [edx - 0xcbc], 1
mov dword [edx - 0xcb8], ebx
mov dword [edx - 0xc84], esi
mov dword [edx - 0xc88], esi
mov dword [edx - 0xc8c], esi
mov dword [edx - 0xcb0], ebx
dec eax
mov dword [ebp - 0x2c], eax
jne 0x4cf2f0
mov edi, dword [ebp - 0x30]
jmp 0x4cf385
xor edi, edi
cmp edi, ebx
mov dword [ebp - 0x14], edi
jne 0x4cf39f
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004ace19
add esp, 4
mov eax, esi
jmp 0x4cfcb4
mov ecx, 0x13880
xor eax, eax
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x29c]
lea eax, [ebp - 0x10d8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
mov dword [ebp - 0x48], eax
je 0x4cfc97
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0x4e200
mov dword [ebp - 0x30], 0x63
cmp dword [ebp + 0x24], ebx
je 0x4cf3e3
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x62790], ebx
jne 0x4cfa38
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
inc edx
cmp eax, edx
jge 0x4cf40b
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
lea esi, [ecx + eax]
jmp 0x4cf512
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
add eax, 0x4e200
add esi, 0x64
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4cfa4c
test esi, esi
jl 0x4cf4d1
inc esi
lea edx, [ebx + 0x48]
mov dword [ebp - 0x44], esi
or esi, 0xffffffff
mov ecx, 0x28b
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0x30e
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0x30e
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [edx - 0x2c]
mov dword [edx - 0x2c], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea ecx, [edx - 0x1c]
add edx, 0xc80
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [edx - 0xcc0], eax
mov dword [edx - 0xcb4], eax
mov dword [edx - 0xcb8], eax
mov dword [edx - 0xcb0], eax
mov eax, dword [ebp - 0x44]
mov dword [edx - 0xcc8], esi
mov dword [edx - 0xcc4], esi
mov dword [edx - 0xcbc], 1
mov dword [edx - 0xc84], esi
mov dword [edx - 0xc88], esi
mov dword [edx - 0xc8c], esi
dec eax
mov dword [ebp - 0x44], eax
jne 0x4cf444
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov edx, ecx
mov esi, eax
mov edi, ebx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004ace19
mov eax, dword [ebp - 0x28]
add esp, 4
mov dword [ebp - 0x14], ebx
lea esi, [eax + ebx]
xor ebx, ebx
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [ebp - 0x270]
push 0x4f853c
push ecx
call edi
add esp, 8
test eax, eax
je 0x4cfa1e
lea edx, [ebp - 0x270]
push 0x4f8534
push edx
call edi
add esp, 8
test eax, eax
je 0x4cfa1e
mov al, byte [ebp - 0x29c]
test al, 2
jne 0x4cfa1e
test al, 0x10
je 0x4cf7f2
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jle 0x4cf5c5
xor edi, edi
cmp eax, ebx
jle 0x4cf5cf
xor ebx, ebx
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x270]
lea ecx, [ebx + eax]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4cf5a8
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 1]
cmp edi, eax
jne 0x4cf59b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
inc eax
mov dword [ebp - 0x10], eax
inc edi
add ebx, 0x414
cmp edi, ecx
jl 0x4cf56f
jmp 0x4cf5cf
mov eax, dword [ebp - 0x3c]
mov ecx, edi
shl ecx, 6
add ecx, edi
lea edx, [edi + ecx*4]
mov eax, dword [eax + edx*4 + 0x410]
test eax, eax
jl 0x4cf5c5
mov dword [ebp - 0x18], eax
jmp 0x4cf5cf
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4cf5e3
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x628]
mov dword [esi], ecx
jmp 0x4cf603
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x20]
test eax, eax
je 0x4cf5fb
mov edx, dword [ebx + 0x18]
mov dword [esi], edx
mov eax, dword [ebx + 0x18]
inc eax
mov dword [ebx + 0x18], eax
jmp 0x4cf609
mov eax, dword [ebx + 0x628]
mov dword [esi], eax
inc dword [ebx + 0x628]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x270]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x28]
mov dword [esi + 8], ecx
push eax
push 0x4f6574
lea ecx, [esi + 0x48]
inc edi
add edx, 0xc80
push 0x103
push ecx
mov dword [esi + 4], 2
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov dx, word [0x50fce0]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x8b2]
mov word [ebp - 0x8b4], dx
add esp, 0x10
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x8b4]
stosw word es:[edi], ax
lea eax, [ebp - 0x270]
push eax
push ecx
push 0x4f8500
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebp + 0x14]
add esp, 0x14
test eax, eax
je 0x4cf6c0
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push 0
push 0
push 0
push eax
mov eax, dword [esi]
push ecx
push edx
lea ecx, [ebp - 0x8b4]
push eax
push ecx
mov ecx, ebx
call fcn.004cf180
jmp 0x4cfa1c
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xece]
mov word [ebp - 0xed0], 0
rep stosd dword es:[edi], eax
lea edx, [ebp - 0xed0]
push 0x103
push edx
stosw word es:[edi], ax
call fcn.004c0540
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x6aa]
mov word [ebp - 0x6ac], 0
rep stosd dword es:[edi], eax
add esp, 8
lea ecx, [ebx + 0x3d0]
stosw word es:[edi], ax
lea eax, [ebp - 0xed0]
lea edx, [ebp - 0x6ac]
push eax
push ecx
push 0x4f6608
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0xac0]
add esp, 0x14
rep stosd dword es:[edi], eax
mov dword [ebp - 0x8b8], eax
lea eax, [ebp - 0x8b4]
push eax
push 0x4f6574
lea ecx, [ebp - 0xac0]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov edx, dword [esi]
lea eax, [ebp - 0x6ac]
push 1
push eax
mov dword [ebp - 0x8b8], edx
call fcn.004db580
add esp, 0x18
lea ecx, [ebp - 0x6ac]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4cf7d2
lea edx, [ebp - 0xac0]
lea eax, [ebp - 0x6ac]
push edx
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
lea ecx, [ebp - 0x6ac]
cmp eax, ecx
jne 0x4cf7d2
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi]
push 0
push 0
push 0
push edx
push 1
push eax
lea edx, [ebp - 0x8b4]
push ecx
push edx
mov ecx, ebx
call fcn.004cf180
jmp 0x4cfa1c
mov edx, dword [ebx + 0x62778]
lea ecx, [ebx + 0x62770]
lea eax, [ebp - 0xac0]
push eax
push 1
push edx
call fcn.004d20e0
jmp 0x4cfa1c
lea eax, [ebp - 0x270]
push str..url
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [ebp + eax*2 - 0x278]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x4cfa1e
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jle 0x4cf882
xor edi, edi
cmp eax, ebx
jle 0x4cf88c
xor ebx, ebx
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x270]
lea eax, [ebx + edx]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4cf865
mov ecx, dword [ebp - 0x24]
lea edx, [ecx - 1]
cmp edi, edx
jne 0x4cf858
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
inc eax
mov dword [ebp - 0x10], eax
inc edi
add ebx, 0x414
cmp edi, ecx
jl 0x4cf82c
jmp 0x4cf88c
mov edx, dword [ebp - 0x3c]
mov eax, edi
shl eax, 6
add eax, edi
lea ecx, [edi + eax*4]
mov eax, dword [edx + ecx*4 + 0x410]
test eax, eax
jl 0x4cf882
mov dword [ebp - 0x18], eax
jmp 0x4cf88c
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
cmp eax, ebx
jne 0x4cf8ab
cmp dword [ebp + 0x14], ebx
je 0x4cf8ab
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x18]
mov dword [esi], edx
mov ecx, dword [eax + 0x18]
inc ecx
mov dword [eax + 0x18], ecx
jmp 0x4cf8c3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x628]
mov dword [esi], ecx
mov ecx, dword [eax + 0x628]
inc ecx
mov dword [eax + 0x628], ecx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xcc6]
mov word [ebp - 0xcc8], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x270]
push edx
push eax
push 0x4f6608
lea ecx, [ebp - 0xcc8]
push 0x103
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea edx, [ebp - 0xcc8]
push edx
push ebx
push str.BEST
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esi + 0x14], eax
mov ecx, 0x411
xor eax, eax
lea edi, [ebp - 0x211e]
mov word [ebp - 0x2120], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xcc8]
lea ecx, [ebp - 0x2120]
push eax
push 0x824
push ecx
push 0x50fce0
push 0x509620
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x2120]
test edx, edx
jne 0x4cf969
xor edi, edi
jmp 0x4cf9a4
lea eax, [ebp - 0x2120]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [eax + eax + 2]
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.004ace40
mov edi, esp
push 0
push 0
push ebx
push edi
lea ecx, [ebp - 0x2120]
push 0xffffffffffffffff
push ecx
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
push 0x4f7528
lea edx, [esi + 0x250]
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x10
inc eax
lea edx, [ebp - 0x270]
mov dword [ebp - 0x1c], eax
push edx
lea eax, [ebp - 0x270]
add ebx, 0xc80
push 0x4f6574
push eax
mov dword [esi + 4], 1
mov dword [esi + 0xc], ecx
mov dword [ebp - 0x28], ebx
call edi
push str..url
mov ebx, eax
call edi
add esp, 8
sub ebx, eax
add esi, 0x48
push ebx
push esi
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
xor ebx, ebx
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x29c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4cfa69
jmp 0x4cf3d8
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004ace19
add esp, 4
or eax, 0xffffffff
jmp 0x4cfcb4
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ace19
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004ace19
add esp, 8
or eax, 0xffffffff
jmp 0x4cfcb4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
jle 0x4cfc97
lea edx, [ebp + 0x14]
mov dword [ebp + 0x14], ebx
push edx
call fcn.004c0670
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
add esp, 4
cmp ecx, eax
jle 0x4cfacb
cmp dword [ebp + 0x14], ebx
je 0x4cfa9d
cmp eax, ebx
jne 0x4cfacb
mov edi, dword [ebp - 0x14]
push 0x4c0a00
push 0xc80
push esi
push edi
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
xor eax, eax
cmp esi, ebx
jle 0x4cfacb
lea ecx, [edi + 0xc]
inc eax
mov dword [ecx], eax
add ecx, 0xc80
cmp eax, esi
jl 0x4cfabe
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
lea edx, [eax + esi]
mov esi, dword [ecx + 4]
cmp esi, edx
jle 0x4cfb19
mov edx, dword [ebp - 0x1c]
lea eax, [eax + eax*4]
mov esi, dword [ebp - 0x14]
lea ecx, [edx + edx*4]
lea edi, [eax + eax*4]
mov eax, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov ebx, dword [eax]
shl edi, 7
shl ecx, 7
add edi, ebx
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax + 8]
add esi, edx
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x14]
push eax
jmp 0x4cfc9b
mov eax, 0x64
mov edi, dword [ecx + 4]
add edi, eax
mov esi, edi
mov dword [ecx + 4], edi
cmp esi, edx
jle 0x4cfb1e
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx + 4]
lea eax, [esi + esi*4]
lea edx, [eax + eax*4]
shl edx, 7
push edx
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4cfc7d
lea eax, [esi - 1]
test eax, eax
jl 0x4cfbf0
inc eax
lea edx, [ebx + 0x48]
mov dword [ebp + 8], eax
or esi, 0xffffffff
mov ecx, 0x28b
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0x30e
mov edi, edx
rep stosd dword es:[edi], eax
mov ecx, 0x30e
mov edi, edx
rep stosd dword es:[edi], eax
lea ecx, [edx - 0x2c]
mov dword [edx - 0x2c], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
lea ecx, [edx - 0x1c]
add edx, 0xc80
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [edx - 0xcc0], eax
mov dword [edx - 0xcb4], eax
mov dword [edx - 0xcb8], eax
mov dword [edx - 0xcb0], eax
mov eax, dword [ebp + 8]
mov dword [edx - 0xcc8], esi
mov dword [edx - 0xcc4], esi
mov dword [edx - 0xcbc], 1
mov dword [edx - 0xc84], esi
mov dword [edx - 0xc88], esi
mov dword [edx - 0xc8c], esi
dec eax
mov dword [ebp + 8], eax
jne 0x4cfb63
mov edx, dword [ebp + 0x10]
mov edi, ebx
mov eax, dword [edx + 4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 7
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [edx + 8]
mov esi, dword [edx]
mov edi, ebx
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 7
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [edx]
push ecx
call fcn.004ace19
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
lea eax, [eax + eax*4]
mov dword [edi], ebx
mov esi, edx
push edx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 8]
shl ecx, 7
lea eax, [eax + eax*4]
lea edi, [eax + eax*4]
mov eax, ecx
shl edi, 7
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004ace19
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
add esp, 8
add dword [eax + 8], ecx
jmp 0x4cfca3
mov edx, dword [ebp - 0x14]
push edx
call fcn.004ace19
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004ace19
add esp, 8
or eax, 0xffffffff
jmp 0x4cfcb4
mov edx, dword [ebp - 0x14]
push edx
call fcn.004ace19
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004ace19
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x212c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20