Function at 0x414e40
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a180
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x4767b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
cmp dword [ebx + 0xc0], edi
je 0x414eb4
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
mov eax, ebx
call fcn.004165d0
mov eax, dword [ebp - 0x38]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp eax, edi
je 0x414ea0
push eax
call esi
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x414eaa
push eax
call esi
mov eax, dword [ebp - 0x30]
cmp eax, edi
je 0x414eb4
push eax
call esi
mov dword [ebp - 4], edi
mov eax, 1
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
cmp dword [ebx + 0x64], edi
je 0x4150eb
mov eax, dword [ebx + 0x60]
mov eax, dword [eax]
mov edi, dword [ebx + 0x48]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], eax
mov esi, dword [ebx + 0x60]
mov eax, dword [ebx + 0x48]
test edi, edi
je 0x414ef6
cmp edi, eax
je 0x414efb
call fcn.00442f1e
cmp dword [ebp - 0x58], esi
je 0x4150d4
mov eax, dword [ebp - 0x14]
push eax
mov eax, 1
lea esi, [ebp - 0x3c]
call fcn.004174b0
mov ecx, dword [eax]
add esp, 4
mov dword [ebp - 0x14], ecx
test edi, edi
jne 0x414f66
call fcn.00442f1e
xor eax, eax
mov esi, dword [ebp - 0x58]
cmp esi, dword [eax + 0x18]
jne 0x414f35
call fcn.00442f1e
test byte [esi + 0x14], 2
je 0x414f6e
test edi, edi
jne 0x414f6a
call fcn.00442f1e
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x414f50
call fcn.00442f1e
mov esi, dword [esi + 0xc]
mov ecx, dword [ebx + 0x1c]
push esi
call fcn.00412fd0
mov ecx, eax
add esp, 4
lea eax, [ebp - 0x40]
jmp 0x414fa0
mov eax, dword [edi]
jmp 0x414f28
mov eax, dword [edi]
jmp 0x414f46
test edi, edi
jne 0x41500d
call fcn.00442f1e
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x414f87
call fcn.00442f1e
mov eax, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
mov esi, dword [esi + 0xc]
push eax
push ecx
push esi
call fcn.00413360
mov ecx, eax
add esp, 0xc
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
push edx
call fcn.00417480
mov eax, dword [eax]
add esp, 4
push eax
mov eax, 1
lea esi, [ebp - 0x48]
call fcn.004174b0
mov eax, dword [eax]
add esp, 4
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x415014
call fcn.00442f1e
xor eax, eax
mov esi, dword [ebp - 0x58]
cmp esi, dword [eax + 0x18]
jne 0x414fdc
call fcn.00442f1e
test byte [esi + 0x14], 4
je 0x41501c
test edi, edi
jne 0x415018
call fcn.00442f1e
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x414ff7
call fcn.00442f1e
mov esi, dword [esi + 0x10]
mov ecx, dword [ebx + 0x1c]
push esi
call fcn.00412fd0
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
jmp 0x41504e
mov eax, dword [edi]
jmp 0x414f7d
mov eax, dword [edi]
jmp 0x414fcf
mov eax, dword [edi]
jmp 0x414fed
test edi, edi
jne 0x4150c9
call fcn.00442f1e
xor eax, eax
cmp esi, dword [eax + 0x18]
jne 0x415035
call fcn.00442f1e
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
mov esi, dword [esi + 0x10]
push ecx
push edx
push esi
call fcn.00413360
add esp, 0xc
mov esi, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
lea eax, [ebp - 0x4c]
call fcn.00417480
mov ecx, dword [eax]
mov edx, dword [ebp - 0x2c]
add esp, 4
mov dword [ebp - 0x14], ecx
push edx
mov ecx, esi
lea eax, [ebp - 0x50]
call fcn.00417480
mov eax, dword [eax]
mov ecx, dword [ebx + 0x60]
mov esi, dword [ecx]
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x48]
test edi, edi
je 0x41508a
cmp edi, eax
je 0x41508f
call fcn.00442f1e
cmp dword [ebp - 0x58], esi
jne 0x4150b9
test edi, edi
jne 0x4150d0
call fcn.00442f1e
mov edx, dword [ebp - 0x58]
cmp edx, dword [edi + 0x18]
jne 0x4150aa
call fcn.00442f1e
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
lea esi, [ebp - 0x5c]
call fcn.00417120
mov edi, dword [ebp - 0x5c]
jmp 0x414ee8
mov eax, dword [edi]
jmp 0x41502b
mov edi, dword [edi]
jmp 0x41509d
cmp dword [ebp - 0x14], 0
jbe 0x4150e5
lea eax, [ebp - 0x50]
lea edx, [ebp - 0x14]
call fcn.00416e50
cmp dword [ebp - 0x18], 0
jne 0x41512f
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x74]
mov edi, dword [ebx + 0x70]
mov esi, dword [ebx + 0x6c]
test eax, eax
jne 0x415103
mov eax, str.Ryeol_HTTP_Client_Class
push ecx
push edx
push edi
push esi
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
jne 0x415125
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
xor ecx, ecx
mov ebx, 0x192
call fcn.00412480
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41514e
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 8]
push eax
mov ecx, ebx
call fcn.00414550
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push eax
push ebx
call fcn.004147c0
mov esi, eax
push esi
mov edi, ebx
mov dword [ebp - 0x20], esi
call fcn.00414990
mov ecx, dword [ebx + 0x1c]
push str.application_x_www_form_urlencoded
push str.Content_Type
mov edx, esi
call fcn.00412aa0
mov edx, dword [ebp - 0x14]
add esp, 8
push edx
mov ecx, esi
call fcn.00412bd0
add esp, 4
lea eax, [ebx + 0x44]
call fcn.00413760
lea edi, [ebx + 0xbc]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x28]
xor esi, esi
cmp eax, esi
je 0x4151b4
push eax
call fcn.00443244
add esp, 4
mov dword [edi + 0x28], esi
mov eax, dword [edi + 0x2c]
cmp eax, esi
je 0x4151c7
push eax
call fcn.00443244
add esp, 4
mov dword [edi + 0x2c], esi
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x2c]
mov dword [edi + 8], ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x10], edx
mov edx, dword [ebp - 0x28]
mov dword [edi + 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0xc], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x20], esi
mov eax, 1
mov dword [edi + 4], eax
mov dword [ebx + 0x108], edx
mov edx, dword [ebp - 0x24]
mov dword [ebx + 0x104], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebx + 0x110], edx
mov edx, dword [ebp - 0x20]
mov dword [ebx + 0x10c], ecx
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x118], eax
cmp dword [ebx + 0x64], esi
je 0x41527d
lea esi, [ebx + 0x84]
push edi
mov eax, esi
call fcn.00413be0
push 0
mov ecx, esi
call fcn.00413df0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x415262
push eax
call fcn.00443244
add esp, 4
mov dword [esi + 0x2c], 0
mov ebx, dword [ebp - 0x34]
inc dword [esi + 0x1c]
lea edi, [esi + 0x28]
call fcn.00413c60
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8