Function at 0x4dd630
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 0x4fbea8
push eax
mov eax, 0x2114
mov dword fs:[0], esp
call fcn.004ba380
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x20], ecx
jne 0x4dd669
or eax, 0xffffffff
jmp 0x4de164
cmp dword [ebp + 0xc], ebx
jge 0x4dd676
or eax, 0xffffffff
jmp 0x4de164
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 0x50f4e4
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 0x4dd6e9
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.004d8c20
cmp eax, ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], eax
jg 0x4dd70d
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
jne 0x4dd719
mov dword [ebp - 0x24], ebx
jmp 0x4dd732
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 [0x52a480]
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 str._s.
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 0x4dd833
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 0x4dd7a0
mov edi, dword [ebp - 0x30]
jmp 0x4dd835
xor edi, edi
cmp edi, ebx
mov dword [ebp - 0x14], edi
jne 0x4dd84f
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004ba355
add esp, 4
mov eax, esi
jmp 0x4de164
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 0x4de147
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], 0x4e200
mov dword [ebp - 0x30], 0x63
cmp dword [ebp + 0x24], ebx
je 0x4dd893
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x6278c], ebx
jne 0x4ddee8
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
inc edx
cmp eax, edx
jge 0x4dd8bb
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
lea esi, [ecx + eax]
jmp 0x4dd9c2
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 0x4ddefc
test esi, esi
jl 0x4dd981
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 0x4dd8f4
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.004ba355
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 0x511698
push ecx
call edi
add esp, 8
test eax, eax
je 0x4ddece
lea edx, [ebp - 0x270]
push 0x511690
push edx
call edi
add esp, 8
test eax, eax
je 0x4ddece
mov al, byte [ebp - 0x29c]
test al, 2
jne 0x4ddece
test al, 0x10
je 0x4ddca2
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jle 0x4dda75
xor edi, edi
cmp eax, ebx
jle 0x4dda7f
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 0x4dda58
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 1]
cmp edi, eax
jne 0x4dda4b
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 0x4dda1f
jmp 0x4dda7f
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 0x4dda75
mov dword [ebp - 0x18], eax
jmp 0x4dda7f
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 0x4dda93
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x624]
mov dword [esi], ecx
jmp 0x4ddab3
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x20]
test eax, eax
je 0x4ddaab
mov edx, dword [ebx + 0x18]
mov dword [esi], edx
mov eax, dword [ebx + 0x18]
inc eax
mov dword [ebx + 0x18], eax
jmp 0x4ddab9
mov eax, dword [ebx + 0x624]
mov dword [esi], eax
inc dword [ebx + 0x624]
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 0x50f4e4
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 [0x52a480]
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 0x50fa9c
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebp + 0x14]
add esp, 0x14
test eax, eax
je 0x4ddb70
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.004dd630
jmp 0x4ddecc
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.004ce550
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 0x50f5ec
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 0x50f4e4
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.004f1940
add esp, 0x18
lea ecx, [ebp - 0x6ac]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4ddc82
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 0x4ddc82
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.004dd630
jmp 0x4ddecc
mov edx, dword [ebx + 0x62774]
lea ecx, [ebx + 0x6276c]
lea eax, [ebp - 0xac0]
push eax
push 1
push edx
call fcn.004e0bb0
jmp 0x4ddecc
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 0x4ddece
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jle 0x4ddd32
xor edi, edi
cmp eax, ebx
jle 0x4ddd3c
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 0x4ddd15
mov ecx, dword [ebp - 0x24]
lea edx, [ecx - 1]
cmp edi, edx
jne 0x4ddd08
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 0x4ddcdc
jmp 0x4ddd3c
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 0x4ddd32
mov dword [ebp - 0x18], eax
jmp 0x4ddd3c
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 0x4ddd5b
cmp dword [ebp + 0x14], ebx
je 0x4ddd5b
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 0x4ddd73
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x624]
mov dword [esi], ecx
mov ecx, dword [eax + 0x624]
inc ecx
mov dword [eax + 0x624], 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 0x50f5ec
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 0x52a480
push 0x5236c0
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x2120]
test edx, edx
jne 0x4dde19
xor edi, edi
jmp 0x4dde54
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.004ba380
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 0x510594
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 0x50f4e4
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 0x4ddf19
jmp 0x4dd888
mov edx, dword [ebp - 0x3c]
push edx
call fcn.004ba355
add esp, 4
or eax, 0xffffffff
jmp 0x4de164
mov eax, dword [ebp - 0x14]
push eax
call fcn.004ba355
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004ba355
add esp, 8
or eax, 0xffffffff
jmp 0x4de164
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [ebp - 0x1c]
cmp esi, ebx
jle 0x4de147
lea edx, [ebp + 0x14]
mov dword [ebp + 0x14], ebx
push edx
call fcn.004ce6a0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
add esp, 4
cmp ecx, eax
jle 0x4ddf7b
cmp dword [ebp + 0x14], ebx
je 0x4ddf4d
cmp eax, ebx
jne 0x4ddf7b
mov edi, dword [ebp - 0x14]
push 0x4cea30
push 0xc80
push esi
push edi
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
xor eax, eax
cmp esi, ebx
jle 0x4ddf7b
lea ecx, [edi + 0xc]
inc eax
mov dword [ecx], eax
add ecx, 0xc80
cmp eax, esi
jl 0x4ddf6e
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
lea edx, [eax + esi]
mov esi, dword [ecx + 4]
cmp esi, edx
jle 0x4ddfc9
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 0x4de14b
mov eax, 0x64
mov edi, dword [ecx + 4]
add edi, eax
mov esi, edi
mov dword [ecx + 4], edi
cmp esi, edx
jle 0x4ddfce
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 0x4de12d
lea eax, [esi - 1]
test eax, eax
jl 0x4de0a0
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 0x4de013
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.004ba355
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.004ba355
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
add esp, 8
add dword [eax + 8], ecx
jmp 0x4de153
mov edx, dword [ebp - 0x14]
push edx
call fcn.004ba355
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004ba355
add esp, 8
or eax, 0xffffffff
jmp 0x4de164
mov edx, dword [ebp - 0x14]
push edx
call fcn.004ba355
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
call fcn.004ba355
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