Function at 0x4e9090
Capabilities:
Check http status code

Disassembly:
sub esp, 0x158
mov eax, dword [0x613ad0]
xor eax, esp
mov dword [esp + 0x154], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x168]
push edi
mov edi, dword [esp + 0x170]
mov ebx, 1
add dword [0x622dbc], ebx
push 0xc2ec
mov dword [esp + 0x18], esi
call fcn.004e27e0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x4e90df
xor eax, eax
jmp 0x4e96a4
push 0xc2ec
push 0
push ebp
call fcn.004e28a0
add esp, 0xc
push 0x13
lea eax, [esp + 0x154]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
push str.Ter13Class
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4e912c
push ebp
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov dword [ebp + 0x5848], 0
jmp 0x4e9196
mov ecx, dword [0x622e20]
xor eax, eax
test ecx, ecx
jle 0x4e914e
mov edx, 0x621ac0
lea ecx, [ecx]
cmp dword [edx], 0
je 0x4e914e
add eax, ebx
add edx, 0xc
cmp eax, ecx
jl 0x4e9140
cmp eax, ecx
jne 0x4e9177
cmp ecx, 0xc8
jl 0x4e916f
push str.InitTer
push 0x75
push ebp
call fcn.004e26e0
add esp, 0xc
jmp 0x4e96a4
add ecx, ebx
mov dword [0x622e20], ecx
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
mov dword [eax + 0x621ac0], ebx
mov dword [eax + 0x621ac4], esi
mov dword [eax + 0x621ac8], ebp
mov dword [ebp + 0x5848], ebx
test dword [edi + 0x20], 0x100
je 0x4e91a7
mov edx, dword [edi]
mov dword [esp + 0x10], edx
jmp 0x4e91bd
lea eax, [esp + 0x18]
push edi
push eax
call fcn.004e8380
lea ecx, [esp + 0x20]
add esp, 8
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x10]
mov ecx, 0x4e
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
cmp byte [ebp + 0xf0], 0
jne 0x4e91dc
push ebp
call fcn.004e8600
add esp, 4
xor edi, edi
cmp dword [0x622dac], edi
je 0x4e91ef
push ebp
call fcn.004e82c0
add esp, 4
cmp dword [ebp + 0x14], edi
jne 0x4e91fd
mov dword [ebp + 0x20], edi
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], edi
mov ecx, dword [ebp + 0x20]
cmp ecx, edi
je 0x4e9207
mov dword [ebp + 0x1c], ebx
mov eax, dword [ebp + 0x1c]
cmp eax, edi
je 0x4e921d
cmp ecx, edi
mov dword [ebp + 0x18], ebx
jne 0x4e921d
mov dword [ebp + 0x660], ebx
jmp 0x4e9223
mov dword [ebp + 0x660], edi
mov edx, dword [ebp + 0x114]
mov esi, dword [esp + 0x14]
push ebp
mov dword [ebp + 0xe8], esi
mov dword [ebp + 0x9500], edi
mov dword [ebp + 0xac0c], edx
mov dword [ebp + 0x114], edi
call fcn.004e6b60
add esp, 4
test eax, eax
je 0x4e90d8
push ebp
mov dword [ebp + 0x39c], esi
call fcn.004e7a40
add esp, 4
test eax, eax
je 0x4e90d8
push edi
push ebp
call fcn.004effd0
mov eax, dword [ebp + 0x138]
mov ecx, dword [eax]
push 0x48
mov dword [ecx + 0x14], edi
mov edx, dword [ebp + 0x3a10]
push edi
push edx
call fcn.004e28a0
mov eax, dword [ebp + 0x3a10]
mov dword [eax], edi
mov ecx, dword [ebp + 0x3a10]
mov word [ecx + 0x10], bx
mov edx, dword [ebp + 0x3a10]
mov dword [edx + 0x14], 0x64
mov eax, dword [ebp + 0x3a10]
mov esi, 2
push edi
mov dword [eax + 0x28], esi
push ebp
mov dword [ebp + 0x39c8], ebx
call fcn.004e7860
mov ecx, dword [ebp + 0x387c]
mov dword [ebp + 0x3888], ebx
mov dword [ecx], edi
mov edx, dword [ebp + 0x2b38]
push 0x58
push edi
push edx
mov dword [ebp + 0x2b3c], ebx
call fcn.004e28a0
mov eax, dword [ebp + 0x2b38]
mov dword [eax + 0x18], 0x400
mov ecx, dword [ebp + 0x2b38]
mov edi, 0xffffff
mov dword [ecx + 0x44], edi
mov edx, dword [ebp + 0x2b38]
mov dword [edx + 0x54], 0x10101
mov eax, dword [ebp + 0x2b50]
push 0x3c
push 0
push eax
mov dword [ebp + 0x2b54], ebx
call fcn.004e28a0
mov ecx, dword [ebp + 0x2b50]
mov dword [ecx], ebx
mov edx, dword [ebp + 0x2b50]
mov byte [edx + 0x18], 0xb7
mov eax, dword [ebp + 0x2b50]
mov dword [eax + 0x14], ebx
mov ecx, dword [ebp + 0x2b5c]
push 0x48
push 0
push ecx
mov dword [ebp + 0x2b60], ebx
call fcn.004e28a0
mov edx, dword [ebp + 0x2b5c]
add esp, 0x40
mov dword [edx], ebx
mov eax, dword [ebp + 0x2b68]
push 0x3c
push 0
push eax
mov dword [ebp + 0x2b6c], ebx
call fcn.004e28a0
mov ecx, dword [ebp + 0x2b68]
push 0
mov dword [ecx], ebx
push ebp
mov dword [ebp + 0x70c], ebx
call fcn.004bba60
mov edx, dword [ebp + 0x5884]
push 0x68
push 0
push edx
call fcn.004e28a0
mov eax, dword [ebp + 0x5888]
push 0x1c
push 0
push eax
call fcn.004e28a0
mov ecx, dword [ebp + 0x5884]
mov dword [ecx], ebx
mov edx, dword [ebp + 0x588c]
push 0x84
push 0
push edx
mov dword [ebp + 0x5894], ebx
call fcn.004e28a0
mov eax, dword [ebp + 0x5890]
push 0x34
push 0
push eax
call fcn.004e28a0
mov ecx, dword [ebp + 0x588c]
add esp, 0x44
mov dword [ecx], ebx
mov edx, dword [ebp + 0x72c]
push 0x98
push 0
push edx
mov dword [ebp + 0x5898], ebx
mov dword [ebp + 0x734], ebx
call fcn.004e28a0
mov eax, dword [ebp + 0x72c]
mov dword [eax], ebx
mov ecx, dword [ebp + 0x3894]
push 0x10c
push 0
push ecx
mov dword [ebp + 0x39a8], esi
call fcn.004e28a0
mov edx, dword [ebp + 0x3894]
mov dword [edx], ebx
mov eax, dword [ebp + 0x3894]
mov dword [eax + 0x44], esi
mov ecx, dword [ebp + 0x3894]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [ecx + 0x74], edi
mov edx, dword [ebp + 0x3894]
mov dword [edx + 0xb4], edi
mov eax, dword [ebp + 0x10c]
mov ecx, dword [ebp + 0x3894]
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
mov dword [ecx + 0x68], eax
mov edx, dword [ebp + 0x3894]
add esp, 0x18
lea eax, [ebp + 0xf0]
push eax
mov dword [edx + 0xe0], 0xffffffff
mov eax, dword [ebp + 0x3894]
add eax, 0xbc
push eax
call esi
mov ecx, dword [ebp + 0x3894]
push str.Normal
add ecx, 4
push ecx
call esi
mov edx, dword [ebp + 0x3894]
push 0x10c
add edx, 0x10c
push 0
push edx
call fcn.004e28a0
mov eax, dword [ebp + 0x3894]
mov dword [eax + 0x10c], ebx
mov ecx, dword [ebp + 0x3894]
mov dword [ecx + 0x150], ebx
mov edx, dword [ebp + 0x3894]
mov dword [edx + 0x180], edi
mov eax, dword [ebp + 0x3894]
mov dword [eax + 0x1c0], edi
mov ecx, dword [ebp + 0x3894]
add esp, 0xc
mov dword [ecx + 0x1ec], 0xffffffff
mov edx, dword [ebp + 0x3894]
push str.Default_Paragraph_Font
add edx, 0x110
push edx
call esi
mov eax, dword [ebp + 0xb80]
push 0x30
push 0
push eax
call fcn.004e28a0
mov ecx, dword [ebp + 0xb80]
push 0x25c
lea edx, [ebp + 0x58c8]
push 0
mov dword [ebp + 0xba0], ebx
push edx
mov dword [ecx], ebx
call fcn.004e28a0
mov eax, dword [ebp + 0x39c]
add esp, 0x18
test eax, eax
mov dword [ebp + 0x998c], ebx
je 0x4e9565
push 0
push eax
call dword [sym.imp.USER32.dll_ValidateRect]
cmp dword [0x62242c], 0
jne 0x4e9577
push ebp
call fcn.0053b170
add esp, 4
push ebp
call fcn.004e86b0
add esp, 4
test eax, eax
je 0x4e90d8
push ebp
call fcn.004e86e0
add esp, 4
test eax, eax
je 0x4e90d8
push ebp
call fcn.0052c410
add esp, 4
test eax, eax
je 0x4e90d8
cmp dword [ebp + 0x14], 0
je 0x4e95bb
push 0
push ebp
call fcn.004e8090
add esp, 8
test byte [ebp + 0xa15c], 8
mov dword [ebp + 0x998c], 0
je 0x4e9608
mov eax, dword [ebp + 0x4634]
test eax, eax
je 0x4e9608
fld dword [ebp + 0x3a30]
movsx edx, word [eax + 0x38]
mov ecx, dword [ebp + 0x3a70]
movsx eax, word [eax + 0x2c]
sub esp, 8
fstp dword [esp + 4]
fld dword [ebp + 0x3a2c]
fstp dword [esp]
push ecx
push edx
push eax
push ebp
call fcn.004e1d90
add esp, 0x18
lea ecx, [ebp + 0x4d]
push ecx
lea edi, [ebp + 0x99e8]
push edi
call esi
push edi
push ebp
call fcn.005180f0
add esp, 8
test eax, eax
je 0x4e90d8
cmp dword [ebp + 0x2c], 0
jne 0x4e9633
cmp dword [ebp + 0x30], 0
je 0x4e963c
push ebp
call fcn.004fde10
add esp, 4
mov edx, dword [ebp + 0xe8]
mov esi, dword [esp + 0x10]
mov dword [ebp + 0x110], ebx
push 0
mov dword [esi + 0xe8], edx
mov eax, dword [ebp + 0x110]
push 0
mov dword [esi + 0x110], eax
mov ecx, dword [ebp + 0x39c]
push 0xab5
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov edx, dword [esi + 0x118]
mov dword [ebp + 0xb7e8], edx
mov dword [ebp + 0xb7ec], 0
mov eax, dword [esi + 0x130]
mov dword [ebp + 0x5b8], eax
mov ecx, dword [esi + 0x134]
mov dword [ebp + 0x9998], ecx
mov eax, ebx
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005aac48
add esp, 0x158
ret