Function at 0x100b2000
Capabilities:
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022d13f
mov eax, dword fs:[0]
push eax
sub esp, 0x960
mov eax, dword [0x102e91c0]
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, ecx
mov dword [ebp - 0x8c8], edi
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8cc], 0
mov esi, dword [0x102eec30]
mov dword [ebp - 0x8d0], eax
test ebx, ebx
je 0x100b2d8a
test esi, esi
je 0x100b2087
push ebx
push str.handleHTTPWorkflow:_Bytes_received_from_Client:__ld_n
push 0x1025b044
push 0x1025b044
push str.WAMV2ProxyServer
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x1c
xor eax, eax
mov dword [ebp - 0x8a8], 0
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 7
mov word [ebp - 0x8a8], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x8a8]
mov esi, dword [ebp - 0x8d0]
push ecx
mov ecx, esi
call fcn.1016cc90
add esp, 4
mov dword [ebp - 0x830], 0
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
push 7
push str.Referer
call fcn.1000aef0
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0x8a8]
lea ecx, [ebp - 0x890]
call fcn.100b2de0
add esp, 4
lea ecx, [ebp - 0x830]
mov byte [ebp - 4], 3
call fcn.1000ae90
lea edx, [ebp - 0x890]
lea ecx, [ebp - 0x878]
call fcn.100b2fd0
push 0x1025b044
lea ecx, [ebp - 0x878]
mov byte [ebp - 4], 4
call fcn.1000afa0
test al, al
jne 0x100b2c2e
push ecx
lea ecx, [edi + 0x88]
lea edx, [ebp - 0x878]
call fcn.101452d0
add esp, 4
test al, al
je 0x100b2c2e
push 7
push esi
push str.OPTIONS
call fcn.101dc9d0
add esp, 0xc
test eax, eax
jne 0x100b22fd
mov esi, dword [0x102eec30]
test esi, esi
je 0x100b21ba
push str.handleHTTPWorkflow:_Options_call_recieved
push 0x1025b044
push 0x1025b044
push str.WAMV2ProxyServer
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
push 0x87
push str.HTTP_1.1_200_OK_r_nAccess_Control_Request_Methods:_GET_r_nAccess_Control_Request_Private_Network:_true_r_nAccess_Control_Allow_Origin:___r_n_r_n
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.1000aef0
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x830]
cmp dword [ebp - 0x81c], 8
lea edx, [ebp - 0x848]
cmovae ecx, dword [ebp - 0x830]
push ecx
call fcn.1016caf0
add esp, 4
lea eax, [ebp - 0x848]
cmp dword [ebp - 0x834], 0x10
cmovae eax, dword [ebp - 0x848]
push 0
push dword [ebp - 0x820]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x100b229d
mov esi, dword [0x102eec30]
test esi, esi
je 0x100b229d
cmp dword [edi + 0x48], 8
lea eax, [edi + 0x34]
jb 0x100b2279
mov eax, dword [eax]
push str.sendHttp200_:sending_http_response_failed
push 0x1025b044
push 0x1025b044
push eax
push str.c3containerBL
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov ecx, dword [ebp - 0x834]
cmp ecx, 0x10
jb 0x100b22d7
mov edx, dword [ebp - 0x848]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b22cd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100b2dd6
push ecx
push edx
call fcn.101d02bd
add esp, 8
mov dword [ebp - 0x838], 0
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x834], 0xf
mov byte [ebp - 0x848], 0
jmp 0x100b2d60
mov ecx, 0x800
lea eax, [ebp - 0x810]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x100b2310
push ebx
lea eax, [ebp - 0x810]
push eax
push esi
call fcn.100b31f0
test al, al
jne 0x100b248a
push 0
push 0x1025b044
lea ecx, [ebp - 0x848]
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0
call fcn.1000aef0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x930]
push 0x10
push str.httpReasonFailed
mov dword [ebp - 0x930], 0
mov dword [ebp - 0x920], 0
mov dword [ebp - 0x91c], 0
call fcn.1000aef0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x830]
push 0x1a
push str.WAM_DETECT_INVALID_REQUEST
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.1000aef0
mov byte [ebp - 4], 0xc
cmp dword [0x102eec28], 0
jne 0x100b240c
push 0x5d0
call fcn.101cff73
mov esi, eax
mov dword [ebp - 0x8c8], esi
push 0x5d0
push 0
push esi
mov byte [ebp - 4], 0xd
call fcn.101d28f0
add esp, 0x10
mov ecx, esi
call fcn.100200f0
mov byte [ebp - 4], 0xc
mov dword [0x102eec28], eax
lea eax, [ebp - 0x848]
push eax
push 0
lea eax, [ebp - 0x930]
push eax
push 2
lea eax, [ebp - 0x830]
push eax
call fcn.10108bb0
lea ecx, [ebp - 0x830]
call fcn.1000ae90
lea ecx, [ebp - 0x930]
call fcn.1000ae90
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 4
call fcn.1000ae90
mov esi, dword [0x102eec30]
test esi, esi
je 0x100b2d65
push str.handleHTTPWorkflow:_Error_parsing_the_HTTP_request
push 0x1025b044
push 0x1025b044
push str.WAMV2ProxyServer
push str.c3containerBL
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x100b2d65
xor eax, eax
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 7
mov word [ebp - 0x860], ax
xorps xmm0, xmm0
mov byte [ebp - 4], 0xe
movlpd qword [ebp - 0x818], xmm0
push 0x40
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x814], eax
call fcn.101cff73
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x818], eax
lea edx, [ebp - 0x860]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x810]
call fcn.1016cc90
add esp, 4
lea edx, [ebp - 0x818]
lea ecx, [ebp - 0x860]
call fcn.10145840
push 4
push str.type
lea ecx, [ebp - 0x930]
mov dword [ebp - 0x930], 0
mov dword [ebp - 0x920], 0
mov dword [ebp - 0x91c], 0
call fcn.1000aef0
lea eax, [ebp - 0x930]
push eax
lea eax, [ebp - 0x96c]
push eax
lea ecx, [ebp - 0x818]
call fcn.10011650
mov esi, dword [ebp - 0x964]
mov ebx, dword [ebp - 0x818]
cmp byte [esi + 0xd], 0
jne 0x100b25a4
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x100b2577
mov edx, dword [esi + 0x10]
push dword [esi + 0x20]
cmp dword [ebp - 0x91c], 8
lea ecx, [ebp - 0x930]
push edx
cmovae ecx, dword [ebp - 0x930]
mov edx, dword [ebp - 0x920]
call fcn.10010bf0
shr eax, 0x1f
add esp, 8
test al, al
je 0x100b25a6
mov esi, ebx
cmp esi, ebx
lea ecx, [ebp - 0x930]
setne bl
call fcn.1000ae90
test bl, bl
je 0x100b2ab0
push 4
push str.type
lea ecx, [ebp - 0x948]
mov dword [ebp - 0x948], 0
mov dword [ebp - 0x938], 0
mov dword [ebp - 0x934], 0
call fcn.1000aef0
lea eax, [ebp - 0x948]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x818]
call fcn.1000fbe0
push eax
lea ecx, [ebp - 0x8c0]
call fcn.1000fe90
lea ecx, [ebp - 0x948]
mov byte [ebp - 4], 0x12
call fcn.1000ae90
push str.http_ping
lea ecx, [ebp - 0x8c0]
call fcn.1000afa0
test al, al
je 0x100b2648
push dword [ebp + 8]
mov ecx, edi
call fcn.100b0590
lea ecx, [ebp - 0x8c0]
jmp 0x100b2bf7
push str.http_initiate_workflow
lea ecx, [ebp - 0x8c0]
call fcn.1000afa0
test al, al
je 0x100b2aa5
push 0xb
push str.channelGuid
lea ecx, [ebp - 0x830]
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.1000aef0
lea eax, [ebp - 0x830]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x83c]
mov ebx, 1
push eax
lea ecx, [ebp - 0x818]
mov dword [ebp - 0x8cc], ebx
call fcn.10011650
mov esi, dword [ebp - 0x834]
mov eax, dword [ebp - 0x818]
cmp byte [esi + 0xd], 0
jne 0x100b2709
cmp dword [esi + 0x24], 8
lea edx, [esi + 0x10]
jb 0x100b26d6
mov edx, dword [esi + 0x10]
push dword [esi + 0x20]
cmp dword [ebp - 0x81c], 8
lea ecx, [ebp - 0x830]
push edx
cmovae ecx, dword [ebp - 0x830]
mov edx, dword [ebp - 0x820]
call fcn.10010bf0
shr eax, 0x1f
add esp, 8
test al, al
mov eax, dword [ebp - 0x818]
je 0x100b270b
mov esi, eax
cmp esi, eax
je 0x100b2775
push 0xb
push str.channelGuid
lea ecx, [ebp - 0x960]
mov dword [ebp - 0x960], 0
mov dword [ebp - 0x950], 0
mov dword [ebp - 0x94c], 0
call fcn.1000aef0
lea eax, [ebp - 0x960]
mov dword [ebp - 4], 0x14
mov ebx, 3
lea ecx, [ebp - 0x818]
push eax
mov dword [ebp - 0x8cc], ebx
call fcn.1000fbe0
mov ecx, eax
call fcn.100b3540
mov byte [ebp - 0x8c1], 1
test al, al
jne 0x100b277c
mov byte [ebp - 0x8c1], 0
test bl, 2
je 0x100b278f
lea ecx, [ebp - 0x960]
and ebx, 0xfffffffd
call fcn.1000ae90
mov dword [ebp - 4], 0x12
test bl, 1
je 0x100b27a6
lea ecx, [ebp - 0x830]
call fcn.1000ae90
cmp byte [ebp - 0x8c1], 0
je 0x100b2959
push dword [ebp + 8]
mov ecx, edi
call fcn.100b0590
push 0xb
push str.channelGuid
lea ecx, [ebp - 0x900]
mov dword [ebp - 0x900], 0
mov dword [ebp - 0x8f0], 0
mov dword [ebp - 0x8ec], 0
call fcn.1000aef0
lea eax, [ebp - 0x900]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x818]
call fcn.1000fbe0
mov esi, dword [0x102eec30]
mov edi, eax
test esi, esi
je 0x100b2840
cmp dword [edi + 0x14], 8
jb 0x100b2817
mov eax, dword [edi]
push eax
push str.initializeV2Workflow_:_channelGuid__s
push 0x1025b044
push 0x1025b044
push str.WAMV2ProxyServer
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x1c
mov ecx, dword [0x102eec28]
mov dword [ebp - 0x8d0], 2
test ecx, ecx
jne 0x100b288d
push 0x5d0
call fcn.101cff73
mov esi, eax
mov dword [ebp - 0x8cc], esi
push 0x5d0
push 0
push esi
mov byte [ebp - 4], 0x16
call fcn.101d28f0
add esp, 0x10
mov ecx, esi
call fcn.100200f0
mov ecx, eax
mov byte [ebp - 4], 0x15
mov dword [0x102eec28], ecx
mov ecx, dword [ecx + 0x294]
lea eax, [ebp - 0x8d0]
push edi
push eax
mov eax, dword [ebp - 0x8c8]
add eax, 0x70
push eax
call fcn.10107bf0
lea ecx, [ebp - 0x900]
mov byte [ebp - 4], 0x12
call fcn.1000ae90
cmp dword [0x102eec30], 0
je 0x100b2aa5
push 0xb
push str.channelGuid
lea ecx, [ebp - 0x8e8]
mov dword [ebp - 0x8e8], 0
mov dword [ebp - 0x8d8], 0
mov dword [ebp - 0x8d4], 0
call fcn.1000aef0
lea eax, [ebp - 0x8e8]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x818]
call fcn.1000fbe0
cmp dword [eax + 0x14], 8
jb 0x100b2914
mov eax, dword [eax]
mov esi, dword [0x102eec30]
mov ecx, esi
push eax
push str.handleHTTPWorkflow_:_ChannelGuid__s
push 0x1025b044
push 0x1025b044
push str.WAMV2ProxyServer
push str.c3containerBL
push 0x1e
call dword [0x1024852c]
call esi
add esp, 0x1c
lea ecx, [ebp - 0x8e8]
call fcn.1000ae90
lea ecx, [ebp - 0x8c0]
jmp 0x100b2bf7
mov esi, dword [0x102eec30]
test esi, esi
je 0x100b298b
push str.handleHTTPWorkflow_:_ChannelGuid_not_found
push 0x1025b044
push 0x1025b044
push str.WAMV2ProxyServer
push str.c3containerBL
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
push 0
push 0x1025b044
lea ecx, [ebp - 0x918]
mov dword [ebp - 0x918], 0
mov dword [ebp - 0x908], 0
mov dword [ebp - 0x904], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x900]
push 0xd
push str.invalidParams
mov dword [ebp - 0x900], 0
mov dword [ebp - 0x8f0], 0
mov dword [ebp - 0x8ec], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x8e8]
push 0x1a
push str.WAM_DETECT_INVALID_REQUEST
mov dword [ebp - 0x8e8], 0
mov dword [ebp - 0x8d8], 0
mov dword [ebp - 0x8d4], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x1a
cmp dword [0x102eec28], 0
jne 0x100b2a66
push 0x5d0
call fcn.101cff73
mov esi, eax
mov dword [ebp - 0x8c8], esi
push 0x5d0
push 0
push esi
mov byte [ebp - 4], 0x1b
call fcn.101d28f0
add esp, 0x10
mov ecx, esi
call fcn.100200f0
mov byte [ebp - 4], 0x1a
mov dword [0x102eec28], eax
lea eax, [ebp - 0x918]
push eax
push 0
lea eax, [ebp - 0x900]
push eax
push 2
lea eax, [ebp - 0x8e8]
push eax
call fcn.10108bb0
lea ecx, [ebp - 0x8e8]
call fcn.1000ae90
lea ecx, [ebp - 0x900]
call fcn.1000ae90
lea ecx, [ebp - 0x918]
call fcn.1000ae90
lea ecx, [ebp - 0x8c0]
jmp 0x100b2bf7
mov esi, dword [0x102eec30]
test esi, esi
je 0x100b2ae2
push str.handleHTTPWorkflow_:_Invalid_Url_:_Url_does_not_have_type_param
push 0x1025b044
push 0x1025b044
push str.WAMV2ProxyServer
push str.c3containerBL
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
push 0
push 0x1025b044
lea ecx, [ebp - 0x900]
mov dword [ebp - 0x900], 0
mov dword [ebp - 0x8f0], 0
mov dword [ebp - 0x8ec], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x8e8]
push 0xd
push str.invalidParams
mov dword [ebp - 0x8e8], 0
mov dword [ebp - 0x8d8], 0
mov dword [ebp - 0x8d4], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x918]
push 0x1a
push str.WAM_DETECT_INVALID_REQUEST
mov dword [ebp - 0x918], 0
mov dword [ebp - 0x908], 0
mov dword [ebp - 0x904], 0
call fcn.1000aef0
mov byte [ebp - 4], 0x1e
cmp dword [0x102eec28], 0
jne 0x100b2bbd
push 0x5d0
call fcn.101cff73
mov esi, eax
mov dword [ebp - 0x8c8], esi
push 0x5d0
push 0
push esi
mov byte [ebp - 4], 0x1f
call fcn.101d28f0
add esp, 0x10
mov ecx, esi
call fcn.100200f0
mov byte [ebp - 4], 0x1e
mov dword [0x102eec28], eax
lea eax, [ebp - 0x900]
push eax
push 0
lea eax, [ebp - 0x8e8]
push eax
push 2
lea eax, [ebp - 0x918]
push eax
call fcn.10108bb0
lea ecx, [ebp - 0x918]
call fcn.1000ae90
lea ecx, [ebp - 0x8e8]
call fcn.1000ae90
lea ecx, [ebp - 0x900]
call fcn.1000ae90
mov eax, dword [ebp - 0x818]
push dword [eax + 4]
lea eax, [ebp - 0x818]
push eax
mov ecx, eax
call fcn.10010e30
push 0x40
push dword [ebp - 0x818]
call fcn.101d02bd
add esp, 8
lea ecx, [ebp - 0x860]
jmp 0x100b2d60
mov esi, dword [0x102eec30]
test esi, esi
je 0x100b2c8a
cmp dword [ebp - 0x87c], 8
lea ecx, [ebp - 0x890]
lea eax, [ebp - 0x878]
cmovae ecx, dword [ebp - 0x890]
cmp dword [ebp - 0x864], 8
push ecx
cmovae eax, dword [ebp - 0x878]
mov ecx, esi
push eax
push str.handleHTTPWorkflow:_Domain:__s__Validation_Failed._sourceUrl:__s
push 0x1025b044
push 0x1025b044
push str.WAMV2ProxyServer
push str.c3containerBL
push 0x32
call dword [0x1024852c]
call esi
add esp, 0x20
push 0xd
push str.invalidDomain
lea ecx, [ebp - 0x8e8]
mov dword [ebp - 0x8e8], 0
mov dword [ebp - 0x8d8], 0
mov dword [ebp - 0x8d4], 0
call fcn.1000aef0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x918]
push 0x1a
push str.WAM_DETECT_INVALID_REQUEST
mov dword [ebp - 0x918], 0
mov dword [ebp - 0x908], 0
mov dword [ebp - 0x904], 0
call fcn.1000aef0
mov byte [ebp - 4], 6
cmp dword [0x102eec28], 0
jne 0x100b2d31
push 0x5d0
call fcn.101cff73
mov esi, eax
mov dword [ebp - 0x8c8], esi
push 0x5d0
push 0
push esi
mov byte [ebp - 4], 7
call fcn.101d28f0
add esp, 0x10
mov ecx, esi
call fcn.100200f0
mov byte [ebp - 4], 6
mov dword [0x102eec28], eax
lea eax, [ebp - 0x890]
push eax
push 0
lea eax, [ebp - 0x8e8]
push eax
push 2
lea eax, [ebp - 0x918]
push eax
call fcn.10108bb0
lea ecx, [ebp - 0x918]
call fcn.1000ae90
lea ecx, [ebp - 0x8e8]
call fcn.1000ae90
lea ecx, [ebp - 0x878]
call fcn.1000ae90
lea ecx, [ebp - 0x890]
call fcn.1000ae90
lea ecx, [ebp - 0x8a8]
call fcn.1000ae90
mov al, 1
jmp 0x100b2db8
test esi, esi
je 0x100b2db6
push str.handleHTTPWorkflow:_recv_failed__Connection_closed
push 0x1025b044
push 0x1025b044
push str.WAMV2ProxyServer
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
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.101cff65
mov esp, ebp
pop ebp
ret 0xc
call fcn.101dc0ba
int3