Function at 0x40e130
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564c00
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5c4920]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x2c], esi
cmp dword [edi + 0xa0], esi
je 0x40e1a5
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, edi
call fcn.0040f580
mov eax, dword [ebp - 0x28]
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, esi
je 0x40e191
push eax
call ebx
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x40e19b
push eax
call ebx
mov eax, dword [ebp - 0x20]
cmp eax, esi
je 0x40e1a5
push eax
call ebx
mov eax, 1
mov dword [ebp - 4], esi
mov ecx, dword [edi + 0x58]
mov edx, dword [edi + 0x54]
mov ebx, dword [edi + 0x4c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x48]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x20], esi
mov esi, dword [edi + 0x50]
test eax, eax
jne 0x40e1d4
mov eax, str.Ryeol_HTTP_Client_Class
push ecx
push edx
push esi
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
xor esi, esi
mov dword [ebp - 0x30], eax
cmp eax, esi
jne 0x40e1fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
xor ecx, ecx
mov esi, 0x192
call fcn.0040b910
mov ebx, dword [ebp + 0xc]
push eax
mov edx, ebx
mov ecx, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
call fcn.0040dc60
cmp dword [edi + 0x40], 0
mov dword [ebp - 0x24], esi
mov esi, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
je 0x40e281
push ebx
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0040d860
push eax
mov eax, 1
lea esi, [ebp + 0xc]
call fcn.004100a0
mov eax, dword [eax]
add esp, 4
lea edi, [ebp + 0xc]
mov dword [ebp + 0xc], eax
call fcn.0040f7f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00533ec0
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
jne 0x40e26d
lea edi, [eax + 0x66]
call fcn.0040b820
mov edx, dword [ebp + 8]
push esi
push edx
mov dword [ebp - 0x14], 1
call fcn.0040da40
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
push eax
push 0x5993e8
push ecx
push edi
mov ecx, esi
call fcn.0040ded0
mov ebx, eax
mov dword [ebp - 0x20], ebx
call fcn.0040e0b0
cmp dword [ebp - 0x14], 0
je 0x40e2c1
test esi, esi
je 0x40e2ba
push esi
call fcn.00531f88
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [edi + 0x1c]
mov edi, ebx
call fcn.0040c010
push 0x30
call fcn.0043db91
add esp, 4
test eax, eax
je 0x40e2f1
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
push ebx
push edx
push ecx
mov esi, eax
call fcn.0040cd60
test eax, eax
jne 0x40e3a2
mov edi, 0x66
call fcn.0040b820
mov eax, dword [ebp - 0x34]
call fcn.0040bb40
cmp dword [ebp - 0x14], 0
je 0x40e319
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40e319
push eax
call fcn.00531f88
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x40e329
push eax
call esi
cmp dword [ebp - 0x24], 0
jne 0x40e339
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e339
push eax
call esi
cmp dword [ebp - 0x28], 0
jne 0x40e349
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40e349
push eax
call esi
push 0
push 0
call fcn.00538626
cmp dword [ebp - 0x14], 0
je 0x40e368
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40e368
push eax
call fcn.00531f88
add esp, 4
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x40e378
push eax
call esi
cmp dword [ebp - 0x24], 0
jne 0x40e388
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40e388
push eax
call esi
cmp dword [ebp - 0x28], 0
jne 0x40e398
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x40e398
push eax
call esi
mov edi, 0x64
call fcn.0040b820
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc