Function at 0x4028d0
Capabilities:
Register http server url

Disassembly:
push 0xffffffffffffffff
push 0x4d6870
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
call fcn.004a08e6
xor ecx, ecx
xor esi, esi
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x402913
push 0x80004005
call fcn.004103e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], esi
call fcn.004a08e6
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x402941
push 0x80004005
call fcn.004103e0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x28], 1
mov edi, dword [0x5548b8]
mov eax, dword [0x5548bc]
cmp edi, eax
mov dword [esp + 0x1c], esi
jbe 0x402973
call fcn.004ad638
mov eax, dword [0x5548bc]
mov ebp, dword [esp + 0x1c]
jmp 0x402980
cmp dword [0x5548b8], eax
mov esi, eax
jbe 0x402994
call fcn.004ad638
mov eax, dword [0x5548bc]
cmp edi, esi
je 0x402a8c
cmp edi, eax
jb 0x4029a5
call fcn.004ad638
mov ecx, dword [edi]
push ecx
lea edx, [esp + 0x1c]
push 0x51baf8
push edx
call fcn.00410070
mov esi, dword [esp + 0x24]
add esp, 0xc
cmp dword [esi - 4], 1
jle 0x4029d5
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040f900
mov esi, dword [esp + 0x18]
push esi
call fcn.004ad659
add esp, 4
mov ebx, eax
call fcn.00402790
cmp al, 1
jne 0x402a4c
cmp edi, dword [0x5548bc]
jb 0x4029f6
call fcn.004ad638
mov ecx, dword [edi]
push str._launcher_
push ecx
push str.https:__127.0.0.1
lea edx, [esp + 0x20]
push str._s:_s_s
push edx
call fcn.00410070
mov esi, dword [esp + 0x28]
mov eax, dword [0x554638]
add esp, 0x14
push 0
push esi
push eax
call dword [sym.imp.HTTPAPI.dll_HttpAddUrl]
mov ebp, eax
test ebp, ebp
jne 0x402a4c
push esi
call fcn.004014f0
add esp, 4
lea ebx, [esp + 0x14]
mov esi, 0x5548a4
call fcn.0040de40
add dword [esp + 0x1c], 1
jmp 0x402a71
push ebp
push esi
call fcn.004014f0
add esp, 8
cmp edi, dword [0x5548bc]
jb 0x402a63
call fcn.004ad638
push 0
push 0x51cd44
mov ecx, edi
call fcn.0040fe70
mov eax, dword [0x5548bc]
cmp edi, eax
jb 0x402a84
call fcn.004ad638
mov eax, dword [0x5548bc]
add edi, 4
jmp 0x402980
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x402af7
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ab9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402ae1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ebx, 0x1f00
lea esp, [esp]
call fcn.00402790
cmp al, 1
jne 0x402b44
push str._launcher_
push ebx
push str.https:__127.0.0.1
lea ecx, [esp + 0x20]
push str._s:_d_s
push ecx
call fcn.00410070
mov esi, dword [esp + 0x28]
mov edx, dword [0x554638]
add esp, 0x14
push 0
push esi
push edx
call dword [sym.imp.HTTPAPI.dll_HttpAddUrl]
mov ebp, eax
test ebp, ebp
je 0x402b5b
push ebp
push esi
jmp 0x402b46
push ebp
push ebx
call fcn.004014f0
add ebx, 1
add esp, 8
cmp ebx, 0x1f1e
jl 0x402b00
jmp 0x402b7a
push esi
call fcn.004014f0
add esp, 4
lea ebx, [esp + 0x14]
mov esi, 0x5548a4
call fcn.0040de40
mov dword [esp + 0x1c], 1
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402b9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402bc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret