Function at 0x45b604
Capabilities:
Check for software breakpoints
Check if file exists
Delete file
Get file attributes
Get file size
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffb6c
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
test esi, esi
je 0x45c36c
cmp byte [esi + 0x50], 0
je 0x45c36c
lea eax, [ebp - 0x144]
push eax
lea edx, [esi + 0x50]
push edx
call fcn.0045b314
add esp, 8
cmp dword [0x4d3b74], 0
je 0x45b6c1
lea ecx, [ebp - 0x144]
push ecx
call sub.KERNEL32.DLL_GetFileAttributesA
cmp eax, 0xffffffff
je 0x45b6c1
push 0
lea eax, [ebp - 0x448]
push eax
lea edx, [ebp - 0x348]
push edx
lea ecx, [ebp - 0x1f]
push ecx
lea eax, [ebp - 0x144]
push eax
call fcn.004a51bc
add esp, 0x14
lea edx, [ebp - 0x448]
lea ecx, [ebp - 0x348]
lea eax, [ebp - 0x1f]
push 0x4bbae4
push edx
push ecx
push eax
lea edx, [ebp - 0x248]
push edx
call fcn.004a5198
add esp, 0x14
lea ecx, [ebp - 0x248]
push ecx
call sub.KERNEL32.DLL_DeleteFileA
lea eax, [ebp - 0x248]
push eax
lea edx, [ebp - 0x144]
push edx
call sub.KERNEL32.DLL_MoveFileA
mov ecx, dword [esi]
cmp ecx, dword [0x4d7364]
sete al
and eax, 1
mov edi, eax
test edi, edi
je 0x45b6de
cmp dword [0x4d77dc], 0
jne 0x45b6e2
xor eax, eax
jmp 0x45b6e7
mov eax, 1
mov dword [ebp - 0x10], eax
cmp dword [0x4d9208], 0
je 0x45b701
cmp dword [esi + 0x16c], 0
je 0x45b701
mov edi, 1
cmp dword [0x4d9214], 0
je 0x45b718
cmp dword [esi + 0x174], 0
je 0x45b718
mov edi, 1
cmp dword [esi + 0x3e1], 0
je 0x45b726
mov edi, 1
test edi, edi
jne 0x45b785
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x45b77b
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x4bba0c]
test ah, 0x80
jne 0x45b778
push 0
mov edx, dword [ebp - 4]
push eax
mov ecx, dword [esi]
push ecx
call sym.ollydbg.exe__Findname
add esp, 0xc
test eax, eax
je 0x45b75c
mov edi, 1
jmp 0x45b778
push 0
call sym.ollydbg.exe__Findnextname
pop ecx
mov ebx, eax
test ebx, ebx
je 0x45b778
mov eax, dword [esi]
add eax, dword [esi + 4]
cmp ebx, eax
jae 0x45b778
mov edi, 1
inc dword [ebp - 4]
test edi, edi
jne 0x45b785
cmp dword [ebp - 4], 0x1e
jl 0x45b731
test edi, edi
jne 0x45b7b9
mov ebx, dword [esi]
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
call sym.ollydbg.exe__Getnextbreakpoint
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x45b7b9
mov edx, dword [esi]
add edx, dword [esi + 4]
cmp ebx, edx
jae 0x45b7b9
test byte [ebp - 0x17], 6
je 0x45b7b6
mov edi, 1
jmp 0x45b7b9
inc ebx
jmp 0x45b78b
test edi, edi
je 0x45c36c
push 0
push 0x80
push 3
push 0
push 3
push 0
lea eax, [esi + 0x50]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45c36c
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push ebx
call sub.KERNEL32.DLL_GetFileTime
push 0
push ebx
call sub.KERNEL32.DLL_GetFileSize
mov dword [ebp - 0x1c], eax
push ebx
call sub.KERNEL32.DLL_CloseHandle
push 0x4bbae9
lea edx, [ebp - 0x144]
push edx
call fcn.004a5374
add esp, 8
mov edi, eax
test edi, edi
jne 0x45b839
add esi, 0x48
push esi
push 8
push str.Unable_to_save_user_data_of_module__.s
push 1
push 0
call sym.ollydbg.exe__Addtolist
add esp, 0x14
jmp 0x45c36c
push str.Module_info_file_v1.1
push 0x16
push 0x646f4d
push edi
call fcn.0045b298
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 0xa
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x40]
push edx
push 0x10
push 0x7265560a
push edi
call fcn.0045b298
add esp, 0x10
lea ecx, [esi + 0x50]
push ecx
lea eax, [esi + 0x50]
push eax
call fcn.004a36d4
pop ecx
inc eax
push eax
push 0x6c69460a
push edi
call fcn.0045b298
add esp, 0x10
lea edx, [ebp - 0x1c]
push edx
push 4
push 0x7a69530a
push edi
call fcn.0045b298
add esp, 0x10
lea ecx, [ebp - 0x30]
push ecx
push 8
push 0x7473540a
push edi
call fcn.0045b298
add esp, 0x10
lea eax, [esi + 0x170]
push eax
push 4
push 0x7263430a
push edi
call fcn.0045b298
add esp, 0x10
cmp dword [esi + 0x3e1], 0
je 0x45b8f5
lea edx, [esi + 0x3e1]
push edx
push 4
push 0x6566530a
push edi
call fcn.0045b298
add esp, 0x10
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax*4 + 0x4bba0c]
test eax, 0x10000
je 0x45b918
cmp dword [0x4d9208], 0
je 0x45ba3a
mov edx, dword [ebp - 4]
test eax, 0x20000
je 0x45ba3a
cmp dword [ebp - 0x10], 0
je 0x45b93a
mov dword [ebp - 0x14], 0xffffffff
mov ebx, 1
jmp 0x45b944
mov eax, dword [esi]
mov ebx, eax
add eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1444]
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx*4 + 0x4bba0c]
and ecx, 0xff
push ecx
push ebx
call sym.ollydbg.exe__Findname
add esp, 0xc
test eax, eax
jne 0x45ba2d
lea eax, [ebp - 0x1444]
push eax
call sym.ollydbg.exe__Findnextname
pop ecx
mov ebx, eax
jmp 0x45ba2d
cmp dword [ebp - 0x10], 0
je 0x45b9dd
push ebx
call sym.ollydbg.exe__Findmodule
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x45b9dd
cmp esi, dword [ebp - 0x28]
je 0x45b9dd
lea eax, [ebp - 0x1444]
push eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx*4 + 0x4bba0c]
and ecx, 0xff
push ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov edx, dword [eax]
add edx, dword [ecx + 4]
push edx
call sym.ollydbg.exe__Findname
add esp, 0xc
test eax, eax
jne 0x45ba2d
lea eax, [ebp - 0x1444]
push eax
call sym.ollydbg.exe__Findnextname
pop ecx
mov ebx, eax
jmp 0x45ba2d
sub ebx, dword [esi]
mov dword [ebp - 0x1448], ebx
lea eax, [ebp - 0x1448]
push eax
lea edx, [ebp - 0x1444]
push edx
call fcn.004a36d4
pop ecx
add eax, 5
push eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx*4 + 0x4bba0c]
and eax, 0xff
shl eax, 0x18
add eax, 0x73550a
push eax
push edi
call fcn.0045b298
add esp, 0x10
lea edx, [ebp - 0x1444]
push edx
call sym.ollydbg.exe__Findnextname
pop ecx
mov ebx, eax
test ebx, ebx
je 0x45ba3a
cmp ebx, dword [ebp - 0x14]
jb 0x45b981
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1e
jl 0x45b8fa
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x4bba0c]
test eax, 0x10000
je 0x45ba6a
cmp dword [0x4d9208], 0
je 0x45bb5a
mov edx, dword [ebp - 4]
test eax, 0x20000
jne 0x45bb5a
test ah, 0x80
mov ecx, dword [ebp - 4]
jne 0x45ba8c
mov ebx, dword [esi]
mov eax, dword [esi]
add eax, dword [esi + 4]
mov dword [ebp - 0x14], eax
jmp 0x45bab5
mov edx, dword [esi]
cmp edx, dword [0x4d7364]
jne 0x45bb5a
mov dword [ebp - 0x14], 0x1001
test ah, 0x40
mov edx, dword [ebp - 4]
mov ebx, 1
je 0x45bab5
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x1444]
push eax
mov ecx, dword [ebp - 4]
mov eax, dword [ecx*4 + 0x4bba0c]
and eax, 0xff
push eax
push ebx
call sym.ollydbg.exe__Findname
add esp, 0xc
test eax, eax
jne 0x45bb51
lea edx, [ebp - 0x1444]
push edx
call sym.ollydbg.exe__Findnextname
pop ecx
mov ebx, eax
jmp 0x45bb51
mov eax, dword [ebp - 4]
test byte [eax*4 + 0x4bba0d], 0x80
jne 0x45bb01
sub ebx, dword [esi]
mov dword [ebp - 0x1448], ebx
jmp 0x45bb07
mov dword [ebp - 0x1448], ebx
lea edx, [ebp - 0x1448]
push edx
lea ecx, [ebp - 0x1444]
push ecx
call fcn.004a36d4
pop ecx
add eax, 5
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax*4 + 0x4bba0c]
and edx, 0xff
shl edx, 0x18
add edx, 0x73550a
push edx
push edi
call fcn.0045b298
add esp, 0x10
lea ecx, [ebp - 0x1444]
push ecx
call sym.ollydbg.exe__Findnextname
pop ecx
mov ebx, eax
test ebx, ebx
je 0x45bb5a
cmp ebx, dword [ebp - 0x14]
jb 0x45baea
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1e
jl 0x45ba4c
mov eax, dword [esi]
add eax, dword [esi + 4]
push eax
mov edx, dword [esi]
push edx
push 0x4dc8cd
call sym.ollydbg.exe__Findsorteddataindex
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x45bbe2
mov ebx, dword [ebp - 4]
shl ebx, 5
add ebx, dword [0x4dc9e9]
jmp 0x45bbcc
push esi
push edi
lea edi, [ebp - 0x1468]
mov esi, ebx
mov ecx, 8
lea edx, [ebp - 0x1468]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esi]
sub dword [ebp - 0x1468], eax
push edx
push 0x20
push 0x6372500a
push edi
call fcn.0045b298
add esp, 0x10
inc dword [ebp - 4]
add ebx, 0x20
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4dc9d1]
jge 0x45bbe2
mov eax, dword [ebx]
mov edx, dword [esi]
add edx, dword [esi + 4]
cmp eax, edx
jb 0x45bb94
mov ecx, dword [esi]
add ecx, dword [esi + 4]
push ecx
mov eax, dword [esi]
push eax
push 0x4dca05
call sym.ollydbg.exe__Findsorteddataindex
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x45bc6f
mov ebx, dword [ebp - 4]
shl ebx, 5
add ebx, dword [0x4dcb21]
jmp 0x45bc59
push esi
push edi
lea edi, [ebp - 0x1488]
mov esi, ebx
mov ecx, 8
lea edx, [ebp - 0x1488]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [esi]
sub dword [ebp - 0x1488], eax
sub dword [ebp - 0x147c], eax
sub dword [ebp - 0x1478], eax
sub dword [ebp - 0x1474], eax
push edx
push 0x20
push 0x6977530a
push edi
call fcn.0045b298
add esp, 0x10
inc dword [ebp - 4]
add ebx, 0x20
mov ecx, dword [ebp - 4]
cmp ecx, dword [0x4dcb09]
jge 0x45bc6f
mov eax, dword [ebx]
mov edx, dword [esi]
add edx, dword [esi + 4]
cmp eax, edx
jb 0x45bc0f
cmp dword [0x4d9e28], 0
je 0x45bdb1
mov ecx, dword [esi]
push ecx
call fcn.0049b09c
pop ecx
mov dword [ebp - 4], eax
jmp 0x45bd89
mov eax, dword [ebp - 4]
lea eax, [eax + eax*8]
mov edx, dword [0x4d9e28]
mov ecx, dword [edx + eax + 4]
sub ecx, dword [esi]
mov dword [ebp - 0x1448], ecx
mov eax, dword [ebp - 4]
lea eax, [eax + eax*8]
mov ecx, dword [0x4d9e28]
mov eax, dword [ecx + eax]
mov edx, dword [esi]
cmp eax, edx
jb 0x45bcf3
mov ecx, edx
add ecx, dword [esi + 4]
cmp eax, ecx
jae 0x45bcf3
mov ecx, dword [ebp - 4]
sub eax, edx
mov dword [ebp - 0x1444], eax
lea eax, [ebp - 0x1448]
push eax
push 8
push 0x6966430a
push edi
lea ecx, [ecx + ecx*8]
mov ebx, dword [0x4d9e28]
call fcn.0045b298
add esp, 0x10
jmp 0x45bd86
mov edx, dword [ebp - 4]
lea edx, [edx + edx*8]
mov ecx, dword [0x4d9e28]
mov eax, dword [ecx + edx]
push eax
call sym.ollydbg.exe__Findmodule
pop ecx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x45bd5b
mov edx, dword [ebp - 4]
lea edx, [edx + edx*8]
mov ecx, dword [0x4d9e28]
mov eax, dword [ecx + edx]
mov edx, dword [ebp - 0x28]
sub eax, dword [edx]
mov dword [ebp - 0x1444], eax
push 8
mov ecx, dword [ebp - 0x28]
add ecx, 0x48
push ecx
lea eax, [ebp - 0x1440]
push eax
call fcn.004a3530
add esp, 0xc
lea edx, [ebp - 0x1448]
push edx
push 0x10
push 0x6d66430a
push edi
call fcn.0045b298
add esp, 0x10
jmp 0x45bd86
mov ecx, dword [ebp - 4]
mov eax, dword [0x4d9e28]
lea ecx, [ecx + ecx*8]
mov edx, dword [eax + ecx]
lea ecx, [ebp - 0x1448]
mov dword [ebp - 0x1444], edx
push ecx
push 8
push 0x6166430a
push edi
call fcn.0045b298
add esp, 0x10
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [0x4d9e30]
jge 0x45bdb1
mov edx, dword [ebp - 4]
lea edx, [edx + edx*8]
mov ecx, dword [0x4d9e28]
mov eax, dword [ecx + edx + 4]
mov edx, dword [esi]
add edx, dword [esi + 4]
cmp eax, edx
jb 0x45bc8d
cmp dword [ebp - 0x10], 0
je 0x45bdbe
mov ebx, 1
jmp 0x45bdc0
mov ebx, dword [esi]
lea eax, [ebp - 4]
lea edx, [ebp - 0x18]
push eax
push edx
push ebx
call sym.ollydbg.exe__Getnextbreakpoint
add esp, 0xc
mov ebx, eax
test ebx, ebx
je 0x45be8d
cmp dword [ebp - 0x10], 0
je 0x45be23
push ebx
call sym.ollydbg.exe__Findmodule
pop ecx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x45be03
cmp esi, dword [ebp - 0x28]
je 0x45be03
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ecx]
add ebx, dword [eax + 4]
jmp 0x45bdc0
cmp dword [ebp - 0x28], 0
jne 0x45be2c
test byte [ebp - 0x17], 2
je 0x45be2c
mov edx, dword [ebp - 0x18]
and edx, 0xfffffdff
or edx, 0x400
mov dword [ebp - 0x18], edx
jmp 0x45be2c
mov ecx, dword [esi]
add ecx, dword [esi + 4]
cmp ebx, ecx
jae 0x45be8d
test byte [ebp - 0x17], 6
je 0x45be87
mov eax, ebx
sub eax, dword [esi]
mov dword [ebp - 0x1448], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1444], edx
cmp dword [ebp - 4], 0xcc
jne 0x45be67
lea ecx, [ebp - 0x1448]
push ecx
push 8
push 0x7470420a
push edi
call fcn.0045b298
add esp, 0x10
jmp 0x45be87
mov al, byte [ebp - 4]
lea edx, [ebp - 0x1448]
mov byte [ebp - 0x1440], al
push edx
push 9
push 0x6370420a
push edi
call fcn.0045b298
add esp, 0x10
inc ebx
jmp 0x45bdc0
mov ecx, dword [esi]
cmp ecx, dword [0x4d7364]
jne 0x45bf69
cmp dword [0x4d375c], 0
je 0x45bf69
xor eax, eax
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov eax, dword [edx*4 + 0x4d8d78]
test eax, eax
je 0x45bf5c
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
cmp eax, 5
je 0x45bf5c
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
cmp eax, 6
je 0x45bf5c
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
cmp eax, 7
je 0x45bf5c
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1448], eax
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov ecx, dword [eax*4 + 0x4d8d70]
mov dword [ebp - 0x1444], ecx
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov ecx, dword [eax*4 + 0x4d8d74]
mov dword [ebp - 0x1440], ecx
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov ecx, dword [eax*4 + 0x4d8d78]
lea eax, [ebp - 0x1448]
mov dword [ebp - 0x143c], ecx
push eax
push 0x10
push 0x7262480a
push edi
call fcn.0045b298
add esp, 0x10
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x45bead
cmp dword [0x4d9208], 0
je 0x45bfa3
cmp dword [esi + 0x421], 0
je 0x45bfa3
cmp dword [esi + 0x425], 0
jle 0x45bfa3
mov edx, dword [esi + 0x421]
push edx
mov ecx, dword [esi + 0x425]
lea ecx, [ecx + ecx*8]
push ecx
push 0x74644a0a
push edi
call fcn.0045b298
add esp, 0x10
mov eax, dword [esi]
add eax, dword [esi + 4]
push eax
mov edx, dword [esi]
push edx
push 0x4d9034
call sym.ollydbg.exe__Findsorteddataindex
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x45c028
mov ebx, dword [ebp - 4]
shl ebx, 2
lea ebx, [ebx + ebx*2]
add ebx, dword [0x4d9150]
jmp 0x45c012
mov eax, dword [ebx]
lea ecx, [ebp - 0x1494]
mov dword [ebp - 0x1494], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1490], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x148c], eax
mov edx, dword [esi]
sub dword [ebp - 0x1494], edx
push ecx
push 0xc
push 0x7468410a
push edi
call fcn.0045b298
add esp, 0x10
inc dword [ebp - 4]
add ebx, 0xc
mov eax, dword [ebp - 4]
cmp eax, dword [0x4d9138]
jge 0x45c028
mov edx, dword [ebx]
mov ecx, dword [esi]
add ecx, dword [esi + 4]
cmp edx, ecx
jb 0x45bfd3
cmp dword [0x4d9208], 0
je 0x45c0e6
cmp dword [esi + 0x16c], 0
je 0x45c0e6
cmp dword [esi + 0x10], 0
jbe 0x45c0e6
mov ebx, dword [esi + 0x10]
add ebx, 0x1000
cmp dword [0x4d54c4], 0
je 0x45c06b
push ebx
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x24], eax
jmp 0x45c070
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x45c091
mov edx, dword [esi + 0x16c]
push edx
mov ecx, dword [esi + 0x10]
push ecx
push 0x616e410a
push edi
call fcn.0045b298
add esp, 0x10
jmp 0x45c0e6
push ebx
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [esi + 0x10]
push edx
mov ecx, dword [esi + 0x16c]
push ecx
call sym.ollydbg.exe__Compress
add esp, 0x10
mov ebx, eax
test ebx, ebx
jne 0x45c0ca
mov eax, dword [esi + 0x16c]
push eax
mov edx, dword [esi + 0x10]
push edx
push 0x616e410a
push edi
call fcn.0045b298
add esp, 0x10
jmp 0x45c0dd
mov ecx, dword [ebp - 0x24]
push ecx
push ebx
push 0x636e410a
push edi
call fcn.0045b298
add esp, 0x10
mov eax, dword [ebp - 0x24]
push eax
call sub.KERNEL32.DLL_GlobalFree
cmp dword [0x4d9214], 0
je 0x45c1a4
cmp dword [esi + 0x174], 0
je 0x45c1a4
cmp dword [esi + 0x10], 0
jbe 0x45c1a4
mov ebx, dword [esi + 0x10]
add ebx, 0x1000
cmp dword [0x4d54c4], 0
je 0x45c129
push ebx
push 0
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x24], eax
jmp 0x45c12e
xor eax, eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x45c14f
mov edx, dword [esi + 0x174]
push edx
mov ecx, dword [esi + 0x10]
push ecx
push 0x6172540a
push edi
call fcn.0045b298
add esp, 0x10
jmp 0x45c1a4
push ebx
mov eax, dword [ebp - 0x24]
push eax
mov edx, dword [esi + 0x10]
push edx
mov ecx, dword [esi + 0x174]
push ecx
call sym.ollydbg.exe__Compress
add esp, 0x10
mov ebx, eax
test ebx, ebx
jne 0x45c188
mov eax, dword [esi + 0x174]
push eax
mov edx, dword [esi + 0x10]
push edx
push 0x6172540a
push edi
call fcn.0045b298
add esp, 0x10
jmp 0x45c19b
mov ecx, dword [ebp - 0x24]
push ecx
push ebx
push 0x6372540a
push edi
call fcn.0045b298
add esp, 0x10
mov eax, dword [ebp - 0x24]
push eax
call sub.KERNEL32.DLL_GlobalFree
mov edx, dword [esi]
cmp edx, dword [0x4d7364]
jne 0x45c280
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
lea eax, [eax + eax*2]
mov edx, dword [eax*4 + 0x4bb850]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x45c273
mov ecx, dword [ebp - 4]
lea ecx, [ecx + ecx*2]
mov eax, dword [ecx*4 + 0x4bb854]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
add edx, 4
cmp edx, 0x1000
ja 0x45c273
xor ecx, ecx
mov dword [ebp - 8], ecx
jmp 0x45c261
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
lea eax, [eax + ebx - 1]
jmp 0x45c208
dec ebx
dec eax
test ebx, ebx
jle 0x45c211
cmp byte [eax], 0
je 0x45c206
mov dx, word [ebp - 4]
test ebx, ebx
mov word [ebp - 0x1448], dx
mov cx, word [ebp - 8]
mov word [ebp - 0x1446], cx
jle 0x45c23f
push ebx
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x1444]
push edx
call fcn.004a3530
add esp, 0xc
lea ecx, [ebp - 0x1448]
push ecx
add ebx, 4
push ebx
push 0x6176530a
push edi
call fcn.0045b298
add esp, 0x10
inc dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x24], eax
mov edx, dword [ebp - 4]
lea edx, [edx + edx*2]
mov ecx, dword [edx*4 + 0x4bb858]
cmp ecx, dword [ebp - 8]
jg 0x45c1fa
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x25
jl 0x45c1b7
push esi
call fcn.0049e214
pop ecx
mov eax, dword [esi]
add eax, dword [esi + 4]
push eax
mov edx, dword [esi]
push edx
push 0x4e316c
call sym.ollydbg.exe__Findsorteddataindex
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x45c349
mov ebx, dword [ebp - 4]
mov eax, ebx
shl ebx, 6
add ebx, eax
lea ebx, [eax + ebx*2]
shl ebx, 2
add ebx, dword [0x4e3288]
jmp 0x45c32f
mov edx, dword [ebx]
lea ecx, [ebp - 0x1440]
sub edx, dword [esi]
mov dword [ebp - 0x1448], edx
lea edx, [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1444], eax
push eax
push edx
push ecx
call fcn.004a3530
add esp, 0xc
mov eax, dword [ebx + 4]
push eax
lea edx, [ebx + 0x10c]
push edx
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x1440]
add ecx, eax
push ecx
call fcn.004a3530
add esp, 0xc
lea edx, [ebp - 0x1448]
push edx
mov ecx, dword [ebx + 4]
add ecx, ecx
add ecx, 8
push ecx
push 0x7461500a
push edi
call fcn.0045b298
add esp, 0x10
inc dword [ebp - 4]
add ebx, 0x20c
mov eax, dword [ebp - 4]
cmp eax, dword [0x4e3270]
jge 0x45c349
mov edx, dword [ebx]
mov ecx, dword [esi]
add ecx, dword [esi + 4]
cmp edx, ecx
jb 0x45c2c2
push esi
push edi
call fcn.00496dd8
add esp, 8
push 0
push 0
push 0x646e450a
push edi
call fcn.0045b298
add esp, 0x10
push edi
call fcn.004a4ed8
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret