Function at 0x422520
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4ad7
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x4e4520]
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 edi, ecx
push 0x4bc664
push 1
push 0x246
push 0x4bbff0
push 0x4bc674
call fcn.00462700
add esp, 0x14
lea ecx, [ebp - 0xdc]
push 0xffffffffffffffff
push 0x4d36a8
call fcn.004259c2
lea eax, [ebp - 0xdc]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004230c0
lea ecx, [ebp - 0xdc]
mov dword [ebp - 4], 0xffffffff
call fcn.00425a85
mov ecx, dword [edi + 0x6cc]
lea edx, [ebp - 0x160]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
push 1
lea eax, [ebp - 0xdc]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x160]
call fcn.00426608
push 0x4d3754
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00425b47
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 1
mov bl, al
call fcn.00425a85
test bl, bl
je 0x422609
push 0x4bc694
lea ecx, [ebp - 0x160]
call fcn.00425c37
lea eax, [ebp - 0x160]
push eax
lea ecx, [edi + 0x53c]
call fcn.00425af0
lea ecx, [edi + 0x53c]
call fcn.004260a5
mov edx, eax
mov dword [ebp - 0x14], 7
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x422645
xor ecx, ecx
jmp 0x42265f
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x422650
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402f30
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x28]
push eax
push 0x4bc698
push 1
push 0x24f
push str.D:jenkins_agentworkspaceWheatfield_DownloaderUIMFDownloaderWindowDuiFrameWnd.cpp
push str.CDuiFrameWnd::OnClickInstall
call fcn.00462a90
add esp, 0x18
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x164]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x164], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call fcn.0041fca0
add esp, 8
test eax, eax
jne 0x422776
cmp dword [ebp - 0x164], eax
jne 0x422776
push str.STR_PATH_INVALID
lea ecx, [ebp - 0x58]
call fcn.00403060
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [edi + 0x6e4]
call fcn.004113c0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 5
jb 0x422708
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0xdc]
call fcn.004259c2
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.004230c0
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 5
call fcn.00425a85
cmp dword [ebp - 0x2c], 8
jb 0x422748
push dword [ebp - 0x40]
call fcn.0047c598
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x422938
push dword [ebp - 0x58]
call fcn.0047c598
add esp, 4
jmp 0x422938
push str.sel_path_end
push 1
push 0x259
push 0x4bbff0
push 0x4bc674
call fcn.00462700
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.004780be
mov dword [ebp - 0x40], 0x4bcc6c
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x168]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x40]
call fcn.004781b6
lea ecx, [ebp - 0x40]
call fcn.0047812f
mov eax, dword [ebp - 0x164]
mov byte [ebp - 4], 8
test eax, eax
jne 0x4227df
push 1
call fcn.0047808b
mov eax, dword [ebp - 0x164]
add esp, 4
push eax
push dword [ebp - 0x168]
call fcn.00477fbe
add esp, 8
test eax, eax
je 0x4227fb
push eax
call fcn.0047805e
add esp, 4
push str.send_ga_begin
push 1
push 0x298
push 0x4bbff0
push 0x4bc674
mov byte [ebp - 4], 3
call fcn.00462700
push 0xc
mov dword [ebp - 0x164], 0
call fcn.0047c547
mov esi, eax
add esp, 0x18
test esi, esi
je 0x422847
mov byte [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
jmp 0x422849
xor esi, esi
call fcn.00418020
mov dword [esi + 4], eax
lea eax, [ebp - 0x164]
push eax
push 0
push esi
push 0x4202d0
push 0
push 0
mov dword [esi + 8], 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push str.send_ga_end
push 1
push 0x29a
push 0x4bbff0
push 0x4bc674
call fcn.00462700
push str.change_page_downloading_begin
push 1
push 0x29c
push 0x4bbff0
push 0x4bc674
call fcn.00462700
add esp, 0x28
cmp dword [edi + 0x6c8], 1
je 0x42291a
push str.switch
lea ecx, [edi + 0x2c]
call fcn.004277bb
mov esi, eax
test esi, esi
je 0x42291a
push str.UpdateWindowSate:kWindow_Downloading
push 1
push 0x201
push 0x4bbff0
push str.CDuiFrameWnd::UpdateWindowSate
call fcn.00462700
mov ecx, dword [edi + 0x6d4]
add esp, 0x14
push 1
push 0
call fcn.00431473
push 1
push 1
mov ecx, esi
call fcn.0042fd3c
push 0
mov ecx, edi
call fcn.004237b0
push 1
mov ecx, edi
call fcn.00423560
mov ecx, edi
call fcn.004234e0
push str.change_page_downloading_end
push 1
push 0x29e
push 0x4bbff0
push 0x4bc674
call fcn.00462700
add esp, 0x14
cmp dword [ebp - 0x14], 8
jb 0x422949
push dword [ebp - 0x28]
call fcn.0047c598
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x160]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
call fcn.00425a85
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.0047cd24
mov esp, ebp
pop ebp
ret