Function at 0x1002fcd6
Capabilities:
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push 0x5a8
mov eax, 0x100a2c59
call fcn.1009cc24
mov edi, ecx
mov dword [ebp - 0x588], edi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 4], 4
mov dword [ebp - 0x58c], esi
jge 0x10030133
cmp dword [edi + 4], ebx
jne 0x1002fe17
test byte [esi + 0x1c], 1
je 0x1002fd65
call dword [sym.imp.fpsrvutl.dll_Ordinal_4072]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4144]
test al, al
jne 0x1002fd65
call dword [sym.imp.fpsrvutl.dll_Ordinal_4348]
push 0x14
test eax, eax
je 0x1002fd36
pop ecx
call dword [sym.imp.fpsrvutl.dll_Ordinal_5011]
jmp 0x1002fd3d
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x580], eax
xor edx, edx
mov dword [ebp - 4], edx
test eax, eax
je 0x1002fd5e
push edx
push 0x640044
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5274]
add esp, 0xc
mov edx, eax
mov eax, edx
jmp 0x100303c0
push esi
lea ecx, [ebp - 0x584]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4871]
lea eax, [ebp - 0x584]
mov dword [ebp - 4], 1
push eax
lea ecx, [edi + 0x74]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3355]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x584]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov eax, dword [esi + 0xc]
push dword [ebp - 0x58c]
mov dword [edi + 0x50], esi
lea esi, [edi + 0x34]
mov ecx, esi
mov dword [edi + 0x70], eax
call fcn.1006ba2b
test eax, eax
jne 0x100303c0
call dword [sym.imp.fpsrvutl.dll_Ordinal_4348]
push 0x3c
test eax, eax
je 0x1002fdcf
pop ecx
call dword [sym.imp.fpsrvutl.dll_Ordinal_5011]
jmp 0x1002fdd6
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x58c], eax
mov dword [ebp - 0x580], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x1002fe0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ecx, dword [ebp - 0x58c]
push eax
xor eax, eax
test edi, edi
cmove esi, eax
push esi
call fcn.1002f575
jmp 0x1002fe0c
mov eax, ebx
or dword [ebp - 4], 0xffffffff
mov dword [edi + 0x48], eax
lock inc dword [eax + 0x2c]
mov eax, dword [edi + 0x80]
mov ecx, 0x84600000
mov edx, 0x80600000
cmp dword [eax + 4], ebx
mov eax, dword [edi + 0x50]
cmove ecx, edx
mov dword [ebp - 0x584], ecx
test byte [eax + 0x1c], 1
je 0x1002fe90
mov eax, dword [0x100f55b0]
or ecx, 0x800000
push dword [edi + 0x70]
mov dword [ebp - 0x584], ecx
mov esi, dword [eax + 4]
lea eax, [edi + 0x74]
push eax
lea eax, [ebp - 0x580]
push eax
call fcn.10070cab
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call dword [sym.imp.fpsrvutl.dll_Ordinal_2254]
lea ecx, [ebp - 0x580]
mov esi, eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
cmp esi, 0xffffffff
je 0x1002fe90
or dword [ebp - 0x584], 0x3100
lea eax, [ebp - 0x578]
mov dword [ebp - 0x374], ebx
mov dword [ebp - 0x57c], eax
mov dword [ebp - 0x370], 0x200
mov dword [ebp - 4], 4
mov ecx, dword [edi + 0x80]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4369]
push eax
lea ecx, [ebp - 0x58c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4872]
lea eax, [ebp - 0x580]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x58c]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4884]
lea ecx, [ebp - 0x57c]
mov byte [ebp - 4], 6
push ecx
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_1215]
mov esi, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
lea ecx, [ebp - 0x580]
call esi
lea ecx, [ebp - 0x58c]
mov byte [ebp - 4], 4
call esi
mov ecx, dword [ebp - 0x57c]
mov eax, dword [ebp - 0x374]
mov byte [eax + ecx], bl
lea eax, [ebp - 0x580]
mov ecx, dword [edi + 0x80]
mov esi, dword [ebp - 0x57c]
mov ebx, dword [sym.imp.fpsrvutl.dll_Ordinal_232]
push eax
call ebx
mov ecx, eax
mov byte [ebp - 4], 7
call dword [sym.imp.fpsrvutl.dll_Ordinal_5580]
push esi
push eax
push str.Sending__s_request_to__s.
push 7
push 0xc
call fcn.1001ef2c
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x580]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
mov ecx, dword [ebp - 0x57c]
xor edx, edx
mov eax, dword [ebp - 0x374]
mov esi, dword [edi + 0x48]
mov byte [eax + ecx], dl
lea eax, [ebp - 0x580]
mov ecx, dword [ebp - 0x588]
mov edi, dword [ebp - 0x57c]
push eax
mov ecx, dword [ecx + 0x80]
call ebx
push esi
push dword [ebp - 0x584]
xor ebx, ebx
push ebx
push ebx
push ebx
push edi
mov edi, dword [ebp - 0x588]
push dword [eax]
push dword [edi + 0x3c]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
lea ecx, [ebp - 0x580]
mov dword [edi + 0x64], eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
cmp dword [edi + 0x64], ebx
jne 0x10030046
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
cmp dword [edi + 0x48], ebx
je 0x1002ffd9
mov dword [edi + 0x48], ebx
cmp edx, 0x7a
jne 0x1003001a
call dword [sym.imp.fpsrvutl.dll_Ordinal_4348]
push 0x14
test eax, eax
je 0x1002fff3
pop ecx
call dword [sym.imp.fpsrvutl.dll_Ordinal_5011]
jmp 0x1002fffa
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov dword [ebp - 0x580], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x10030025
push ebx
push 0x640052
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_5274]
add esp, 0xc
jmp 0x10030023
lea ecx, [edi + 0x34]
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
mov ebx, eax
lea eax, [ebp - 0x578]
cmp dword [ebp - 0x57c], eax
je 0x1003003f
push dword [ebp - 0x57c]
call fcn.1006ba2b
pop ecx
mov eax, ebx
jmp 0x100303c0
mov eax, dword [edi + 0x50]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
test byte [eax + 0x1c], 1
je 0x1003006f
push 4
lea eax, [ebp - 0x580]
mov dword [ebp - 0x580], 2
push eax
push 0x3e
push dword [edi + 0x64]
call esi
mov ecx, dword [edi + 0x80]
push ebx
call dword [sym.imp.fpsrvutl.dll_Ordinal_2875]
test eax, eax
je 0x100300a7
mov esi, ebx
push ebx
push 0xffffffffffffffff
push eax
push dword [edi + 0x64]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
mov ecx, dword [edi + 0x80]
inc esi
push esi
call dword [sym.imp.fpsrvutl.dll_Ordinal_2875]
test eax, eax
jne 0x10030082
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
mov ecx, dword [0x100f55b0]
cmp byte [ecx + 0x94], bl
je 0x10030115
call fcn.1000257a
cmp eax, 0x70000
jb 0x10030115
push 4
lea eax, [ebp - 0x580]
mov dword [ebp - 0x580], 1
push eax
push 0x41
push dword [edi + 0x64]
call esi
test eax, eax
je 0x1003010a
push ebx
push 0xffffffffffffffff
push str.Accept_encoding:_gzip__deflate
push dword [edi + 0x64]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x10030115
push 4
lea eax, [ebp - 0x588]
mov dword [ebp - 0x588], ebx
push eax
push 0x41
push dword [edi + 0x64]
call esi
mov eax, dword [0x100f55b0]
mov byte [eax + 0x94], bl
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x578]
cmp dword [ebp - 0x57c], eax
je 0x10030133
push dword [ebp - 0x57c]
call fcn.1006ba2b
pop ecx
mov ecx, dword [edi + 0x50]
lea eax, [ebp - 0x588]
push eax
call fcn.1006ba2b
push eax
lea ecx, [ebp - 0x580]
mov dword [ebp - 4], 9
call dword [sym.imp.fpsrvutl.dll_Ordinal_5888]
push ecx
lea edx, [ebp - 0x36c]
mov ecx, dword [eax]
call fcn.1006ba2b
pop ecx
lea ecx, [ebp - 0x580]
mov bl, al
call dword [sym.imp.fpsrvutl.dll_Ordinal_2017]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
test bl, bl
je 0x10030201
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x584]
call dword [sym.imp.fpsrvutl.dll_Ordinal_150]
mov esi, eax
push str.X_RequestDigest:
lea ecx, [ebp - 0x580]
mov dword [ebp - 4], 0xa
call dword [sym.imp.fpsrvutl.dll_Ordinal_2836]
push esi
push eax
lea eax, [ebp - 0x588]
mov byte [ebp - 4], 0xb
push eax
call dword [sym.imp.fpsrvutl.dll_Ordinal_4058]
mov ebx, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
lea ecx, [ebp - 0x580]
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x584]
call ebx
push 0xa0000000
push 0xffffffffffffffff
push dword [ebp - 0x588]
push dword [edi + 0x64]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
lea ecx, [ebp - 0x588]
call ebx
jmp 0x10030207
mov ebx, dword [sym.imp.fpsrvutl.dll_Ordinal_3409]
lea ecx, [ebp - 0x584]
call dword [sym.imp.fpsrvutl.dll_Ordinal_4936]
lea eax, [ebp - 0x584]
mov dword [ebp - 4], 0xc
mov ecx, dword [edi + 0x80]
push eax
push 0x15
call dword [sym.imp.fpsrvutl.dll_Ordinal_4774]
push dword [ebp - 0x584]
call dword [sym.imp.fpsrvutl.dll_Ordinal_1803]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x584]
mov esi, eax
call ebx
push esi
push dword [edi + 0x64]
mov dword [edi + 0x78], esi
push str.request_0x_08x:_Content_length:__d_n
push 7
push 0xc
call fcn.1001ef2c
mov eax, dword [edi + 0x78]
add esp, 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x5b4], 0x28
xor ebx, ebx
movlpd qword [ebp - 0x5b0], xmm0
movlpd qword [ebp - 0x5a8], xmm0
push ebx
movlpd qword [ebp - 0x5a0], xmm0
movlpd qword [ebp - 0x594], xmm0
mov dword [ebp - 0x598], eax
mov dword [edi + 4], 4
call dword [sym.imp.kernel32.dll_SetLastError]
mov esi, 0x400
cmp esi, dword [edi + 0x78]
sbb eax, eax
neg eax
mov dword [edi + 0x98], eax
cmp dword [edi + 0x78], esi
ja 0x10030336
push ebx
lea eax, [ebp - 0x58c]
mov dword [ebp - 0x58c], ebx
push eax
push ebx
push 0x80000015
push dword [edi + 0x64]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x100302ec
mov eax, dword [ebp - 0x58c]
dec eax
add dword [ecx + 0x24], eax
mov eax, dword [ebp - 0x58c]
mov ecx, dword [edi + 0x78]
dec eax
add ecx, eax
cmp esi, ecx
sbb eax, eax
neg eax
mov dword [edi + 0x98], eax
cmp ecx, esi
ja 0x10030336
push ecx
mov ecx, edi
mov dword [edi + 0x9c], ebx
call fcn.1002d341
test eax, eax
jne 0x100303c0
cmp dword [edi + 0x9c], ebx
jne 0x1003032e
cmp dword [edi + 0x78], ebx
je 0x1003032e
inc eax
jmp 0x10030330
mov eax, ebx
mov dword [edi + 0x98], eax
lea esi, [edi + 0x34]
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax + 0x24]
mov dword [edi + 0xa4], ebx
mov dword [ebp - 0x588], 1
cmp dword [edi + 0x98], ebx
jne 0x1003036f
push dword [edi + 0x78]
push dword [edi + 0x9c]
push ebx
push ebx
push dword [edi + 0x64]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
jmp 0x10030382
push ebx
push ebx
push ebx
lea eax, [ebp - 0x5b4]
push eax
push dword [edi + 0x64]
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
push ecx
push ebx
push eax
mov ecx, esi
call fcn.1006ba2b
mov esi, eax
test esi, esi
je 0x100303be
cmp dword [ebp - 0x588], ebx
je 0x100303bb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp eax, 0x190002
jne 0x100303bb
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov dword [ebp - 0x588], ebx
lea esi, [edi + 0x34]
jmp 0x10030351
mov dword [edi + 0x48], ebx
mov eax, esi
call fcn.1009cbd6
ret 4