Function at 0x45f339
Capabilities:
Clear file content
Read file on windows
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x49c
mov edx, dword [ebp + 0x78]
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 8], ecx
push edi
mov byte [ebp + 0x4f], bl
mov byte [ebp + 0x5d], bl
mov byte [ebp + 0x5e], bl
mov byte [ebp + 0x52], bl
xor ecx, ecx
jmp 0x45f394
mov eax, ecx
call fcn.0040bc38
test al, al
jne 0x45f39c
cmp cx, 0x2a
jne 0x45f377
mov al, byte [edx]
mov byte [ebp + 0x4f], al
jmp 0x45f38f
cmp cx, 0x2e
jne 0x45f384
mov al, byte [edx]
mov byte [ebp + 0x5d], al
jmp 0x45f38f
cmp cx, 0x23
jne 0x45f38f
mov al, byte [edx]
mov byte [ebp + 0x5e], al
inc edx
inc edx
mov dword [ebp + 0x78], edx
mov cx, word [edx]
cmp cx, bx
jne 0x45f35f
lea eax, [ebp + 0x78]
push eax
call fcn.00430961
push 3
lea eax, [ebp + 0x78]
push eax
push 0x49d220
call fcn.00437ad0
add esp, 0x10
test al, al
je 0x45f3c0
mov byte [ebp + 0x52], 1
push 1
lea ecx, [ebp + 0xc]
call fcn.00435d80
mov eax, 0x200
mov dword [ebp + 0x1c], eax
mov dword [ebp - 0x20], eax
push 3
lea eax, [ebp + 0x78]
or esi, 0xffffffff
push eax
push 0x49d21c
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov dword [ebp + 0x10], esi
mov dword [ebp + 0x14], 0x7fffffff
xor edi, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
mov dword [ebp + 0x60], esi
mov dword [ebp + 0x64], esi
mov dword [ebp - 0x24], ebx
mov byte [ebp + 0x6f], bl
mov byte [ebp + 0x5f], bl
mov byte [ebp + 0x53], bl
mov byte [ebp + 0x51], bl
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x45f707
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
mov byte [ebp + 0x53], 1
mov byte [ebp + 0x4f], 1
jne 0x45f707
mov eax, dword [ebp + 0x78]
xor ecx, ecx
mov cx, word [eax + 2]
cmp cx, bx
je 0x45f6d6
mov eax, ecx
call fcn.0040bc38
test al, al
jne 0x45f6d6
cmp cx, 0x2c
je 0x45f6d6
push 4
push dword [ebp + 0x78]
push 0x49d214
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45f4a8
add dword [ebp + 0x78], 8
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.0043aabb
test eax, eax
pop ecx
pop ecx
jle 0x45f6bf
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x20], eax
mov dword [ebp + 0x1c], eax
jmp 0x45f6bf
push 5
push dword [ebp + 0x78]
push 0x49d20c
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45f4e4
add dword [ebp + 0x78], 0xa
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.0043aabb
test eax, eax
pop ecx
pop ecx
jle 0x45f6bf
mov eax, dword [ebp + 0x54]
jmp 0x45f4a0
push 5
push dword [ebp + 0x78]
push 0x49d204
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45f526
add dword [ebp + 0x78], 0xa
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.0043aabb
test eax, eax
pop ecx
pop ecx
jle 0x45f6bf
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x20], eax
jmp 0x45f6bf
push 7
push dword [ebp + 0x78]
push 0x49d1fc
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45f56e
add dword [ebp + 0x78], 0xe
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.0043aabb
test eax, eax
pop ecx
pop ecx
jle 0x45f6bf
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x14], eax
jmp 0x45f6bf
push 5
push dword [ebp + 0x78]
push 0x49d1f4
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45f5b6
add dword [ebp + 0x78], 0xa
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.0043aabb
test eax, eax
pop ecx
pop ecx
jle 0x45f6bf
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x64], eax
jmp 0x45f6bf
push 6
push dword [ebp + 0x78]
push 0x49d1ec
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45f5f9
add dword [ebp + 0x78], 0xc
push 7
push dword [ebp + 0x78]
push 0x49d1e4
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45f5ea
mov byte [ebp + 0x5f], 1
lea eax, [ebp + 0x78]
push eax
call fcn.00404579
pop ecx
jmp 0x45f6bf
push 6
push dword [ebp + 0x78]
push 0x49d1dc
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45f641
add dword [ebp + 0x78], 0xc
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.0043aabb
test eax, eax
pop ecx
pop ecx
jle 0x45f6bf
mov eax, dword [ebp + 0x58]
mov edi, dword [ebp + 0x54]
mov dword [ebp - 0x28], eax
jmp 0x45f6bf
push 7
push dword [ebp + 0x78]
push 0x49d1d4
call fcn.004318b1
add esp, 0xc
test al, al
je 0x45f687
add dword [ebp + 0x78], 0xe
lea eax, [ebp + 0x54]
push eax
lea eax, [ebp + 0x78]
push eax
xor edi, edi
mov dword [ebp - 0x28], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
call fcn.0043aabb
test eax, eax
pop ecx
pop ecx
jle 0x45f6bf
mov eax, dword [ebp + 0x54]
mov dword [ebp + 0x30], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp + 0x34], eax
jmp 0x45f6bf
push 6
lea eax, [ebp + 0x78]
push eax
push 0x49c9c8
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x45f6a4
mov byte [ebp + 0x51], 1
jmp 0x45f6bf
push 7
lea eax, [ebp + 0x78]
push eax
push 0x49d1cc
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x45f6bf
mov byte [ebp + 0x51], 0x10
lea eax, [ebp + 0x78]
push eax
call fcn.00430961
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2d
pop ecx
je 0x45f438
cmp dword [ebp + 0x34], ebx
jg 0x45f707
jl 0x45f6e2
cmp dword [ebp + 0x30], ebx
jae 0x45f707
push dword [ebp - 0x28]
mov eax, dword [ebp + 0x1c]
cdq
push edi
push edx
push eax
call fcn.0047fe80
cmp edx, ebx
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], edx
jg 0x45f707
jl 0x45f701
cmp eax, ebx
jae 0x45f707
mov dword [ebp + 0x30], ebx
mov dword [ebp + 0x34], ebx
push 6
lea eax, [ebp + 0x78]
push eax
push 0x49c9c8
call fcn.00437ad0
add esp, 0xc
test al, al
je 0x45f722
mov byte [ebp + 0x51], 1
push 0x2c
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.004386e6
mov eax, dword [ebp + 0xc]
push eax
mov dword [ebp + 0x58], eax
mov dword [ebp + 0xc], ebx
call fcn.0040eec0
add esp, 0x10
push eax
lea ecx, [ebp + 0xc]
call fcn.0044042b
lea ecx, [ebp + 0x58]
call fcn.0043092f
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2c
jne 0x46038b
mov eax, dword [ebp + 0xc]
cmp word [eax], bx
je 0x46038b
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043aabb
cmp dword [ebp + 0x48], ebx
pop ecx
pop ecx
jg 0x45f794
jl 0x46038b
cmp dword [ebp + 0x44], ebx
jb 0x46038b
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x23
push 0xfffffffffffffffc
pop edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], esi
jne 0x45f7bc
add dword [ebp + 0x78], 2
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043aabb
mov edi, dword [ebp + 0x20]
pop ecx
pop ecx
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x45f7c8
add dword [ebp + 0x78], 2
mov eax, dword [ebp + 0x64]
cmp eax, ebx
jl 0x45f7eb
jg 0x45f7d6
cmp dword [ebp + 0x60], ebx
jb 0x45f7eb
cmp dword [ebp + 0x24], eax
jl 0x45f7eb
jg 0x45f7e2
cmp edi, dword [ebp + 0x60]
jbe 0x45f7eb
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x78]
push eax
call fcn.00430961
mov esi, dword [ebp + 0x78]
push esi
call fcn.0040cd3f
push esi
push 0x49d1c4
call fcn.004318e1
add esp, 0x10
cmp word [esi], bx
mov byte [ebp + 0x43], al
mov dword [ebp + 8], esi
jne 0x45f81e
xor esi, esi
inc esi
jmp 0x460390
mov eax, dword [ebp + 0x78]
mov dword [ebp], eax
lea eax, [ebp]
push 1
push eax
call fcn.0043d37b
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00435c39
cmp byte [ebp + 0x5e], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp + 0x50], bl
mov dword [ebp + 0x28], ebx
je 0x45f9af
mov esi, 0x4ad684
push esi
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
lea ecx, [ebp + 0x2c]
call fcn.00435d62
mov ecx, dword [ebp - 8]
push 0xffffffffffffffff
push ebx
push dword [ebp + 0x78]
call fcn.0040cb92
cmp eax, ebx
mov dword [ebp], eax
jne 0x45f88d
lea ecx, [ebp + 0x2c]
call fcn.0043092f
push esi
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x460383
mov eax, dword [ebp]
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 0x24]
and eax, 0x3fffffff
cmp esi, ebx
mov dword [ebp + 0x28], eax
jl 0x45f8c7
jg 0x45f8a8
cmp edi, ebx
jbe 0x45f8c7
mov eax, dword [ebp + 0x28]
cdq
mov ecx, edi
add ecx, dword [ebp + 0x30]
mov dword [ebp + 0x54], eax
mov eax, esi
adc eax, dword [ebp + 0x34]
mov dword [ebp + 0x58], edx
cmp eax, edx
jl 0x45f8f5
jg 0x45f8c7
cmp ecx, dword [ebp + 0x54]
jbe 0x45f8f5
mov eax, dword [ebp + 0x28]
cdq
mov edi, eax
mov dword [ebp + 0x54], edi
sub edi, dword [ebp + 0x30]
mov esi, edx
mov dword [ebp + 0x58], esi
sbb esi, dword [ebp + 0x34]
mov dword [ebp + 0x20], edi
cmp esi, ebx
mov dword [ebp + 0x24], esi
jg 0x45f8f5
jl 0x45f8eb
cmp edi, ebx
ja 0x45f8f5
xor edi, edi
xor esi, esi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], esi
mov eax, dword [ebp + 0x64]
cmp eax, ebx
jl 0x45f917
jg 0x45f903
cmp dword [ebp + 0x60], ebx
jb 0x45f917
cmp eax, esi
jg 0x45f917
jl 0x45f90e
cmp dword [ebp + 0x60], edi
jae 0x45f917
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], eax
lea eax, [edi + 0x200000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00435c7d
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
jne 0x45f945
lea ecx, [ebp + 0x2c]
call fcn.0043092f
push 0x4ad684
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x4603e6
mov edx, dword [ebp + 0x58]
mov ecx, dword [ebp]
mov ecx, dword [ecx + 4]
add eax, 0x100000
and eax, 0xfff00000
cmp dword [ebp + 0x34], edx
mov dword [ebp + 8], eax
jl 0x45f973
jg 0x45f96a
mov esi, dword [ebp + 0x30]
cmp esi, dword [ebp + 0x54]
jbe 0x45f973
mov esi, dword [ebp + 0x54]
mov dword [ebp + 0x30], esi
mov dword [ebp + 0x34], edx
add ecx, dword [ebp + 0x30]
cmp edi, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp + 0x28], edi
jle 0x45f98f
cmp eax, ecx
je 0x45f98f
push edi
push ecx
push eax
call fcn.00410296
add esp, 0xc
lea ecx, [ebp + 0x2c]
mov byte [ebp + 0x50], 1
mov byte [ebp + 0x6f], 1
call fcn.0043092f
push 0x4ad684
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
jmp 0x45fb62
cmp esi, ebx
je 0x45fb62
mov al, byte [esi]
mov byte [ebp + 0x6f], al
mov byte [ebp + 0x50], al
lea eax, [esi + 2]
mov dword [ebp - 0x28], 0x20
cmp word [eax], 0x2e
mov dword [ebp + 0x28], eax
jne 0x45f9e3
mov cl, byte [eax]
inc eax
inc eax
mov byte [ebp + 0x6f], cl
mov dword [ebp + 0x28], eax
mov dword [ebp - 0x28], pe_nt_image_headers32
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x28]
push eax
call fcn.0043d2c9
pop ecx
pop ecx
mov cx, word [esi]
mov dword [ebp - 8], eax
mov eax, dword [0x4ace04]
mov word [ebp + 0x58], cx
mov ecx, dword [ebp]
mov word [esi], bx
mov dx, word [ecx]
cmp dx, 0x2e
mov dword [ebp + 0x2c], ebx
jne 0x45fa20
cmp word [ecx + 2], bx
jne 0x45fa20
mov eax, dword [0x4ace04]
jmp 0x45fa32
cmp dx, bx
je 0x45fa32
push 2
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov dword [ebp + 0x2c], eax
cmp eax, ebx
mov cx, word [ebp + 0x58]
mov word [esi], cx
je 0x45fa57
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp - 8]
push dword [ebp - 0x24]
push eax
call fcn.00410a1a
add esp, 0x14
mov dword [ebp + 8], eax
cmp dword [ebp + 0x2c], ebx
je 0x45fa65
push dword [ebp + 0x2c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [ebp + 8], ebx
je 0x4603e6
cmp dword [ebp + 0x24], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0x58], eax
jl 0x45fa9e
jg 0x45fa7f
cmp edi, ebx
jbe 0x45fa9e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x24]
mov esi, edi
add esi, dword [ebp + 0x30]
cdq
adc ecx, dword [ebp + 0x34]
mov dword [ebp - 0xc], eax
cmp ecx, edx
mov dword [ebp - 8], edx
jl 0x45fac8
jg 0x45fa9e
cmp esi, eax
jbe 0x45fac8
mov eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0xc], eax
sub eax, dword [ebp + 0x30]
mov dword [ebp - 8], edx
sbb edx, dword [ebp + 0x34]
mov edi, eax
cmp edx, ebx
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], edx
jg 0x45fac8
jl 0x45fac0
cmp edi, ebx
ja 0x45fac8
xor edi, edi
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], ebx
mov eax, dword [ebp - 0x18]
add eax, 0x200000
push eax
lea ecx, [ebp - 0x1c]
call fcn.00435c7d
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
mov esi, eax
je 0x4603e6
mov ecx, dword [ebp + 0x58]
push 0x1ff
add ecx, eax
push ebx
push ecx
call fcn.0047fd70
mov eax, dword [ebp - 8]
add esp, 0xc
cmp dword [ebp + 0x34], eax
jl 0x45fb15
jg 0x45fb0c
mov ecx, dword [ebp + 0x30]
cmp ecx, dword [ebp - 0xc]
jbe 0x45fb15
mov ecx, dword [ebp - 0xc]
mov dword [ebp + 0x30], ecx
mov dword [ebp + 0x34], eax
mov eax, dword [ebp + 0x64]
add esi, dword [ebp + 0x30]
cmp eax, ebx
jl 0x45fb3b
jg 0x45fb26
cmp dword [ebp + 0x60], ebx
jb 0x45fb3b
cmp eax, dword [ebp + 0x24]
jg 0x45fb3b
jl 0x45fb32
cmp dword [ebp + 0x60], edi
jae 0x45fb3b
mov edi, dword [ebp + 0x60]
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x24], eax
lea eax, [esi + 0x100000]
and eax, 0xfff00000
cmp edi, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp + 0x28], edi
mov dword [ebp + 8], eax
jle 0x45fb62
cmp eax, esi
je 0x45fb62
push edi
push esi
push eax
call fcn.00410296
add esp, 0xc
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp + 0x58], ebx
mov byte [ebp + 0x5e], bl
mov dword [ebp], ebx
mov dword [ebp + 0x68], ebx
call fcn.0043ccb4
cmp al, bl
pop ecx
pop ecx
mov byte [ebp + 4], al
jl 0x46037b
cmp byte [ebp + 0x53], bl
je 0x45fb9d
cmp byte [ebp + 0x5f], bl
jne 0x45fb9a
cmp al, bl
mov byte [ebp + 0x5e], 1
jle 0x45fb9d
mov byte [ebp + 0x5e], bl
cmp byte [ebp + 0x53], bl
mov byte [ebp + 0x5f], 1
je 0x45fbaf
cmp byte [ebp + 0x50], bl
jne 0x45fbaf
mov byte [ebp + 0x53], 2
cmp byte [ebp + 0x53], 2
mov esi, 0xc0000000
jne 0x45fbd7
cmp byte [ebp + 4], bl
jg 0x45fbd7
push ebx
push ebx
push 4
push ebx
push 3
push esi
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004045f9
cmp dword [ebp + 0x68], ebx
jne 0x45fbf4
push ebx
push ebx
push 3
push ebx
push 3
push esi
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004045f9
cmp byte [ebp + 0x53], 2
jne 0x4603a4
mov edi, dword [ebp + 0x1c]
cmp edi, ebx
jle 0x46037b
cmp dword [ebp - 0x20], ebx
jle 0x46037b
cmp dword [ebp + 0x64], ebx
jl 0x45fc3c
jg 0x45fc14
cmp dword [ebp + 0x60], ebx
jb 0x45fc3c
mov eax, edi
cdq
mov ecx, eax
add ecx, dword [ebp + 0x60]
mov esi, edx
adc esi, dword [ebp + 0x64]
push edx
sub ecx, 1
push eax
sbb esi, ebx
push esi
push ecx
call fcn.0047fdd0
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
mov esi, 0x7fffffff
jmp 0x45fc6b
cmp dword [ebp + 0x10], 0xffffffff
mov esi, 0x7fffffff
jne 0x45fc55
cmp dword [ebp + 0x14], esi
jne 0x45fc55
or dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x64], esi
jmp 0x45fc6b
push dword [ebp + 0x14]
mov eax, edi
push dword [ebp + 0x10]
cdq
push edx
push eax
call fcn.0047fe80
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
push dword [ebp + 0x78]
call fcn.0040eec0
pop ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004403c3
cmp dword [ebp + 0x68], ebx
jne 0x45fc8f
lea ecx, [ebp - 0x10]
call fcn.0043092f
jmp 0x4603de
cmp byte [ebp + 0x51], bl
mov dword [ebp - 4], edi
je 0x45fdb5
cmp byte [ebp + 4], bl
jg 0x45fdb5
lea ecx, [ebp + 0x68]
call fcn.00402b27
cmp byte [ebp + 0x51], 1
jne 0x45fcbf
push ebx
push ebx
push dword [ebp + 0xc]
call fcn.0043c9c5
add esp, 0xc
push ebx
push ebx
push 4
push ebx
push 3
push 0xc0000000
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004045f9
cmp dword [ebp + 0x68], ebx
je 0x45fc82
cmp byte [ebp + 0x43], bl
je 0x45fdb5
cmp dword [ebp + 0x14], ebx
jl 0x460190
jg 0x45fcf8
cmp dword [ebp + 0x10], ebx
jb 0x45fdb5
push dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
push dword [ebp + 0x10]
cdq
push edx
push eax
call fcn.0047fe80
cmp dword [ebp + 0x64], ebx
jl 0x45fd27
jg 0x45fd15
cmp dword [ebp + 0x60], ebx
jb 0x45fd27
cmp edx, dword [ebp + 0x64]
jl 0x45fd27
jg 0x45fd21
cmp eax, dword [ebp + 0x60]
jbe 0x45fd27
mov eax, dword [ebp + 0x60]
mov edx, dword [ebp + 0x64]
add eax, dword [ebp + 0x44]
adc edx, dword [ebp + 0x48]
cmp dword [ebp + 0x14], esi
mov dword [ebp + 0x54], eax
mov edi, edx
jl 0x45fd48
jg 0x45fd3f
cmp dword [ebp + 0x10], 0xffffffff
jb 0x45fd48
mov dword [ebp + 0x54], 0xfffffdff
mov edi, esi
cmp byte [ebp + 0x5e], bl
jne 0x45fd6b
push 2
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0043181b
add esp, 0x10
cmp edx, edi
jg 0x45fd6b
jl 0x45fd67
cmp eax, dword [ebp + 0x54]
jae 0x45fd6b
mov byte [ebp + 0x5e], 1
push ebx
push edi
push dword [ebp + 0x54]
push dword [ebp + 0x68]
call fcn.0043181b
add esp, 0x10
cmp eax, dword [ebp + 0x54]
jne 0x45fd9a
cmp edx, edi
jne 0x45fd9a
cmp dword [ebp + 0x14], esi
jg 0x45fdb5
jl 0x460190
cmp dword [ebp + 0x10], 0xffffffff
jae 0x45fdb5
jmp 0x460190
cmp dword [ebp + 0x14], esi
jg 0x45fdb5
jl 0x45fda7
cmp dword [ebp + 0x10], 0xffffffff
jae 0x45fdb5
push ebx
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0043181b
add esp, 0x10
cmp dword [ebp + 0x14], ebx
jl 0x460190
jg 0x45fdc9
cmp dword [ebp + 0x10], ebx
jbe 0x460190
cmp dword [ebp + 0x64], ebx
jl 0x460190
jg 0x45fddd
cmp dword [ebp + 0x60], ebx
jbe 0x460190
xor eax, eax
cmp byte [ebp + 0x43], bl
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x3c], eax
mov dword [ebp + 0x38], ebx
jne 0x45fdf6
cmp byte [ebp + 0x50], bl
mov byte [ebp + 0x6f], 1
je 0x45fdf9
mov byte [ebp + 0x6f], bl
cmp byte [ebp + 4], bl
mov esi, dword [ebp + 0x44]
jle 0x45fe0b
mov eax, esi
and eax, 0x1ff
mov dword [ebp + 0x3c], eax
cdq
sub esi, eax
mov eax, dword [ebp + 0x48]
sbb eax, edx
mov edi, eax
js 0x45fe58
jg 0x45fe1d
cmp esi, ebx
jbe 0x45fe58
push ebx
push edi
push esi
push dword [ebp + 0x68]
call fcn.0043181b
add esp, 0x10
cmp eax, esi
jne 0x45fe33
cmp edx, edi
je 0x45fe58
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.0043092f
lea ecx, [ebp + 0x68]
call fcn.00402b27
lea ecx, [ebp - 0x1c]
call fcn.0043092f
jmp 0x460390
cmp byte [ebp + 0x6f], bl
mov dword [ebp + 0x18], ebx
je 0x45fef2
lea eax, [ebp - 0x10]
push eax
call fcn.0043cdf1
pop ecx
push ebx
push ebx
push 3
push ebx
push 3
movsx esi, al
push 0x80000000
push dword [ebp - 0x10]
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x28], esi
call fcn.004045f9
cmp dword [ebp + 0x18], ebx
jne 0x45fe9d
lea ecx, [ebp + 0x18]
call fcn.00402b27
jmp 0x45fc82
cmp esi, ebx
mov ecx, dword [ebp + 0x30]
jle 0x45feae
mov eax, ecx
and eax, 0x1ff
mov dword [ebp + 0x38], eax
mov eax, dword [ebp + 0x38]
cdq
sub ecx, eax
mov eax, dword [ebp + 0x34]
sbb eax, edx
cmp eax, ebx
mov esi, ecx
mov edi, eax
jl 0x45fef2
jg 0x45fec7
cmp ecx, ebx
jbe 0x45fef2
push ebx
push eax
push ecx
push dword [ebp + 0x18]
call fcn.0043181b
add esp, 0x10
cmp eax, esi
jne 0x45fedd
cmp edx, edi
je 0x45fef2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea ecx, [ebp + 0x18]
mov esi, eax
call fcn.00402b27
jmp 0x45fe3b
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
je 0x45fefe
add eax, ecx
lea esi, [eax + 0x8000]
lea eax, [esi + 0x102a00]
push eax
lea ecx, [ebp + 0x58]
mov dword [ebp - 0x24], esi
call fcn.00435c56
mov eax, dword [ebp + 0x58]
add eax, 0x100000
and eax, 0xfff00000
lea ecx, [eax + esi + 0x2800]
add esi, 0x2a00
push esi
push ebx
push eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], ecx
call fcn.0047fd70
mov eax, dword [ebp - 0x20]
add esp, 0xc
xor edi, edi
cmp byte [ebp + 4], bl
mov dword [ebp - 8], ebx
mov ecx, 0xfffffe00
jle 0x45ff5a
add eax, 0x1ff
and eax, ecx
cmp dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], eax
mov eax, dword [ebp + 0x1c]
jle 0x45ff6c
add eax, 0x1ff
and eax, ecx
cmp dword [ebp + 0x38], ebx
mov dword [ebp], eax
mov byte [ebp + 0x7b], bl
mov esi, 0x200
jle 0x45ffc1
push ebx
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, esi
sub edi, dword [ebp + 0x38]
mov eax, edi
cdq
sub dword [ebp + 0x60], eax
sbb dword [ebp + 0x64], edx
cmp dword [ebp + 0x64], ebx
jg 0x45ffae
jl 0x45ffab
cmp dword [ebp + 0x60], ebx
jae 0x45ffae
add edi, dword [ebp + 0x60]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x38]
push edi
add ecx, eax
push ecx
push eax
call fcn.00410296
add esp, 0xc
cmp dword [ebp + 0x3c], ebx
jle 0x46002a
push 1
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0043181b
add esp, 0x10
push ebx
mov dword [ebp + 0x44], eax
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp + 0x14]
mov dword [ebp + 0x48], edx
push dword [ebp + 0x68]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x3c]
push edi
add eax, esi
push esi
push eax
call fcn.00410296
push dword [ebp + 0x3c]
push dword [ebp + 0x14]
push esi
call fcn.00410296
add edi, dword [ebp + 0x3c]
push ebx
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0x68]
call fcn.0043181b
add esp, 0x28
cmp byte [ebp + 0x43], bl
je 0x46002a
mov byte [ebp + 0x7b], 1
cmp edi, ebx
mov byte [ebp + 0x52], 1
jg 0x4600f7
cmp dword [ebp + 0x64], ebx
jl 0x460102
jg 0x46004a
cmp dword [ebp + 0x60], ebx
jbe 0x460102
cmp byte [ebp + 0x52], bl
je 0x460102
cmp byte [ebp + 0x6f], bl
je 0x4600b5
mov eax, dword [ebp]
cdq
cmp edx, dword [ebp + 0x64]
jg 0x46006d
jl 0x460068
cmp eax, dword [ebp + 0x60]
ja 0x46006d
mov eax, dword [ebp]
jmp 0x460070
mov eax, dword [ebp + 0x60]
lea ecx, [eax + edi]
cmp ecx, dword [ebp - 0x24]
jle 0x46007d
mov eax, dword [ebp - 0x24]
sub eax, edi
cmp dword [ebp + 0x28], ebx
jle 0x46008c
add eax, 0x1ff
and eax, 0xfffffe00
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
push dword [ebp + 0x18]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x460102
cmp eax, dword [ebp + 0x60]
jbe 0x4600e0
mov eax, dword [ebp + 0x60]
jmp 0x4600dd
mov eax, dword [ebp + 0x2c]
cdq
cmp edx, dword [ebp + 0x64]
jg 0x4600ca
jl 0x4600c5
cmp eax, dword [ebp + 0x60]
ja 0x4600ca
mov eax, dword [ebp + 0x2c]
jmp 0x4600cd
mov eax, dword [ebp + 0x60]
lea ecx, [edi + eax]
cmp ecx, dword [ebp - 0x24]
mov dword [ebp - 4], eax
jbe 0x4600e0
mov eax, dword [ebp - 0x24]
sub eax, edi
mov dword [ebp - 4], eax
cmp dword [ebp + 0x60], 0xffffffff
jne 0x4600ef
cmp dword [ebp + 0x64], 0x7fffffff
je 0x4600f5
sub dword [ebp + 0x60], eax
sbb dword [ebp + 0x64], ebx
add edi, eax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x3c], eax
jmp 0x460311
cmp edi, ebx
jle 0x460347
mov eax, dword [ebp + 8]
mov byte [ebp + 0x52], bl
mov dword [ebp + 0x3c], eax
mov eax, dword [ebp + 0x2c]
cmp eax, edi
mov dword [ebp + 0x1c], eax
jle 0x460120
mov dword [ebp + 0x1c], edi
cmp byte [ebp + 4], bl
mov dword [ebp + 0x38], ebx
jle 0x460135
mov eax, dword [ebp + 0x1c]
and eax, 0x1ff
mov dword [ebp + 0x24], eax
jmp 0x460138
mov dword [ebp + 0x24], ebx
mov esi, dword [ebp + 0x1c]
sub esi, dword [ebp + 0x24]
cmp esi, ebx
mov dword [ebp + 0x34], esi
jle 0x46019d
push ebx
lea eax, [ebp + 0x38]
push eax
push esi
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call fcn.004349af
add esp, 0x14
test eax, eax
jne 0x4602c0
cmp byte [ebp + 0x5f], bl
jne 0x460253
call dword [sym.imp.KERNEL32.DLL_GetLastError]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, ebx
jne 0x46017d
xor eax, eax
inc eax
mov dword [ebp], eax
lea ecx, [ebp + 0x58]
call fcn.0043092f
lea ecx, [ebp + 0x18]
call fcn.00402b27
lea ecx, [ebp - 0x10]
call fcn.0043092f
jmp 0x4607b2
cmp dword [ebp + 0x24], ebx
jle 0x46021e
mov esi, 0x200
push esi
push ebx
push dword [ebp + 0x14]
call fcn.0047fd70
sub esi, dword [ebp + 0x24]
push 1
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0043181b
add esp, 0x1c
push ebx
mov dword [ebp + 0x44], eax
lea eax, [ebp - 4]
push eax
push 0x200
push dword [ebp + 0x14]
mov dword [ebp + 0x48], edx
push dword [ebp + 0x68]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x24]
add eax, ecx
push esi
push eax
mov eax, dword [ebp + 0x3c]
add eax, edi
push eax
call fcn.00410296
push ebx
push dword [ebp + 0x48]
add edi, esi
push dword [ebp + 0x44]
mov dword [ebp + 0x1c], 0x200
push dword [ebp + 0x68]
call fcn.0043181b
mov esi, dword [ebp + 0x34]
add esp, 0x1c
cmp byte [ebp + 0x43], bl
je 0x46021e
mov byte [ebp + 0x7b], 1
cmp dword [ebp + 0x1c], ebx
mov dword [ebp + 0x38], ebx
jle 0x4602f2
push ebx
lea eax, [ebp + 0x38]
push eax
push dword [ebp + 0x1c]
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x4602f2
cmp byte [ebp + 0x5f], bl
je 0x460340
mov byte [ebp + 0x5f], 2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov al, byte [ebp + 0x5f]
lea ecx, [ebp + 0x68]
mov byte [ebp + 0x5d], al
mov byte [ebp + 0x5f], bl
mov dword [ebp + 0x38], ebx
call fcn.00402b27
push ebx
push ebx
push 4
push ebx
push ebx
push 0xc0000000
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004045f9
cmp dword [ebp + 0x68], ebx
jne 0x46029e
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004045f9
push ebx
lea eax, [ebp + 0x38]
push eax
push esi
push dword [ebp + 0x3c]
push dword [ebp + 0x68]
call fcn.004349af
add esp, 0x14
test eax, eax
je 0x46016a
cmp byte [ebp + 0x5d], 2
je 0x4602f2
cmp dword [ebp + 0x38], esi
jbe 0x4602c8
mov dword [ebp + 0x38], esi
cmp byte [ebp + 0x7b], bl
je 0x4602df
push dword [ebp + 0x38]
push ebx
push dword [ebp + 0x3c]
call fcn.0047fd70
add esp, 0xc
mov byte [ebp + 0x7b], bl
mov eax, dword [ebp + 0x38]
sub dword [ebp + 0x1c], eax
sub edi, eax
add dword [ebp + 0x3c], esi
mov byte [ebp + 0x5f], bl
jmp 0x46019d
cmp byte [ebp + 0x7b], bl
je 0x460309
push dword [ebp + 0x38]
push ebx
push dword [ebp + 0x3c]
call fcn.0047fd70
add esp, 0xc
mov byte [ebp + 0x7b], bl
mov eax, dword [ebp + 0x38]
add dword [ebp + 0x3c], eax
sub edi, eax
cmp edi, dword [ebp - 0x20]
jge 0x460113
cmp edi, ebx
jle 0x460036
mov eax, dword [ebp + 0x3c]
cmp dword [ebp + 8], eax
je 0x460036
push edi
push eax
push dword [ebp + 8]
call fcn.00410296
add esp, 0xc
jmp 0x460036
mov dword [ebp - 8], 1
cmp dword [ebp - 8], ebx
jne 0x460170
cmp dword [ebp + 0x64], ebx
jl 0x460373
jg 0x46035c
cmp dword [ebp + 0x60], ebx
jbe 0x460373
cmp dword [ebp + 0x60], 0xffffffff
jne 0x460170
cmp dword [ebp + 0x64], 0x7fffffff
jne 0x460170
mov dword [ebp], ebx
jmp 0x460180
lea ecx, [ebp + 0x68]
call fcn.00402b27
lea ecx, [ebp - 0x1c]
call fcn.0043092f
mov esi, 0x80070057
lea ecx, [ebp + 0xc]
call fcn.0043092f
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x70
leave
ret 8
xor edi, edi
cmp byte [ebp + 4], 0x11
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
mov dword [ebp - 8], ebx
jne 0x4603f3
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x58]
push dword [ebp + 0x68]
call fcn.0043cbe0
add esp, 0xc
cmp edx, ebx
mov edi, eax
mov dword [ebp - 8], edx
jg 0x46045e
jl 0x4603de
cmp edi, ebx
jae 0x46045e
lea ecx, [ebp + 0x68]
call fcn.00402b27
lea ecx, [ebp - 0x1c]
call fcn.0043092f
jmp 0x45f816
cmp dword [ebp + 0x68], ebx
je 0x460463
cmp byte [ebp + 4], bl
jne 0x460436
push 2
push ebx
push ebx
push dword [ebp + 0x68]
call fcn.0043181b
mov ecx, dword [ebp + 0x44]
add esp, 0x10
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x48]
sub ecx, 0x400
sbb eax, ebx
cmp edx, eax
mov dword [ebp + 0x64], edx
jg 0x46045e
jl 0x46042b
cmp dword [ebp + 0x60], ecx
jae 0x46045e
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x46045e
push dword [ebp + 4]
push dword [ebp + 0x68]
call fcn.0043493d
cmp edx, ebx
pop ecx
pop ecx
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], edx
jg 0x46045e
jl 0x460453
cmp eax, ebx
jae 0x46045e
or dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x64], 0x7fffffff
cmp dword [ebp + 0x68], ebx
jne 0x4604a2
cmp byte [ebp + 4], bl
jne 0x460490
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0xc]
call fcn.0043c9c5
add esp, 0xc
push ebx
push ebx
push 4
push ebx
push 3
push esi
push dword [ebp + 0xc]
lea ecx, [ebp + 0x68]
call fcn.004045f9
mov byte [ebp + 0x4f], 1
cmp dword [ebp + 0x68], ebx
jne 0x4604a2
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
jmp 0x45fe43
cmp byte [ebp + 0x4f], bl
je 0x4604b7
cmp byte [ebp + 4], bl
jne 0x4604b7
or dword [ebp + 0x60], 0xffffffff
mov dword [ebp + 0x64], 0x7fffffff
cmp byte [ebp + 4], bl
mov dword [ebp + 0x18], ebx
je 0x4604ca
mov eax, dword [ebp + 0x44]
and eax, 0x1ff
mov dword [ebp + 0x18], eax
mov ecx, dword [ebp + 0x44]
mov esi, dword [ebp + 0x48]
mov eax, dword [ebp + 0x60]
add ecx, edi
adc esi, dword [ebp - 8]
mov edi, dword [ebp + 0x64]
sub eax, ecx
mov dword [ebp - 0xc], eax
movzx eax, word [ebp + 0x18]
cdq
sbb edi, esi
sub ecx, eax
push ebx
sbb esi, edx
push esi
push ecx
push dword [ebp + 0x68]
mov dword [ebp + 0x14], ebx
call fcn.0043181b
add esp, 0x10
cmp edx, ebx
jg 0x46051b
jl 0x460506
cmp eax, ebx
jae 0x46051b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
lea ecx, [ebp + 0x14]
mov esi, eax
call fcn.0043092f
jmp 0x45fe43
cmp byte [ebp + 0x6f], bl
je 0x46055b
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x64]
cdq
cmp ecx, edx
jl 0x460537
jg 0x460532
cmp dword [ebp + 0x60], eax
jbe 0x460537
mov dword [ebp + 0x60], eax
mov ecx, edx
cmp ecx, ebx
jl 0x4607a1
jg 0x46054a
cmp dword [ebp + 0x60], ebx
jbe 0x4607a1
push dword [ebp + 4]
movzx eax, word [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0x60]
push dword [ebp + 8]
jmp 0x4605c9
cmp dword [ebp + 0x24], ebx
jl 0x46057f
jg 0x460567
cmp dword [ebp + 0x20], ebx
jb 0x46057f
cmp dword [ebp + 0x24], edi
jg 0x46057f
jl 0x460576
mov eax, dword [ebp + 0x20]
cmp eax, dword [ebp - 0xc]
jae 0x46057f
mov eax, dword [ebp + 0x20]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
cmp byte [ebp + 0x5d], bl
mov eax, dword [ebp + 8]
mov dword [ebp + 0x78], eax
je 0x4605d9
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
lea ecx, [ebp + 0x14]
call fcn.00435cea
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, eax
cdq
cmp edx, edi
jl 0x4605b1
jg 0x4605ae
cmp eax, dword [ebp - 0xc]
jbe 0x4605b1
mov ecx, dword [ebp - 0xc]
cmp ecx, ebx
jle 0x4607a1
push dword [ebp + 4]
movzx eax, word [ebp + 0x18]
push eax
mov eax, ecx
cdq
push edx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x68]
call fcn.0043d444
add esp, 0x18
jmp 0x4607a1
movzx ecx, word [ebp + 0x18]
mov eax, 0x200
sub eax, ecx
lea esi, [ebp - 0x22c]
mov dword [ebp + 0x28], eax
mov al, byte [ebp + 0x52]
and esi, 0xfffffe00
cmp edi, ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x48], ebx
mov byte [ebp + 0x5d], bl
mov byte [ebp + 0x6f], al
jl 0x4607a1
jle 0x460798
cmp dword [ebp + 0x48], ebx
jg 0x460628
jl 0x46061c
cmp dword [ebp + 0x44], ebx
ja 0x460628
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x4607a1
cmp dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
jle 0x4607a1
cmp edi, ebx
jl 0x460765
jg 0x460647
cmp dword [ebp - 0xc], ebx
jbe 0x460765
cmp dword [ebp + 0x48], ebx
jg 0x460740
jl 0x46065b
cmp dword [ebp + 0x44], ebx
ja 0x460740
mov eax, dword [ebp + 0x78]
cmp word [eax], bx
je 0x460765
lea eax, [ebp + 0x78]
push eax
call fcn.00430961
mov eax, dword [ebp + 0x78]
cmp word [eax], 0x2a
pop ecx
mov dword [ebp + 0x58], eax
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
jne 0x4606c1
inc eax
inc eax
mov dword [ebp + 0x78], eax
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.0043aabb
mov eax, dword [ebp + 0x78]
pop ecx
pop ecx
jmp 0x4606c1
cmp cx, 0x30
jb 0x4606a8
cmp cx, 0x39
jbe 0x4606c9
cmp byte [ebp + 0x6f], bl
je 0x4606bc
or ecx, 0x20
cmp cx, 0x61
jb 0x4606bc
cmp cx, 0x7a
jbe 0x4606c9
inc eax
inc eax
mov dword [ebp + 0x78], eax
mov cx, word [eax]
cmp cx, bx
jne 0x46069c
cmp word [eax], 0x30
jne 0x4606e9
mov cx, word [eax + 2]
or cx, 0x20
cmp cx, 0x78
jne 0x4606e9
add eax, 4
mov byte [ebp + 0x6f], 1
mov dword [ebp + 0x78], eax
jmp 0x4606ee
cmp byte [ebp + 0x6f], bl
je 0x46071e
push 2
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x64], ebx
call fcn.004368b7
mov eax, dword [ebp + 0x78]
movzx eax, word [eax]
push eax
call fcn.004103b8
add esp, 0x10
test al, al
jne 0x460732
mov al, byte [ebp + 0x52]
mov byte [ebp + 0x6f], al
jmp 0x460732
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x78]
push eax
call fcn.00438b8e
cmp eax, 1
pop ecx
pop ecx
jl 0x460765
mov eax, dword [ebp + 0x78]
cmp eax, dword [ebp + 0x58]
je 0x460765
mov al, byte [ebp + 0x60]
mov byte [ebp + 0x5d], al
add dword [ebp + 0x44], 0xffffffff
mov eax, dword [ebp + 0x2c]
mov cl, byte [ebp + 0x5d]
adc dword [ebp + 0x48], 0xffffffff
mov byte [eax + esi], cl
inc eax
add dword [ebp - 0xc], 0xffffffff
mov dword [ebp + 0x2c], eax
adc edi, 0xffffffff
cmp eax, dword [ebp + 0x28]
jl 0x460634
cmp dword [ebp + 0x2c], ebx
jle 0x4607a1
push dword [ebp + 4]
movzx eax, word [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x2c]
cdq
push edx
push eax
push esi
push dword [ebp + 0x68]
call fcn.0043d444
add esp, 0x18
cmp edi, ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x28], 0x200
jg 0x460610
jl 0x4607a1
cmp dword [ebp - 0xc], ebx
ja 0x460610
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.DLL_FlushFileBuffers]
lea ecx, [ebp + 0x14]
call fcn.0043092f
cmp byte [ebp + 0x5e], bl
je 0x4607c0
push dword [ebp + 0x68]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
lea ecx, [ebp + 0x68]
call fcn.00402b27
lea ecx, [ebp - 0x1c]
call fcn.0043092f
mov esi, dword [ebp]
jmp 0x460390