Function at 0x4bd660
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 0x4d2578
push eax
mov eax, 0x2114
mov dword fs:[0], esp
call fcn.0049bb40
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0x20], ecx
jne 0x4bd699
or eax, 0xffffffff
jmp 0x4be17f
cmp dword [ebp + 0xc], ebx
jge 0x4bd6a6
or eax, 0xffffffff
jmp 0x4be17f
mov al, byte [ebp + 0x13]
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x44], al
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], 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 0x4e33c0
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 0x4bd719
lea eax, [ebp - 0x4a4]
push eax
call edi
add esp, 4
mov word [ebp + eax*2 - 0x4a6], bx
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x4a4]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
call fcn.004b9370
cmp eax, ebx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], eax
jg 0x4bd73d
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x40]
cmp eax, ebx
jne 0x4bd749
mov dword [ebp - 0x24], ebx
jmp 0x4bd762
mov ecx, dword [ebp - 0x3c]
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 [0x4f5820]
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 0x4edce8
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 - 0x14], 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 0x4bd865
lea edx, [eax + 0x48]
mov dword [ebp - 0x2c], 0x64
mov ecx, 0x28b
xor eax, eax
mov edi, edx
or esi, 0xffffffff
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 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 0x4bd7d0
mov edi, dword [ebp - 0x30]
jmp 0x4bd867
xor edi, edi
cmp edi, ebx
mov dword [ebp - 0x18], edi
jne 0x4bd881
mov edx, dword [ebp - 0x40]
push edx
call fcn.0049bb1b
add esp, 4
mov eax, esi
jmp 0x4be17f
mov ecx, 0x13880
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x29c]
lea ecx, [ebp - 0x10d8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, esi
mov dword [ebp - 0x48], eax
je 0x4be162
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0x4e200
mov dword [ebp - 0x34], 0x63
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x4bd8cb
call dword [sym.imp.KERNEL32.dll_SwitchToThread]
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x62790]
test eax, eax
jne 0x4bdf21
mov eax, dword [ebp - 0x34]
inc eax
cmp ebx, eax
jge 0x4bd8f2
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
lea esi, [edx + ecx]
jmp 0x4bd9fa
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x34]
add eax, 0x4e200
add esi, 0x64
push eax
mov dword [ebp - 0x34], 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 0x4bdf35
test esi, esi
jl 0x4bd9b8
inc esi
lea edx, [ebx + 0x48]
mov dword [ebp - 0x30], 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 - 0x30]
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 - 0x30], eax
jne 0x4bd92b
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 - 0x18]
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.0049bb1b
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], ebx
add esp, 4
lea esi, [eax + ebx]
mov ebx, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea ecx, [ebp - 0x270]
push 0x4e51d4
push ecx
call edi
add esp, 8
test eax, eax
je 0x4bdf07
lea edx, [ebp - 0x270]
push 0x4e51cc
push edx
call edi
add esp, 8
test eax, eax
je 0x4bdf07
mov al, byte [ebp - 0x29c]
test al, 2
jne 0x4bdf07
test al, 0x10
je 0x4bdcda
mov eax, dword [ebp - 0x24]
test eax, eax
jle 0x4bdaad
xor edi, edi
test eax, eax
jle 0x4bdab7
xor ebx, ebx
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x270]
lea ecx, [ebx + eax]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4bda90
mov ecx, dword [ebp - 0x24]
lea eax, [ecx - 1]
cmp edi, eax
jne 0x4bda83
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
inc eax
mov dword [ebp - 0x10], eax
inc edi
add ebx, 0x414
cmp edi, ecx
jl 0x4bda57
jmp 0x4bdab7
mov eax, dword [ebp - 0x40]
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 0x4bdaad
mov dword [ebp - 0x1c], eax
jmp 0x4bdab7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4bdacb
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x628]
mov dword [esi], ecx
jmp 0x4bdaeb
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x20]
test eax, eax
je 0x4bdae3
mov edx, dword [ebx + 0x18]
mov dword [esi], edx
mov eax, dword [ebx + 0x18]
inc eax
mov dword [ebx + 0x18], eax
jmp 0x4bdaf1
mov eax, dword [ebx + 0x628]
mov dword [esi], eax
inc dword [ebx + 0x628]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x270]
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 0x28]
mov dword [esi + 8], ecx
push eax
push 0x4e33c0
lea ecx, [esi + 0x48]
inc edi
add edx, 0xc80
push 0x103
push ecx
mov dword [esi + 4], 2
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x28], edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov dx, word [0x4f5820]
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 0x4e5198
push 0x103
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov eax, dword [ebp + 0x14]
add esp, 0x14
test eax, eax
je 0x4bdba8
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.004bd660
jmp 0x4bdf04
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.004af130
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 0x4e37b8
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 0x4e33c0
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.004ca180
add esp, 0x18
lea ecx, [ebp - 0x6ac]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x4bdcba
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 0x4bdcba
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.004bd660
jmp 0x4bdf04
mov edx, dword [ebx + 0x62778]
lea ecx, [ebx + 0x62770]
lea eax, [ebp - 0xac0]
push eax
push 1
push edx
call fcn.004c0ca0
jmp 0x4bdf04
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 0x4bdf07
mov eax, dword [ebp - 0x24]
test eax, eax
jle 0x4bdd6a
xor edi, edi
test eax, eax
jle 0x4bdd74
xor ebx, ebx
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x270]
lea eax, [ebx + edx]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x4bdd4d
mov ecx, dword [ebp - 0x24]
lea edx, [ecx - 1]
cmp edi, edx
jne 0x4bdd40
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
inc eax
mov dword [ebp - 0x10], eax
inc edi
add ebx, 0x414
cmp edi, ecx
jl 0x4bdd14
jmp 0x4bdd74
mov edx, dword [ebp - 0x40]
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 0x4bdd6a
mov dword [ebp - 0x1c], eax
jmp 0x4bdd74
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
cmp eax, ebx
jne 0x4bdd93
cmp dword [ebp + 0x14], ebx
je 0x4bdd93
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 0x4bddab
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 0x4e37b8
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 0x4f5820
push 0x4ef740
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x2120]
test edx, edx
jne 0x4bde51
xor edi, edi
jmp 0x4bde8c
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.0049bb40
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 0x4e4204
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 - 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 0x10
inc eax
lea edx, [ebp - 0x270]
mov dword [ebp - 0x14], eax
push edx
lea eax, [ebp - 0x270]
add ebx, 0xc80
push 0x4e33c0
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
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x29c]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x4bdf52
jmp 0x4bd8be
mov edx, dword [ebp - 0x40]
push edx
call fcn.0049bb1b
add esp, 4
or eax, 0xffffffff
jmp 0x4be17f
mov eax, dword [ebp - 0x18]
push eax
call fcn.0049bb1b
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0049bb1b
add esp, 8
or eax, 0xffffffff
jmp 0x4be17f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jle 0x4be162
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x10]
cmp eax, edx
jle 0x4bdf99
mov esi, dword [ebp - 0x18]
push 0x4af5b0
push 0xc80
push ebx
push esi
call dword [sym.imp.MSVCRT.dll_qsort]
add esp, 0x10
xor eax, eax
test ebx, ebx
jle 0x4bdf99
lea ecx, [esi + 0xc]
inc eax
mov dword [ecx], eax
add ecx, 0xc80
cmp eax, ebx
jl 0x4bdf8c
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 4]
lea edx, [eax + ebx]
cmp esi, edx
jle 0x4bdfe4
lea eax, [eax + eax*4]
lea ecx, [ebx + ebx*4]
mov esi, dword [ebp - 0x18]
lea edi, [eax + eax*4]
mov eax, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
mov edx, dword [eax]
shl edi, 7
shl ecx, 7
add edi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [eax + 8]
add edx, ebx
mov dword [eax + 8], edx
mov eax, dword [ebp - 0x18]
push eax
jmp 0x4be166
mov eax, 0x64
mov edi, dword [ecx + 4]
add edi, eax
mov esi, edi
mov dword [ecx + 4], edi
cmp esi, edx
jle 0x4bdfe9
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 0x4be148
lea eax, [esi - 1]
test eax, eax
jl 0x4be0bb
inc eax
lea edx, [ebx + 0x48]
mov dword [ebp + 0x14], 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 + 0x14]
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 + 0x14], eax
jne 0x4be02e
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.0049bb1b
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
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.0049bb1b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
add esp, 8
add dword [eax + 8], ecx
jmp 0x4be16e
mov edx, dword [ebp - 0x18]
push edx
call fcn.0049bb1b
mov eax, dword [ebp - 0x40]
push eax
call fcn.0049bb1b
add esp, 8
or eax, 0xffffffff
jmp 0x4be17f
mov edx, dword [ebp - 0x18]
push edx
call fcn.0049bb1b
add esp, 4
mov eax, dword [ebp - 0x40]
push eax
call fcn.0049bb1b
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