Function at 0x45bd50
Capabilities:
Check if file exists
Copy file
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ea999
mov eax, dword fs:[0]
push eax
sub esp, 0x1e8
mov eax, dword [0x53f1e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
mov dword [ebp - 0x1ac], eax
mov eax, dword [esi + 0x5c]
xor ebx, ebx
mov dword [ebp - 0x1a0], esi
mov dword [ebp - 0x1a4], ecx
cmp eax, ebx
je 0x45bdac
push ebx
push ebx
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str.Zip_
add esi, 0x84
lea edx, [ebp - 0x160]
push esi
push edx
call fcn.00403a10
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14c], 8
mov eax, dword [ebp - 0x160]
jae 0x45bddf
lea eax, [ebp - 0x160]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push eax
call edi
push str.Unzip_
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.00403a10
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0xa4], 8
mov eax, dword [ebp - 0xb8]
jae 0x45be17
lea eax, [ebp - 0xb8]
push ebx
push eax
call edi
push str.Backup_
lea ecx, [ebp - 0x80]
push esi
push ecx
call fcn.00403a10
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0x6c], 8
mov eax, dword [ebp - 0x80]
jae 0x45be3d
lea eax, [ebp - 0x80]
push ebx
push eax
call edi
cmp dword [0x5430b8], ebx
je 0x45beb4
mov esi, 8
cmp dword [ebp - 0x6c], esi
jb 0x45be5f
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b1676
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0xa4], esi
jb 0x45be87
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
cmp dword [ebp - 0x14c], esi
jb 0x45c1ef
mov eax, dword [ebp - 0x160]
push eax
jmp 0x45c1e7
lea ecx, [ebp - 0x1e0]
push ecx
call fcn.00415290
mov edi, dword [ebp - 0x1a0]
lea edx, [edi + 4]
mov esi, 7
xor eax, eax
mov dword [ebp - 0x1b8], edx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], ax
xor ecx, ecx
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], cx
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
mov bl, 9
mov byte [ebp - 4], bl
test byte [0x5432a4], 1
jne 0x45bf6b
or dword [0x5432a4], 1
mov byte [ebp - 4], 0xa
call fcn.0043fb30
push 0x4ec560
call fcn.004b3d86
add esp, 4
mov byte [ebp - 4], bl
mov edx, dword [0x543424]
fild dword [0x543424]
test edx, edx
jns 0x45bf81
fadd dword [0x510db8]
test byte [0x5432a4], 1
fstp dword [ebp - 0x1b4]
jne 0x45bfb0
or dword [0x5432a4], 1
mov byte [ebp - 4], 0xb
call fcn.0043fb30
push 0x4ec560
call fcn.004b3d86
add esp, 4
mov byte [ebp - 4], bl
add edi, 0xa0
lea eax, [ebp - 0x17c]
push edi
push eax
mov ebx, 0x543404
call fcn.0042dc30
push eax
mov eax, 0x507958
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0xc
call fcn.004039a0
add esp, 0xc
mov edi, 8
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x168], edi
jb 0x45c000
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.004b1676
add esp, 4
mov eax, dword [0x543420]
mov ecx, dword [eax]
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x168], esi
mov dword [ebp - 0x16c], ebx
mov word [ebp - 0x17c], dx
mov dword [ebp - 0x19c], ecx
mov dword [ebp - 0x1ec], ebx
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1e4], ebx
mov dword [ebp - 0x1b0], 1
cmp ecx, eax
jne 0x45c216
mov edx, dword [ebp - 0x1a0]
mov eax, dword [edx + 0x5c]
cmp eax, ebx
je 0x45c064
push 0x64
push ebx
push 0x4c9
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x130], edi
jb 0x45c083
mov eax, dword [ebp - 0x144]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0xf8], 0x10
mov word [ebp - 0x144], cx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], esi
jb 0x45c0b0
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004b1676
add esp, 4
mov byte [ebp - 0x10c], bl
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], ebx
cmp dword [ebp - 0x88], edi
jb 0x45c0dd
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x18], edi
jb 0x45c103
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1676
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], edi
jb 0x45c120
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0xdc], edi
jb 0x45c143
mov eax, dword [ebp - 0xf0]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], cx
cmp dword [ebp - 0xc0], edi
jb 0x45c16f
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004b1676
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov word [ebp - 0xd4], ax
call fcn.00415390
cmp dword [ebp - 0x6c], edi
jb 0x45c1a0
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
mov word [ebp - 0x80], dx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0xa4], edi
jb 0x45c1c3
mov eax, dword [ebp - 0xb8]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov word [ebp - 0xb8], cx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], esi
cmp dword [ebp - 0x14c], edi
jb 0x45c1ef
mov edx, dword [ebp - 0x160]
push edx
call fcn.004b1676
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b1681
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x19c]
cmp dword [0x5430b8], ebx
jne 0x45c918
mov ebx, dword [ecx + 8]
lea eax, [ebp - 0x144]
push eax
lea edx, [ebp - 0x128]
push edx
call fcn.0042dc30
add esp, 8
mov edi, eax
lea esi, [ebp - 0xd4]
mov byte [ebp - 4], 0xf
call fcn.00404350
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x114], 8
jb 0x45c268
mov eax, dword [ebp - 0x128]
push eax
call fcn.004b1676
add esp, 4
mov eax, dword [ebp - 0x19c]
mov ebx, dword [eax + 8]
lea ecx, [ebp - 0x160]
push ecx
lea edx, [ebp - 0x128]
push edx
call fcn.0042dc30
add esp, 8
mov edi, eax
lea esi, [ebp - 0xf0]
mov byte [ebp - 4], 0x10
call fcn.00404350
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x114], 8
jb 0x45c2b4
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004b1676
add esp, 4
mov edx, dword [ebp - 0x19c]
mov ebx, dword [edx + 8]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x128]
add ebx, 0x70
push ecx
call fcn.0042dc30
add esp, 8
mov edi, eax
lea esi, [ebp - 0x9c]
mov byte [ebp - 4], 0x11
call fcn.00404350
mov esi, 8
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x114], esi
jb 0x45c307
mov edx, dword [ebp - 0x128]
push edx
call fcn.004b1676
add esp, 4
mov eax, dword [ebp - 0x9c]
cmp dword [ebp - 0x88], esi
jae 0x45c31b
lea eax, [ebp - 0x9c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 1
mov eax, 0x5062dc
lea ecx, [ebp - 0x9c]
call fcn.00403f00
mov eax, dword [ebp - 0x19c]
mov ebx, dword [eax + 8]
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x128]
add ebx, 0x38
push edx
call fcn.0042dc30
add esp, 8
mov edi, eax
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 0x12
call fcn.00404350
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x114], 8
jb 0x45c382
mov eax, dword [ebp - 0x128]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
push 0xffffffffffffffff
push ecx
lea edx, [ebp - 0x64]
mov word [ebp - 0x48], cx
push edx
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
call fcn.00404530
mov bl, 0x13
push 1
mov eax, 0x510280
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00403f00
mov edi, dword [ebp - 0x19c]
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x128]
add ecx, 0x54
push eax
call fcn.0042a410
add esp, 4
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 0x14
call fcn.00403e00
mov byte [ebp - 4], bl
cmp dword [ebp - 0x114], 8
jb 0x45c401
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004b1676
add esp, 4
mov ebx, dword [edi + 8]
add ebx, 0x54
lea ecx, [ebp - 0x48]
call fcn.0045b0a0
cmp al, 1
je 0x45c636
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x64]
add ecx, 0x54
push edx
call fcn.0045b000
cmp al, 1
jne 0x45c452
mov ecx, dword [ebp - 0x48]
mov esi, 8
cmp dword [ebp - 0x34], esi
jae 0x45c43a
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x45c445
lea eax, [ebp - 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x45c63b
mov edx, dword [ebp - 0xf0]
mov edi, 8
cmp dword [ebp - 0xdc], edi
jae 0x45c46b
lea edx, [ebp - 0xf0]
xor eax, eax
mov word [ebp - 0x128], ax
mov eax, edx
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], 0
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45c490
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x128]
call fcn.00404960
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0xc0], edi
jae 0x45c4c4
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x1e0]
push ecx
lea ebx, [ebp - 0x128]
call fcn.00415b30
test al, al
sete bl
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x114], edi
jb 0x45c4f7
mov edx, dword [ebp - 0x128]
push edx
call fcn.004b1676
add esp, 4
test bl, bl
jne 0x45caae
xor ebx, ebx
cmp dword [0x5430b8], ebx
jne 0x45ccb9
mov eax, dword [ebp - 0x1ac]
push 0x5430b8
push eax
lea ecx, [ebp - 0x1ec]
push ecx
lea eax, [ebp - 0x9c]
lea ecx, [ebp - 0xf0]
call fcn.004057d0
add esp, 0xc
test al, al
je 0x45cce0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x45c54f
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x45c55a
lea eax, [ebp - 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [0x5430b8], ebx
jne 0x45cd8a
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x128]
call fcn.004055f0
add esp, 4
mov edi, eax
lea esi, [ebp - 0x10c]
mov byte [ebp - 4], 0x17
call fcn.00401de0
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x13
call fcn.00401e80
mov esi, dword [ebp - 0x19c]
mov eax, dword [esi + 8]
add eax, 0x54
mov ecx, 0x10
cmp dword [eax + 0x14], ecx
jb 0x45c5b8
mov eax, dword [eax]
cmp dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0x10c]
jae 0x45c5cc
lea ecx, [ebp - 0x10c]
push eax
push ecx
call fcn.004b5b17
add esp, 8
test eax, eax
je 0x45c6da
lea edx, [ebp - 0x198]
push 0x5102b0
push edx
lea ebx, [ebp - 0xd4]
call fcn.0040add0
add esp, 8
mov esi, dword [ebp - 0x1ac]
mov edi, eax
mov byte [ebp - 4], 0x18
call fcn.00404350
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x13
call fcn.00404a50
mov eax, dword [ebp - 0x1a4]
push eax
mov edx, 0x5102d0
call fcn.00404090
lea ecx, [ebp - 0x48]
call fcn.00404a50
jmp 0x45cd13
mov esi, 8
mov eax, dword [0x53ef48]
mov edx, dword [eax + 0xc]
mov ecx, 0x53ef48
call edx
add eax, 0x10
mov dword [ebp - 0x1a8], eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x45c662
lea eax, [ebp - 0x48]
push eax
push 0x510304
lea edi, [ebp - 0x1a8]
call fcn.00408a70
mov eax, dword [0x5430d8]
mov ebx, dword [ebp - 0x1a8]
add esp, 8
test eax, eax
je 0x45c6b2
cmp dword [eax + 8], 4
mov edi, eax
jl 0x45c6b2
push 0x50ffd8
push 4
push ecx
mov eax, esp
mov dword [ebp - 0x1f0], esp
push eax
mov ecx, ebx
mov esi, 0x204
call fcn.00408620
push edi
mov ecx, esi
call fcn.0042c420
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45c6d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x19c]
xor ebx, ebx
cmp dword [0x5430b8], ebx
jne 0x45ce07
mov eax, dword [esi + 8]
cmp byte [eax + 0x8c], 0
je 0x45c824
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x198]
lea ebx, [eax + 0x70]
push edx
call fcn.0042dc30
add esp, 8
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
call fcn.00404350
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x13
call fcn.00404a50
cmp dword [ebx + 0x10], 0
mov edi, 8
je 0x45c747
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x45c73e
mov eax, esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 1
mov eax, 0x5062dc
lea ecx, [ebp - 0x2c]
call fcn.00403f00
mov ebx, dword [ebp - 0x19c]
mov eax, dword [ebx + 8]
add eax, 0x38
push 0
push eax
or eax, 0xffffffff
lea esi, [ebp - 0x2c]
call fcn.00403e00
mov eax, dword [ebp - 0x1a0]
push 0x5062dc
add eax, 0x24
push eax
lea ecx, [ebp - 0x198]
push ecx
call fcn.00403a10
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x1b
mov eax, dword [ebx + 8]
add eax, 0x1c
lea ebx, [ebp - 0x128]
call fcn.00403b00
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0x1d
call fcn.00404a50
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jae 0x45c7c4
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c800
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x45c7da
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jae 0x45c7ee
lea eax, [ebp - 0x128]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x45ce7e
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x13
call fcn.00404a50
cmp dword [0x5430b8], 0
jne 0x45cd8a
mov esi, dword [ebp - 0x19c]
xor ebx, ebx
push 0x74
call fcn.004b1d85
add esp, 4
cmp eax, ebx
je 0x45c83b
call fcn.0045bd10
mov edi, eax
jmp 0x45c83d
xor edi, edi
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x48]
push edx
mov ecx, edi
mov dword [ebp - 0x1a8], edi
call fcn.00404530
mov eax, dword [esi + 8]
push 0xffffffffffffffff
add eax, 0x1c
push ebx
lea ecx, [edi + 0x1c]
push eax
call fcn.00404530
mov eax, dword [esi + 8]
cmp byte [eax + 0x8c], 0
je 0x45c87e
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
lea ecx, [edi + 0x38]
push edx
call fcn.00404530
mov eax, dword [esi + 8]
push 0xffffffffffffffff
add eax, 0x70
push ebx
lea ecx, [edi + 0x54]
push eax
call fcn.00404530
mov ebx, dword [ebp - 0x1a0]
mov byte [edi + 0x70], 0
lea edi, [ebx + 0xbc]
lea eax, [ebp - 0x1a8]
call fcn.0045f570
cmp dword [0x5430b8], 0
jne 0x45cd8a
mov edi, dword [ebx + 0x5c]
test edi, edi
je 0x45c8e5
fild dword [ebp - 0x1b0]
fdiv dword [ebp - 0x1b4]
fmul qword [0x510db0]
call fcn.004ba5c0
push eax
push 0
push 0x4c9
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
call fcn.00404a50
mov esi, dword [esi]
inc dword [ebp - 0x1b0]
xor ebx, ebx
cmp esi, dword [0x543420]
mov dword [ebp - 0x19c], esi
lea esi, [ebx + 7]
jne 0x45c210
lea edi, [ebx + 8]
jmp 0x45c048
mov edi, 8
cmp dword [ebp - 0x130], edi
jb 0x45c934
mov eax, dword [ebp - 0x144]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0xf8], 0x10
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x134], ebx
mov word [ebp - 0x144], cx
jb 0x45c961
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004b1676
add esp, 4
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
cmp dword [ebp - 0x88], edi
jb 0x45c98e
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x18], edi
jb 0x45c9b4
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1676
add esp, 4
xor eax, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x50], edi
jb 0x45c9d1
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
cmp dword [ebp - 0xdc], edi
jb 0x45c9f4
mov eax, dword [ebp - 0xf0]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], cx
cmp dword [ebp - 0xc0], edi
jb 0x45ca20
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004b1676
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov word [ebp - 0xd4], ax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xc4], ebx
mov dword [ebp - method.CHttpClient.virtual_0], vtable.CHttpClient.0
cmp eax, ebx
je 0x45ca5c
push eax
call edi
mov dword [ebp - 0x1d4], ebx
mov eax, dword [ebp - 0x1d8]
cmp eax, ebx
je 0x45ca6f
push eax
call edi
mov dword [ebp - 0x1d8], ebx
mov eax, dword [ebp - 0x1dc]
cmp eax, ebx
je 0x45ca82
push eax
call edi
mov dword [ebp - 0x1dc], ebx
mov eax, dword [ebp - 0x1c0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45caa4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 8
jmp 0x45c18f
lea eax, [ebp - 0x17c]
push 0x5102d8
push eax
lea ebx, [ebp - 0xd4]
call fcn.0040add0
add esp, 8
mov esi, dword [ebp - 0x1ac]
mov edi, eax
mov byte [ebp - 4], 0x16
call fcn.00404350
mov esi, 8
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x168], esi
jb 0x45caf9
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.004b1676
add esp, 4
mov ecx, dword [ebp - 0x1a4]
push 3
push 0x5102f4
call fcn.00404960
cmp dword [ebp - 0x34], esi
jb 0x45cb1c
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b1676
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x130], esi
jb 0x45cb46
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
cmp dword [ebp - 0xf8], 0x10
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x134], ebx
mov word [ebp - 0x144], dx
jb 0x45cb73
mov eax, dword [ebp - 0x10c]
push eax
call fcn.004b1676
add esp, 4
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
cmp dword [ebp - 0x88], esi
jb 0x45cba0
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0x18], esi
jb 0x45cbc6
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x50], esi
jb 0x45cbe3
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b1676
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp - 0xdc], esi
jb 0x45cc06
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xe0], ebx
mov word [ebp - 0xf0], dx
cmp dword [ebp - 0xc0], esi
jb 0x45cc32
mov eax, dword [ebp - 0xd4]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov word [ebp - 0xd4], cx
lea ecx, [ebp - 0x1e0]
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xc4], ebx
call fcn.00415390
cmp dword [ebp - 0x6c], esi
jb 0x45cc63
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b1676
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], ax
cmp dword [ebp - 0xa4], esi
jb 0x45cc86
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], dx
cmp dword [ebp - 0x14c], esi
jb 0x45ccb2
mov eax, dword [ebp - 0x160]
push eax
call fcn.004b1676
add esp, 4
xor al, al
jmp 0x45c1f1
cmp dword [ebp - 0x34], edi
jb 0x45ccca
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b1676
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
jmp 0x45c06c
mov ecx, dword [ebp - 0x1a4]
push 3
push 0x5102fc
call fcn.00404960
cmp dword [ebp - 0x34], edi
jb 0x45cd03
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
lea ecx, [ebp - 0x144]
call fcn.00404a50
lea ecx, [ebp - 0x10c]
call fcn.00401e80
lea ecx, [ebp - 0x9c]
call fcn.00404a50
lea ecx, [ebp - 0x2c]
call fcn.00404a50
lea ecx, [ebp - 0x64]
call fcn.00404a50
lea ecx, [ebp - 0xf0]
call fcn.00404a50
lea ecx, [ebp - 0xd4]
call fcn.00404a50
lea ecx, [ebp - 0x1e0]
call fcn.00415390
lea ecx, [ebp - 0x80]
call fcn.00404a50
lea ecx, [ebp - 0xb8]
call fcn.00404a50
lea ecx, [ebp - 0x160]
call fcn.00404a50
xor al, al
jmp 0x45c1f1
lea ecx, [ebp - 0x48]
call fcn.00404a50
lea ecx, [ebp - 0x144]
call fcn.00404a50
lea ecx, [ebp - 0x10c]
call fcn.00401e80
lea ecx, [ebp - 0x9c]
call fcn.00404a50
lea ecx, [ebp - 0x2c]
call fcn.00404a50
lea ecx, [ebp - 0x64]
call fcn.00404a50
lea ecx, [ebp - 0xf0]
call fcn.00404a50
lea ecx, [ebp - 0xd4]
call fcn.00404a50
lea ecx, [ebp - 0x1e0]
call fcn.00415390
lea ecx, [ebp - 0x80]
call fcn.00404a50
lea ecx, [ebp - 0xb8]
call fcn.00404a50
lea ecx, [ebp - 0x160]
call fcn.00404a50
jmp 0x45c1ef
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x45ce1d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b1676
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x130], edi
jb 0x45ce45
mov eax, dword [ebp - 0x144]
push eax
call fcn.004b1676
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0xf8], 0x10
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x134], ebx
mov word [ebp - 0x144], cx
jb 0x45ce72
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004b1676
add esp, 4
mov byte [ebp - 0x10c], 0
jmp 0x45c0b6
lea eax, [ebp - 0x17c]
push 0x510338
push eax
lea ebx, [ebp - 0x128]
call fcn.0040add0
add esp, 8
mov esi, dword [ebp - 0x1ac]
mov edi, eax
mov byte [ebp - 4], 0x1e
call fcn.00404350
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x1d
call fcn.00404a50
mov ecx, dword [ebp - 0x1a4]
push ecx
mov edx, 0x510354
call fcn.00404090
mov ecx, ebx
call fcn.00404a50
lea ecx, [ebp - 0x48]
call fcn.00404a50
jmp 0x45cd13