Function at 0x45d480
Capabilities:
Check if file exists
Copy file
Create directory
Move file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4eae09
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
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 - 0x1a4], esi
mov dword [ebp - 0x1a8], ecx
cmp eax, ebx
je 0x45d4dc
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 0x45d50f
lea eax, [ebp - 0x160]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push eax
call edi
push str.Unzip_
lea eax, [ebp - 0x9c]
push esi
push eax
call fcn.00403a10
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [ebp - 0x88], 8
mov eax, dword [ebp - 0x9c]
jae 0x45d547
lea eax, [ebp - 0x9c]
push ebx
push eax
call edi
push str.Backup_
lea ecx, [ebp - 0xb8]
push esi
push ecx
call fcn.00403a10
add esp, 0xc
mov byte [ebp - 4], 2
cmp dword [ebp - 0xa4], 8
mov eax, dword [ebp - 0xb8]
jae 0x45d579
lea eax, [ebp - 0xb8]
push ebx
push eax
call edi
cmp dword [0x5430b8], ebx
je 0x45d5ff
mov esi, 8
cmp dword [ebp - 0xa4], esi
jb 0x45d5a1
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004b1c22
add esp, 4
xor eax, eax
mov edi, 7
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x88], esi
jb 0x45d5d2
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b1c22
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0x14c], esi
jb 0x45d932
mov eax, dword [ebp - 0x160]
push eax
jmp 0x45d92a
lea ecx, [ebp - 0x1e0]
push ecx
call fcn.00415290
mov edi, dword [ebp - 0x1a4]
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 - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], 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 0x45d6ad
or dword [0x5432a4], 1
mov byte [ebp - 4], 0xa
call fcn.0043fb30
push 0x4ecbf0
call fcn.004b4336
add esp, 4
mov byte [ebp - 4], bl
mov edx, dword [0x543424]
fild dword [0x543424]
test edx, edx
jns 0x45d6c3
fadd dword [0x510ef0]
test byte [0x5432a4], 1
fstp dword [ebp - 0x1b4]
jne 0x45d6f2
or dword [0x5432a4], 1
mov byte [ebp - 4], 0xb
call fcn.0043fb30
push 0x4ecbf0
call fcn.004b4336
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 0x45d742
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.004b1c22
add esp, 4
mov ecx, dword [0x543420]
mov eax, dword [ecx]
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], eax
mov dword [ebp - 0x1ec], ebx
mov dword [ebp - 0x1e8], ebx
mov dword [ebp - 0x1e4], ebx
mov dword [ebp - 0x1b0], 1
cmp eax, ecx
jne 0x45d958
mov edx, dword [ebp - 0x1a4]
mov eax, dword [edx + 0x5c]
cmp eax, ebx
je 0x45d7a7
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 0x45d7c6
mov eax, dword [ebp - 0x144]
push eax
call fcn.004b1c22
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 0x45d7f3
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004b1c22
add esp, 4
mov byte [ebp - 0x10c], bl
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], ebx
cmp dword [ebp - 0x6c], edi
jb 0x45d81a
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x34], edi
jb 0x45d837
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b1c22
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], edi
jb 0x45d854
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b1c22
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 0x45d877
mov eax, dword [ebp - 0xf0]
push eax
call fcn.004b1c22
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 0x45d8a3
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004b1c22
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 - 0xa4], edi
jb 0x45d8da
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004b1c22
add esp, 4
xor edx, edx
mov word [ebp - 0xb8], dx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], esi
cmp dword [ebp - 0x88], edi
jb 0x45d906
mov eax, dword [ebp - 0x9c]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov word [ebp - 0x9c], cx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], esi
cmp dword [ebp - 0x14c], edi
jb 0x45d932
mov edx, dword [ebp - 0x160]
push edx
call fcn.004b1c22
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.004b1c2d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x19c]
cmp dword [0x5430b8], ebx
jne 0x45e011
mov ebx, dword [eax + 8]
lea ecx, [ebp - 0x144]
push ecx
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 0x45d9aa
mov eax, dword [ebp - 0x128]
push eax
call fcn.004b1c22
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 0x45d9f6
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004b1c22
add esp, 4
mov edx, dword [ebp - 0x19c]
mov ebx, dword [edx + 8]
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x128]
add ebx, 0x70
push ecx
call fcn.0042dc30
add esp, 8
mov edi, eax
lea esi, [ebp - 0x80]
mov byte [ebp - 4], 0x11
call fcn.00404350
mov esi, 8
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x114], esi
jb 0x45da46
mov edx, dword [ebp - 0x128]
push edx
call fcn.004b1c22
add esp, 4
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x6c], esi
jae 0x45da51
lea eax, [ebp - 0x80]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 1
mov eax, 0x5062dc
lea ecx, [ebp - 0x80]
call fcn.00403f00
mov eax, dword [ebp - 0x19c]
mov ebx, dword [eax + 8]
lea ecx, [ebp - 0x80]
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 0x45dab2
mov eax, dword [ebp - 0x128]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
push 0xffffffffffffffff
push ecx
lea edx, [ebp - 0x64]
mov word [ebp - 0x2c], cx
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00404530
mov bl, 0x13
push 1
mov eax, 0x5103b8
lea ecx, [ebp - 0x2c]
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 - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.00403e00
mov byte [ebp - 4], bl
cmp dword [ebp - 0x114], 8
jb 0x45db31
mov ecx, dword [ebp - 0x128]
push ecx
call fcn.004b1c22
add esp, 4
mov ebx, dword [edi + 8]
add ebx, 0x54
lea ecx, [ebp - 0x2c]
call fcn.0045b640
cmp al, 1
je 0x45dd5b
mov ecx, dword [edi + 8]
lea edx, [ebp - 0x64]
add ecx, 0x54
push edx
call fcn.0045b5a0
cmp al, 1
jne 0x45db82
mov ecx, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x45db6a
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x45db75
lea eax, [ebp - 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x45dd60
mov edx, dword [ebp - 0xf0]
mov edi, 8
cmp dword [ebp - 0xdc], edi
jae 0x45db9b
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 0x45dbc0
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 0x45dbf4
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 0x45dc27
mov edx, dword [ebp - 0x128]
push edx
call fcn.004b1c22
add esp, 4
test bl, bl
jne 0x45e198
xor ebx, ebx
cmp dword [0x5430b8], ebx
jne 0x45e3a3
mov eax, dword [ebp - 0x1ac]
push 0x5430b8
push eax
lea ecx, [ebp - 0x1ec]
push ecx
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0xf0]
call fcn.004057d0
add esp, 0xc
test al, al
je 0x45e3ca
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x45dc74
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x50], edi
jae 0x45dc7f
lea eax, [ebp - 0x64]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp dword [0x5430b8], ebx
jne 0x45e474
lea edx, [ebp - 0x2c]
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 0x45dcdd
mov eax, dword [eax]
cmp dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0x10c]
jae 0x45dcf1
lea ecx, [ebp - 0x10c]
push eax
push ecx
call fcn.004b60c7
add esp, 8
test eax, eax
je 0x45ddd0
lea edx, [ebp - 0x198]
push 0x5103e8
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 - 0x1a8]
push eax
mov edx, 0x510408
call fcn.00404090
lea ecx, [ebp - 0x2c]
call fcn.00404a50
jmp 0x45e3fd
mov esi, 8
mov eax, dword [0x53ef48]
mov edx, dword [eax + 0xc]
mov ecx, 0x53ef48
call edx
add eax, 0x10
mov dword [ebp - 0x1a0], eax
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x45dd87
lea eax, [ebp - 0x2c]
push eax
push 0x51043c
lea edi, [ebp - 0x1a0]
call fcn.00408a70
mov esi, dword [ebp - 0x1a0]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ddc8
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 0x45e4f1
mov eax, dword [esi + 8]
cmp byte [eax + 0x8c], 0
je 0x45df1d
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x198]
lea ebx, [eax + 0x70]
push edx
call fcn.0042dc30
add esp, 8
mov edi, eax
lea esi, [ebp - 0x48]
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 0x45de40
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x45de37
mov eax, esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 1
mov eax, 0x5062dc
lea ecx, [ebp - 0x48]
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 - 0x48]
call fcn.00403e00
mov eax, dword [ebp - 0x1a4]
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 0x45debd
mov eax, ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45def9
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], edi
jae 0x45ded3
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x114], edi
jae 0x45dee7
lea eax, [ebp - 0x128]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x45e568
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x13
call fcn.00404a50
cmp dword [0x5430b8], 0
jne 0x45e474
mov esi, dword [ebp - 0x19c]
xor ebx, ebx
push 0x74
call fcn.004b2335
add esp, 4
cmp eax, ebx
je 0x45df34
call fcn.0045c2b0
mov edi, eax
jmp 0x45df36
xor edi, edi
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x2c]
push edx
mov ecx, edi
mov dword [ebp - 0x1a0], 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 0x45df77
push 0xffffffffffffffff
push ebx
lea edx, [ebp - 0x48]
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 - 0x1a4]
mov byte [edi + 0x70], 0
lea edi, [ebx + 0xbc]
lea eax, [ebp - 0x1a0]
call fcn.0045fb10
cmp dword [0x5430b8], 0
jne 0x45e474
mov edi, dword [ebx + 0x5c]
test edi, edi
je 0x45dfde
fild dword [ebp - 0x1b0]
fdiv dword [ebp - 0x1b4]
fmul qword [0x510ee8]
call fcn.004bab70
push eax
push 0
push 0x4c9
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x2c]
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 0x45d952
lea edi, [ebx + 8]
jmp 0x45d78b
mov edi, 8
cmp dword [ebp - 0x130], edi
jb 0x45e02d
mov eax, dword [ebp - 0x144]
push eax
call fcn.004b1c22
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 0x45e05a
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004b1c22
add esp, 4
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
cmp dword [ebp - 0x6c], edi
jb 0x45e081
mov eax, dword [ebp - 0x80]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], cx
cmp dword [ebp - 0x34], edi
jb 0x45e09e
mov edx, dword [ebp - 0x48]
push edx
call fcn.004b1c22
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x50], edi
jb 0x45e0bb
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.004b1c22
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 0x45e0de
mov eax, dword [ebp - 0xf0]
push eax
call fcn.004b1c22
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 0x45e10a
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004b1c22
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 0x45e146
push eax
call edi
mov dword [ebp - 0x1d4], ebx
mov eax, dword [ebp - 0x1d8]
cmp eax, ebx
je 0x45e159
push eax
call edi
mov dword [ebp - 0x1d8], ebx
mov eax, dword [ebp - 0x1dc]
cmp eax, ebx
je 0x45e16c
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 0x45e18e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 8
jmp 0x45d8c3
lea eax, [ebp - 0x17c]
push 0x510410
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 0x45e1e3
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.004b1c22
add esp, 4
mov ecx, dword [ebp - 0x1a8]
push 3
push 0x51042c
call fcn.00404960
cmp dword [ebp - 0x18], esi
jb 0x45e206
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004b1c22
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
cmp dword [ebp - 0x130], esi
jb 0x45e230
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.004b1c22
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 0x45e25d
mov eax, dword [ebp - 0x10c]
push eax
call fcn.004b1c22
add esp, 4
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], ebx
mov byte [ebp - 0x10c], bl
cmp dword [ebp - 0x6c], esi
jb 0x45e284
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004b1c22
add esp, 4
xor edx, edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
cmp dword [ebp - 0x34], esi
jb 0x45e2a1
mov eax, dword [ebp - 0x48]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
cmp dword [ebp - 0x50], esi
jb 0x45e2be
mov edx, dword [ebp - 0x64]
push edx
call fcn.004b1c22
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 0x45e2e1
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.004b1c22
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 0x45e30d
mov eax, dword [ebp - 0xd4]
push eax
call fcn.004b1c22
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 - 0xa4], esi
jb 0x45e344
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004b1c22
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0xb8], ax
cmp dword [ebp - 0x88], esi
jb 0x45e370
mov ecx, dword [ebp - 0x9c]
push ecx
call fcn.004b1c22
add esp, 4
xor edx, edx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0x14c], esi
jb 0x45e39c
mov eax, dword [ebp - 0x160]
push eax
call fcn.004b1c22
add esp, 4
xor al, al
jmp 0x45d934
cmp dword [ebp - 0x18], edi
jb 0x45e3b4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1c22
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
jmp 0x45d7af
mov ecx, dword [ebp - 0x1a8]
push 3
push 0x510434
call fcn.00404960
cmp dword [ebp - 0x18], edi
jb 0x45e3ed
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b1c22
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
lea ecx, [ebp - 0x144]
call fcn.00404a50
lea ecx, [ebp - 0x10c]
call fcn.00401e80
lea ecx, [ebp - 0x80]
call fcn.00404a50
lea ecx, [ebp - 0x48]
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 - 0xb8]
call fcn.00404a50
lea ecx, [ebp - 0x9c]
call fcn.00404a50
lea ecx, [ebp - 0x160]
call fcn.00404a50
xor al, al
jmp 0x45d934
lea ecx, [ebp - 0x2c]
call fcn.00404a50
lea ecx, [ebp - 0x144]
call fcn.00404a50
lea ecx, [ebp - 0x10c]
call fcn.00401e80
lea ecx, [ebp - 0x80]
call fcn.00404a50
lea ecx, [ebp - 0x48]
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 - 0xb8]
call fcn.00404a50
lea ecx, [ebp - 0x9c]
call fcn.00404a50
lea ecx, [ebp - 0x160]
call fcn.00404a50
jmp 0x45d932
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x45e507
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004b1c22
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x130], edi
jb 0x45e52f
mov eax, dword [ebp - 0x144]
push eax
call fcn.004b1c22
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 0x45e55c
mov edx, dword [ebp - 0x10c]
push edx
call fcn.004b1c22
add esp, 4
mov byte [ebp - 0x10c], 0
jmp 0x45d7f9
lea eax, [ebp - 0x17c]
push 0x510470
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 - 0x1a8]
push ecx
mov edx, 0x51048c
call fcn.00404090
mov ecx, ebx
call fcn.00404a50
lea ecx, [ebp - 0x2c]
call fcn.00404a50
jmp 0x45e3fd