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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101c4f24
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]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x120], 0
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 - 0x120], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [ebp - 0x128], ecx
test ecx, ecx
je 0x100fad63
cmp dword [0x1023e238], 0x10
mov eax, 0x1023e224
push 0
cmovae eax, dword [0x1023e224]
push 0
push 3
push 0
push 0
push 0x1bb
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, eax
mov dword [ebp - 0x124], ecx
test ecx, ecx
je 0x100fad57
cmp dword [0x1023e13c], 0x10
mov eax, 0x1023e128
push 0
cmovae eax, dword [0x1023e128]
push 0x800000
push 0
push 0
push 0
push eax
push str.POST
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
je 0x100fad49
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 5
push str.code
lea ecx, [ebp - 0x28]
call fcn.10029a60
sub esp, 0x18
mov ecx, esp
push esi
call fcn.100025e0
lea ecx, [ebp - 0x70]
call fcn.10024490
add esp, 0x18
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x100fa9d3
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.10029360
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100faa16
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100faa0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100faa0c
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 0x52
push str.client_id31774972927_vpag84lsil17nujck4c3un6kfhiobtsg.apps.googleusercontent.com
cmp eax, 0x52
jb 0x100faa4d
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x52]
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 + 0x52], 0
jmp 0x100faa64
mov byte [ebp - 0x11c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x11c]
push 0x52
call fcn.1002e720
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x27
push str.client_secretC9HoCyTTyeo8EXZw5c81C4xN
cmp eax, 0x27
jb 0x100faa9b
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x27]
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 + 0x27], 0
jmp 0x100faab2
mov byte [ebp - 0x11c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x11c]
push 0x27
call fcn.1002e720
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x4a
push str.redirect_urihttps:__auth.netffice24.com_login_controller_oauth_google_cb
cmp eax, 0x4a
jb 0x100faae9
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x4a]
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 + 0x4a], 0
jmp 0x100fab00
mov byte [ebp - 0x11c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x11c]
push 0x4a
call fcn.1002e720
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 0x1e
push str.grant_typeauthorization_code
cmp eax, 0x1e
jb 0x100fab37
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 0x1e]
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 + 0x1e], 0
jmp 0x100fab4e
mov byte [ebp - 0x11c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x11c]
push 0x1e
call fcn.1002e720
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0x20000000
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
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 0x100facc0
mov edx, ebx
lea ecx, [ebp - 0x88]
call fcn.100fc0a0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x78], 0
je 0x100fac87
push 0
lea ecx, [ebp - 0x70]
call fcn.10080090
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 5
call fcn.100812a0
push 1
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x118]
call fcn.100828b0
lea eax, [ebp - 0x58]
push eax
push str.access_token
lea ecx, [ebp - 0x70]
call fcn.100806d0
mov ecx, eax
call fcn.10080c10
mov byte [ebp - 4], 7
cmp dword [ebp - 0x48], 0
je 0x100fac2c
sub esp, 0x18
lea eax, [ebp - 0x58]
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 - 0x44]
cmp edx, 0x10
jb 0x100fac62
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fac58
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fac58
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 - 0x118]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10024a30
lea ecx, [ebp - 0x70]
call fcn.10080330
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x100facc0
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100facb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100facb6
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 0x100facf6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100facec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100facec
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 0x100fad3e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100fad34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100fad34
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
jmp 0x100fad4f
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x124]
call esi
push dword [ebp - 0x128]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
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 8