Function at 0x100f99e0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4ddb
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x1023c014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x11c], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push eax
push eax
push eax
push eax
mov dword [ebp - 4], eax
push str.HancomOffice
mov dword [ebp - 0x124], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [ebp - 0x12c], ecx
test ecx, ecx
je 0x100f9fb0
cmp dword [0x1023e29c], 0x10
mov eax, 0x1023e288
push 0
cmovae eax, dword [0x1023e288]
push 0
push 3
push 0
push 0
push 0x50
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, eax
mov dword [ebp - 0x128], ecx
test ecx, ecx
je 0x100f9fa8
cmp dword [0x1023e2cc], 0x10
mov eax, 0x1023e2b8
push 0
cmovae eax, dword [0x1023e2b8]
push 0
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0x120], eax
test eax, eax
je 0x100f9fa0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.10029a60
push 0x13
push str.grant_typepassword
lea ecx, [ebp - 0x28]
call fcn.10029a60
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x16
push str.client_idzerodesktop
cmp eax, 0x16
jb 0x100f9b65
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x16]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x16], 0
jmp 0x100f9b7c
mov byte [ebp - 0x118], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x118]
push 0x16
call fcn.1002e720
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x1a
push str.client_secretgothinkfree
cmp eax, 0x1a
jb 0x100f9bb3
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x1a]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0x1a], 0
jmp 0x100f9bca
mov byte [ebp - 0x118], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x118]
push 0x1a
call fcn.1002e720
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0xa
push str.username
cmp eax, 0xa
jb 0x100f9c01
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0xa]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x100f9c18
mov byte [ebp - 0x118], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x118]
push 0xa
call fcn.1002e720
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push ebx
call fcn.100025e0
mov ecx, esi
call fcn.10024490
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.100241d0
add esp, 0x18
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x100f9c49
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.10029360
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100f9c8c
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9c82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f9c82
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0xa
push str.password
cmp eax, 0xa
jb 0x100f9cc3
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0xa]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xa], 0
jmp 0x100f9cda
mov byte [ebp - 0x118], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x118]
push 0xa
call fcn.1002e720
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x11c]
call fcn.100025e0
mov ecx, esi
call fcn.10024490
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.100241d0
add esp, 0x18
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x100f9d10
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.10029360
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x100f9d53
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9d49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f9d49
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0xc
push str.scopetrust
cmp eax, 0xc
jb 0x100f9d8a
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0xc]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 0xc], 0
jmp 0x100f9da1
mov byte [ebp - 0x11c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x11c]
push 0xc
call fcn.1002e720
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ebx, dword [ebp - 0x120]
cmovae eax, dword [ebp - 0x40]
push 0x20000000
push dword [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x100f9f19
mov edx, ebx
lea ecx, [ebp - 0x88]
call fcn.100fc0a0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x78], 0
je 0x100f9ee0
push 0
lea ecx, [ebp - 0x58]
call fcn.10080090
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 6
call fcn.100812a0
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x114]
call fcn.100828b0
lea eax, [ebp - 0x70]
push eax
push str.access_token
lea ecx, [ebp - 0x58]
call fcn.100806d0
mov ecx, eax
call fcn.10080c10
mov byte [ebp - 4], 8
cmp dword [ebp - 0x60], 0
je 0x100f9e85
sub esp, 0x18
lea eax, [ebp - 0x70]
mov ecx, esp
push eax
call fcn.10029460
lea ecx, [ebp - 0xa0]
call fcn.100245e0
add esp, 0x18
mov ecx, edi
push eax
call fcn.10012aa0
lea ecx, [ebp - 0xa0]
call fcn.100023a0
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100f9ebb
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9eb1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f9eb1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.10024a30
lea ecx, [ebp - 0x58]
call fcn.10080330
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x100f9f19
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9f0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f9f0f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100f9f4f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9f45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f9f45
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x100f9f97
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100f9f8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100f9f8d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1008549d
add esp, 8
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push dword [ebp - 0x128]
call esi
push dword [ebp - 0x12c]
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1008548c
mov esp, ebp
pop ebp
ret 0xc