Function at 0x421c30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42db89
mov eax, dword fs:[0]
push eax
sub esp, 0x8ac
mov eax, dword [0x43d210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43fc60
push 0
push str.Build
call fcn.00422070
add esp, 0xc
mov dword [ebp - 0x8b0], eax
mov dword [ebp - 0x8a0], 0
lea ecx, [ebp - 0x658]
call fcn.00401050
mov dword [ebp - 4], 0
lea eax, [ebp - 0x658]
push eax
call fcn.004261c0
add esp, 4
push 0x320
lea ecx, [ebp - 0x654]
push ecx
push str.data
push 0x436bc0
call fcn.00422400
add esp, 0x10
test eax, eax
jne 0x421ccb
mov word [ebp - 0x654], 0
cmp dword [ebp + 8], 0
je 0x421d45
lea edx, [ebp - 0x654]
push edx
call fcn.0042a1d0
add esp, 4
mov dword [ebp - 0x8b4], eax
cmp dword [ebp - 0x8b4], 1
jne 0x421d06
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x658]
call fcn.00401070
jmp 0x422052
cmp dword [ebp - 0x8b4], 2
jne 0x421d45
push 0x34
push 0x436c1c
call fcn.00424a70
add esp, 4
push eax
push 0
call fcn.00423660
add esp, 0xc
cmp eax, 6
je 0x421d45
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x658]
call fcn.00401070
jmp 0x422052
push 1
call fcn.00429cd0
add esp, 4
mov dword [ebp - 0x660], str.proxydownloader_progress
mov dword [ebp - 0x690], 0x30
mov dword [ebp - 0x68c], 3
mov dword [ebp - 0x688], 0x421980
mov dword [ebp - 0x684], 0
mov dword [ebp - 0x680], 0
mov eax, dword [0x440444]
mov dword [ebp - 0x67c], eax
mov dword [ebp - 0x678], 0
mov dword [ebp - 0x674], 0
mov dword [ebp - 0x670], 6
mov dword [ebp - 0x66c], 0
mov ecx, dword [ebp - 0x660]
mov dword [ebp - 0x668], ecx
mov dword [ebp - 0x664], 0
lea edx, [ebp - 0x690]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x8a8], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x65c], eax
push 0
mov eax, dword [0x440444]
push eax
push 0
push 0
push 0x48
push 0x118
mov eax, dword [ebp - 0x65c]
sub eax, 0x48
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [ebp - 0x8a8]
sub eax, 0x118
cdq
sub eax, edx
sar eax, 1
push eax
push 0x80000000
mov ecx, dword [ebp - 0x660]
push ecx
mov edx, dword [ebp - 0x660]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x440464], eax
push 5
mov eax, dword [0x440464]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x440464]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0xa
call fcn.00421660
add esp, 4
mov word [ebp - 0x89c], 0
push 0x206
push 0
lea edx, [ebp - 0x89a]
push edx
call fcn.00405920
add esp, 0xc
push 0x23
lea eax, [ebp - 0x89c]
push eax
call fcn.00425bc0
add esp, 8
test eax, eax
je 0x421f0c
lea ecx, [ebp - 0x89c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [ebp + eax*2 - 0x89e]
mov dword [ebp - 0x8b8], edx
mov eax, dword [ebp - 0x8b8]
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x421ee0
mov edx, dword [ebp - 0x8b8]
add edx, 2
mov dword [ebp - 0x8b8], edx
mov eax, dword [ebp - 0x8b8]
mov word [eax], 0x5c
mov ecx, dword [ebp - 0x8b8]
add ecx, 2
mov dword [ebp - 0x8b8], ecx
push 0x436c64
mov edx, dword [ebp - 0x8b8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x89c]
push eax
call fcn.00426450
add esp, 4
push 0xf
call fcn.00421660
add esp, 4
lea ecx, [ebp - 0x8ac]
call fcn.00401050
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a4]
call fcn.00401050
mov byte [ebp - 4], 2
movzx ecx, word [ebp - 0x89c]
test ecx, ecx
je 0x421f6d
push 0
lea edx, [ebp - 0x8a4]
push edx
lea eax, [ebp - 0x8ac]
push eax
lea ecx, [ebp - 0x89c]
push ecx
call fcn.00421750
add esp, 0x10
push 0x14
call fcn.00421660
add esp, 4
push 0x1e
call fcn.00421660
add esp, 4
push 1
push 0x436ca0
push 0x80000001
call fcn.00422200
add esp, 0xc
push 0x5a
call fcn.00421660
add esp, 4
push 1
push 0x436d10
push 0x80000001
call fcn.00422200
add esp, 0xc
push 0x5a
call fcn.00421660
add esp, 4
push 1
call fcn.00426980
add esp, 4
movzx edx, word [ebp - 0x654]
test edx, edx
je 0x421fe1
lea eax, [ebp - 0x654]
push eax
call fcn.00426cb0
add esp, 4
push 0x64
call fcn.00421660
add esp, 4
cmp dword [ebp + 8], 0
je 0x42200b
push 0x40
push str.finished
call fcn.00424a70
add esp, 4
push eax
push 0
call fcn.00423660
add esp, 0xc
mov ecx, dword [0x440464]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x440464], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8a4]
call fcn.00401070
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x8ac]
call fcn.00401070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x658]
call fcn.00401070
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004042ce
mov esp, ebp
pop ebp
ret