Function at 0x426b50
Capabilities:
Create http request
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ea10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
call fcn.004247a0
mov eax, 1
xor ebx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov eax, dword [edi + 8]
xor esi, esi
cmp eax, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], ebx
jne 0x426ba5
mov eax, dword [str.____RYEOL_FB3B405B7EAE495aB0C0295C54D4E096_]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426ba8
mov ecx, dword [edi + 0x3c]
sub eax, edx
cmp ecx, ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ebx
je 0x427002
mov eax, dword [edi + 0x38]
mov eax, dword [eax]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], eax
cmp eax, dword [edi + 0x38]
je 0x426bff
test byte [eax + 0x14], 1
je 0x426bf2
push ebx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.004253f0
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.004239e0
mov eax, dword [ebp - 0x1c]
jmp 0x426bd7
cmp esi, ebx
je 0x426c4c
push 4
push esi
call fcn.0043c4a3
add esp, 8
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x426c1c
push 0x66
call fcn.004235b0
xor ecx, ecx
mov edi, edi
cmp esi, ecx
seta dl
test dl, dl
je 0x426c33
mov dword [eax + ecx*4], 0xffffffff
inc ecx
jmp 0x426c20
push 4
push esi
call fcn.0043c4a3
add esp, 8
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x426c4c
push 0x66
call fcn.004235b0
mov eax, dword [edi + 0x38]
mov esi, dword [eax]
mov dword [ebp - 0x1c], ebx
xor ecx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [edi + 0x38]
xor ebx, ebx
cmp esi, eax
je 0x426fdb
test byte [esi + 0x14], 1
jne 0x426d93
mov edx, dword [ebp - 0x2c]
add edx, 4
push edx
push ecx
lea eax, [ebp - 0x94]
push eax
call fcn.00425b90
mov eax, dword [eax]
add esp, 0xc
push 0x2b
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.00425d80
mov edx, dword [eax]
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x1c]
add esp, 0xc
cmp eax, ebx
mov eax, dword [esi + 0xc]
push ecx
mov dword [ebp - 0x14], edx
push eax
je 0x426cdf
call fcn.00425610
mov edx, dword [ebp - 0x14]
add esp, 8
push eax
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.00425b90
mov ecx, dword [eax]
mov edx, dword [edi + 0x1c]
mov eax, dword [esi + 0x10]
add esp, 0xc
push edx
push eax
mov dword [ebp - 0x14], ecx
call fcn.00425610
jmp 0x426d0a
call fcn.004255f0
mov edx, dword [ebp - 0x14]
add esp, 8
push eax
push edx
lea eax, [ebp - 0x6c]
push eax
call fcn.00425b90
mov ecx, dword [eax]
mov edx, dword [edi + 0x1c]
mov eax, dword [esi + 0x10]
add esp, 0xc
push edx
push eax
mov dword [ebp - 0x14], ecx
call fcn.004255f0
mov edx, dword [ebp - 0x14]
mov ebx, eax
or eax, 0xffffffff
sub eax, edx
add esp, 8
cmp eax, ebx
jae 0x426d30
push 0x470dc4
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x50], 0x216
call fcn.004392cf
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
add edx, ebx
mov dword [ebp - 0x14], edx
or edx, 0xffffffff
sub edx, ecx
cmp edx, ebx
jae 0x426d59
push 0x470dc4
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x216
call fcn.004392cf
add dword [ebp - 0x18], ebx
mov ecx, dword [ebp - 0x14]
push 2
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.00425d80
mov ecx, dword [eax]
mov eax, dword [edi + 0x38]
mov edx, dword [eax]
add esp, 0xc
cmp esi, edx
jne 0x426f9b
mov edx, dword [esi + 0xc]
xor eax, eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
jmp 0x426f98
mov eax, dword [ebp - 0x2c]
add eax, 4
push eax
push ecx
lea ecx, [ebp - 0x74]
push ecx
call fcn.00425b90
mov eax, dword [eax]
add esp, 0xc
push 0x36
push eax
lea edx, [ebp - 0x60]
push edx
call fcn.00425d80
mov eax, dword [eax]
mov ecx, dword [edi + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x18]
add esp, 0xc
cmp eax, ebx
mov eax, dword [esi + 0xc]
push ecx
push eax
je 0x426df9
call fcn.00425610
mov edx, dword [ebp - 0x14]
add esp, 8
push eax
push edx
lea eax, [ebp - 0x7c]
push eax
call fcn.00425b90
mov ecx, dword [edi + 0x1c]
mov ebx, dword [eax]
mov eax, dword [esi + 0x10]
add esp, 0xc
push ecx
push eax
call fcn.00425610
lea edx, [ebp - 0x64]
jmp 0x426e24
call fcn.004255f0
mov edx, dword [ebp - 0x14]
add esp, 8
push eax
push edx
lea eax, [ebp - 0x68]
push eax
call fcn.00425b90
mov ecx, dword [edi + 0x1c]
mov ebx, dword [eax]
mov eax, dword [esi + 0x10]
add esp, 0xc
push ecx
push eax
call fcn.004255f0
lea edx, [ebp - 0x70]
add esp, 8
push eax
push ebx
push edx
call fcn.00425b90
mov eax, dword [eax]
add esp, 0xc
push 0x12
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.00425d80
mov ecx, dword [eax]
mov eax, dword [esi + 0x10]
add esp, 0xc
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x14], ecx
je 0x426eb7
push ebx
push 0x8000080
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
je 0x426eb7
test eax, eax
mov ebx, dword [esi + 0x10]
push 0
jne 0x426e89
push str.CHttpToolA::GetFileSize:_hFile_can_not_be_NULL.
call fcn.00423610
test ebx, ebx
jne 0x426e97
push str.CHttpToolA::GetFileSize:_szFilePath_can_not_be_NULL.
call fcn.00423610
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x426eb5
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x25d
call fcn.00423b90
mov ebx, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x426edf
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
cmp dword [edx + eax*4], 0xffffffff
jne 0x426edf
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x25b
call fcn.00423b90
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [eax + ecx*4]
push edx
call fcn.00425590
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + edx*4], eax
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426f01
sub eax, edx
push eax
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.00425b90
mov eax, dword [eax]
or edx, 0xffffffff
sub edx, eax
add esp, 0xc
cmp edx, ebx
jae 0x426f3b
push 0x470dc4
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 0x216
call fcn.004392cf
mov edx, dword [ebp - 0x18]
or ecx, 0xffffffff
sub ecx, edx
add eax, ebx
cmp ecx, ebx
jae 0x426f5e
push 0x470dc4
lea edx, [ebp - 0x54]
push edx
mov dword [ebp - 0x54], 0x216
call fcn.004392cf
mov ecx, dword [ebp - 0x18]
push 2
push eax
lea eax, [ebp - 0x58]
add ecx, ebx
push eax
mov dword [ebp - 0x18], ecx
call fcn.00425d80
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
add esp, 0xc
inc edx
mov dword [ebp - 0x1c], edx
mov edx, dword [edi + 0x38]
cmp esi, dword [edx]
jne 0x426f9b
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x3c], ebx
mov al, byte [esi + 0x19]
test al, al
jne 0x426c59
mov eax, dword [esi + 8]
mov dl, byte [eax + 0x19]
test dl, dl
jne 0x426fc1
mov esi, eax
mov eax, dword [esi]
mov dl, byte [eax + 0x19]
test dl, dl
jne 0x426c59
jmp 0x426fb0
mov eax, dword [esi + 4]
mov dl, byte [eax + 0x19]
test dl, dl
jne 0x426fd4
cmp esi, dword [eax + 8]
jne 0x426fd4
mov esi, eax
jmp 0x426fc1
mov esi, eax
jmp 0x426c59
mov eax, dword [ebp - 0x2c]
add eax, 6
push eax
push ecx
lea ecx, [ebp - 0x58]
push ecx
call fcn.00425b90
mov edx, dword [eax]
add esp, 0xc
mov dword [ebp - 0x14], edx
jmp 0x42700d
add eax, 8
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp eax, ebx
mov dword [ebp - 4], ebx
jne 0x427089
mov eax, dword [edi + 0x40]
cmp eax, ebx
mov ecx, dword [edi + 0x50]
mov edx, dword [edi + 0x4c]
mov esi, dword [edi + 0x48]
jne 0x42702c
mov eax, dword [str.Ryeol_HTTP_Client_Class]
push ecx
mov ecx, dword [edi + 0x44]
push edx
push esi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
jne 0x427083
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [str.::InternetOpen_failed.]
push ecx
lea ecx, [ebp - 0xac]
mov esi, eax
call fcn.004233c0
push 0x470d38
lea edx, [ebp - 0xac]
push edx
mov dword [ebp - 0xac], 0x463b40
mov dword [ebp - 0x9c], 0x192
mov dword [ebp - 0x98], esi
call fcn.004392cf
mov dword [ebp + 8], eax
mov dword [ebp - 0x48], ebx
mov ecx, dword [ebp + 0xc]
cmp ecx, ebx
jne 0x4270ac
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
push ecx
push eax
mov ecx, edi
call fcn.004265c0
mov ecx, eax
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0x40], ebx
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [str.POST]
push edx
push eax
push ecx
mov ecx, edi
call fcn.00426780
mov esi, eax
push esi
mov ecx, edi
mov dword [ebp - 0x38], esi
call fcn.00426950
mov eax, dword [edi + 0x14]
cmp eax, ebx
jne 0x4270df
mov eax, dword [str.multipart_form_data__boundary____RYEOL_FB3B405B7EAE495aB0C0295C54D4E096_]
mov ecx, dword [edi + 0x1c]
mov edx, dword [str.Content_Type]
push ecx
push eax
push edx
push esi
call fcn.004263f0
mov eax, dword [ebp - 0x14]
add esp, 0x10
push eax
push esi
call fcn.00423e90
add esp, 8
push ebx
lea ecx, [edi + 0x30]
call fcn.00425b40
lea esi, [edi + 0x94]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x427126
push eax
call fcn.00438969
add esp, 4
mov dword [esi + 0x28], ebx
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x427139
push eax
call fcn.00438969
add esp, 4
mov dword [esi + 0x2c], ebx
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x28]
mov dword [esi + 0x10], edx
mov edx, dword [ebp - 0x48]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x20], ecx
mov ecx, dword [ebp - 0x40]
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 4], 1
mov dword [edi + 0xdc], eax
mov eax, dword [ebp - 0x38]
mov dword [edi + 0xe0], edx
mov edx, dword [ebp + 0xc]
mov dword [edi + 0xec], eax
cmp dword [edi + 0x3c], ebx
mov dword [edi + 0xe8], ecx
mov ecx, dword [ebp - 0x20]
mov dword [edi + 0xe4], edx
mov edx, dword [ebp - 0x24]
mov dword [edi + 0xcc], ecx
mov dword [ebp - 0x20], ebx
mov dword [edi + 0xd0], edx
mov dword [ebp - 0x24], ebx
mov dword [edi + 0xf0], ebx
je 0x4271e2
add edi, 0x5c
push esi
mov ecx, edi
call fcn.00424f80
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x30]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00425090
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c