Function at 0x49ea10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, ecx
push edi
mov edi, edx
push esi
push ebx
sub esp, 0x9c
mov dword [ecx + 0x70], 0
mov dword [ecx + 0x74], 0
mov eax, dword [esp + 0xb0]
mov dword [ecx + 0x78], 0
mov esi, dword [esp + 0xb4]
mov dword [ecx + 0x7c], 0
mov dword [ecx + 0x80], 0
mov dword [ecx + 0x84], 0
mov dword [ecx + 0x88], 0
mov dword [ecx + 0x8c], 0
mov ecx, 1
mov dword [esp], 4
mov dword [esp + 0x28], edx
mov edx, 8
mov dword [esp + 0x3c], eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call sym._newSeqPayload_12
mov edx, dword [0x4edbc0]
mov ecx, edi
sub esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 0x4ee13c
mov dword [esp + 0x38], eax
mov dword [esp + 0xc], eax
mov eax, dword [0x4edbbc]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZhttpcore_u4087_20
sub esp, 0x10
mov dword [esp], 0x4db1c8
mov dword [esp + 0x6c], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x30], eax
call sym.___emutls_get_address
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
movzx edi, byte [eax]
mov ebx, eax
mov eax, edi
test al, al
jne 0x49f430
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._toString__pureZhttpcore_u3172_8
movzx edi, byte [ebx]
sub esp, 8
mov ecx, edi
mov dword [esp + 0x30], edx
test cl, cl
jne 0x49ef90
cmp eax, 7
je 0x49ef58
mov dword [esp], 4
mov edx, 8
mov ecx, 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
call sym._newSeqPayload_12
mov edx, dword [0x4edb54]
sub esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 0x4ee13c
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x44], eax
mov dword [esp + 0xc], eax
mov eax, dword [0x4edb50]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZhttpcore_u4087_20
movzx edi, byte [ebx]
sub esp, 0x10
mov ecx, edi
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
test cl, cl
jne 0x49f468
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._toString__pureZhttpcore_u3172_8
movzx edi, byte [ebx]
sub esp, 8
mov ecx, edi
mov dword [esp + 0x40], edx
test cl, cl
jne 0x49f260
test eax, eax
jne 0x49efa0
cmp dword [esp + 0x3c], 3
mov dword [esp + 0x50], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
je 0x49f270
mov dword [esp + 0x3c], 0
mov dword [esp + 0x54], 0
mov dword [esp], 4
mov edx, 8
mov ecx, 1
mov dword [esp + 0x48], 1
call sym._newSeqPayload_12
mov edx, dword [0x4edb04]
sub esp, 4
mov dword [eax + 4], 0
mov esi, eax
mov dword [eax + 8], 0x4ee13c
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [0x4edb00]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZhttpcore_u4087_20
movzx ecx, byte [ebx]
sub esp, 0x10
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], edx
test cl, cl
jne 0x49f560
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._toString__pureZhttpcore_u3172_8
sub esp, 8
mov ecx, edx
mov dword [esp + 0x4c], edx
movzx edx, byte [ebx]
test dl, dl
jne 0x49ed37
cmp eax, 5
jne 0x49ecfa
cmp dword [ecx + 4], 0x736f6c63
je 0x49f548
mov eax, edi
test al, al
jne 0x49ed13
jmp 0x49ed39
cmp eax, 0xfa0
jne 0x49f4c8
mov eax, dword [ebp + 0x5c]
mov dword [esp + 4], 1
mov edx, 0xfa0
mov ecx, ebp
mov dword [esp], eax
call sym._recvFull__pureZhttpclient_u2118_16
movzx edx, byte [ebx]
sub esp, 8
test dl, dl
je 0x49ed08
mov edi, edx
mov eax, dword [esp + 0x4c]
mov byte [ebx], 0
test eax, eax
je 0x49ed55
mov eax, dword [eax]
mov dword [esp + 0x58], eax
test eax, 0x40000000
je 0x49f480
lea ecx, [esp + 0x88]
call sym._eqdestroy___pureZhttpcore_u3136_4
cmp byte [ebx], 0
jne 0x49f260
mov eax, dword [esp + 0x48]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._eqdestroy___system_u3791_8
sub esp, 8
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x49ed96
mov eax, dword [eax]
mov dword [esp + 0x48], eax
test eax, 0x40000000
je 0x49f4b0
lea ecx, [esp + 0x80]
call sym._eqdestroy___pureZhttpcore_u3136_4
cmp byte [ebx], 0
jne 0x49f260
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call sym._eqdestroy___system_u3791_8
mov eax, edi
mov byte [ebx], al
sub esp, 8
test al, al
jne 0x49f260
mov eax, dword [esp + 0x40]
mov byte [ebx], 0
test eax, eax
je 0x49edea
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
test eax, 0x40000000
je 0x49f400
mov eax, dword [esp + 0x44]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym._eqdestroy___system_u3791_8
sub esp, 8
lea ecx, [esp + 0x78]
call sym._eqdestroy___pureZhttpcore_u3136_4
cmp byte [ebx], 0
jne 0x49f418
mov eax, edi
mov byte [ebx], al
test al, al
jne 0x49f418
mov ecx, dword [ebp + 0x90]
xor edx, edx
call sym._setPosition__pureZstreams_u70_8
movzx edi, byte [ebx]
mov eax, edi
test al, al
jne 0x49ef90
mov dword [esp], 4
mov edx, 8
mov ecx, 1
mov dword [esp + 0x2c], 1
call sym._newSeqPayload_12
mov edx, dword [0x4edb04]
sub esp, 4
mov dword [eax + 4], 0
mov esi, eax
mov dword [eax + 8], 0x4ee13c
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [0x4edb00]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZhttpcore_u4087_20
movzx edi, byte [ebx]
sub esp, 0x10
mov ecx, edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
test cl, cl
jne 0x49f470
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._toString__pureZhttpcore_u3172_8
movzx edi, byte [ebx]
mov ecx, eax
sub esp, 8
mov eax, edx
cmp ecx, 5
mov ecx, edi
setne dl
or dl, cl
je 0x49f378
mov byte [ebx], 0
test eax, eax
je 0x49eee2
test dword [eax], 0x40000000
je 0x49f3d8
lea ecx, [esp + 0x70]
call sym._eqdestroy___pureZhttpcore_u3136_4
cmp byte [ebx], 0
jne 0x49ef45
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._eqdestroy___system_u3791_8
sub esp, 8
mov eax, dword [esp + 0x30]
test eax, eax
je 0x49ef1c
mov eax, dword [eax]
mov dword [esp + 0x28], eax
test eax, 0x40000000
je 0x49f3e8
lea ecx, [esp + 0x68]
call sym._eqdestroy___pureZhttpcore_u3136_4
cmp byte [ebx], 0
jne 0x49ef45
mov eax, dword [esp + 0x38]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym._eqdestroy___system_u3791_8
mov eax, edi
mov byte [ebx], al
sub esp, 8
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret 8
cmp dword [edx + 4], 0x6e756863
jne 0x49eb5f
cmp word [edx + 8], 0x656b
jne 0x49eb5f
cmp byte [edx + 0xa], 0x64
jne 0x49eb5f
mov ecx, ebp
call sym._parseChunks__pureZhttpclient_u2440_4
movzx edi, byte [ebx]
mov eax, edi
test al, al
je 0x49ee1f
nop
mov byte [ebx], 0
xor esi, esi
jmp 0x49eee2
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._toString__pureZhttpcore_u3172_8
sub esp, 8
cmp byte [ebx], 0
mov dword [esp + 0x3c], edx
jne 0x49f360
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._nsuParseInt_8
sub esp, 8
cmp byte [ebx], 0
mov esi, eax
jne 0x49f360
mov dword [ebp + 0x70], eax
sar eax, 0x1f
mov dword [ebp + 0x74], eax
test esi, esi
jle 0x49f230
mov eax, dword [ebp + 0x5c]
mov dword [esp + 4], 1
mov edx, esi
mov ecx, ebp
mov dword [esp], eax
call sym._recvFull__pureZhttpclient_u2118_16
sub esp, 8
cmp byte [ebx], 0
mov dword [esp + 0x48], eax
jne 0x49f360
test eax, eax
jne 0x49f528
cmp byte [ebp + 4], 0
jne 0x49f340
mov eax, dword [0x4edb18]
mov edx, dword [0x4edb1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._httpError__pureZhttpclient_u307_8
sub esp, 8
cmp byte [ebx], 0
jne 0x49f360
mov ecx, esi
call sym._dollar___systemZdollars_u8_4
cmp byte [ebx], 0
mov dword [esp + 0x50], eax
mov esi, eax
mov dword [esp + 0x4c], edx
jne 0x49f20e
mov ecx, dword [esp + 0x48]
call sym._dollar___systemZdollars_u8_4
cmp byte [ebx], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], edx
jne 0x49f1ed
lea ecx, [esi + eax + 0x3c]
call sym._rawNewString_4
lea esi, [eax + edx + 4]
mov ecx, edx
mov edx, 0x2064
mov word [esi + 0x34], dx
mov edx, eax
add edx, 0x36
mov dword [esi], 0x65636552
mov dword [esi + 4], 0x64657669
mov dword [esi + 8], 0x6e656c20
mov dword [esi + 0xc], 0x20687467
mov dword [esi + 0x10], 0x73656f64
mov dword [esi + 0x14], 0x2074276e
mov dword [esi + 0x18], 0x6374616d
mov dword [esi + 0x1c], 0x78652068
mov dword [esi + 0x20], 0x74636570
mov dword [esi + 0x24], 0x6c206465
mov dword [esi + 0x28], 0x74676e65
mov dword [esi + 0x2c], 0x57202e68
mov dword [esi + 0x30], 0x65746e61
mov byte [esi + 0x36], 0
mov dword [esp + 0x58], edx
jo 0x49f640
lea esi, [eax + ecx + 0x3a]
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x49f156
add eax, 1
jo 0x49f656
test eax, eax
js 0x49f56a
mov edx, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov dword [esp], esi
add edx, 4
mov dword [esp + 0x5c], ecx
mov dword [esp + 4], edx
call sym._memcpy
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
jo 0x49f656
mov dword [esp + 0x58], eax
lea esi, [eax + ecx + 4]
mov eax, dword [esp + 0x58]
mov edx, 0x203a
mov dword [esi], 0x746f6720
mov word [esi + 4], dx
add eax, 6
mov byte [esi + 6], 0
mov esi, eax
jo 0x49f62a
mov eax, dword [esp + 0x54]
test eax, eax
jle 0x49f1c2
add eax, 1
jo 0x49f668
test eax, eax
js 0x49f5ab
lea edx, [esi + ecx + 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], eax
add ecx, 4
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym._memcpy
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
add eax, esi
jo 0x49f668
mov esi, eax
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 0x50], ecx
call sym._httpError__pureZhttpclient_u307_8
sub esp, 8
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x49f1ed
test dword [ecx], 0x40000000
jne 0x49f1ed
mov dword [esp], ecx
call sym._deallocShared
mov eax, dword [esp + 0x48]
test eax, eax
je 0x49f20e
mov eax, dword [eax]
mov dword [esp + 0x50], eax
test eax, 0x40000000
jne 0x49f20e
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call sym._deallocShared
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x49f230
mov eax, dword [eax]
mov dword [esp + 0x48], eax
test eax, 0x40000000
jne 0x49f230
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym._deallocShared
nop
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x49f24d
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
test eax, 0x40000000
je 0x49f498
cmp byte [ebx], 0
je 0x49edce
lea esi, [esi]
lea esi, [esi]
mov edi, 1
jmp 0x49edce
cmp word [esi + 4], 0x2e31
lea eax, [esi + 4]
je 0x49f500
cmp word [esi + 4], 0x2e31
jne 0x49ec48
cmp byte [eax + 2], 0x31
jne 0x49ec48
mov dword [esp], 4
mov edx, 8
mov ecx, 1
mov dword [esp + 0x50], 1
call sym._newSeqPayload_12
mov edx, dword [0x4edb04]
sub esp, 4
mov dword [eax + 4], 0
mov dword [eax + 8], 0x4ee13c
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x54], eax
mov dword [esp + 0xc], eax
mov eax, dword [0x4edb00]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._getOrDefault__pureZhttpcore_u4087_20
movzx edi, byte [ebx]
sub esp, 0x10
mov ecx, edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
test cl, cl
jne 0x49f5ec
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._toString__pureZhttpcore_u3172_8
movzx edi, byte [ebx]
sub esp, 8
mov ecx, edi
mov dword [esp + 0x3c], edx
test cl, cl
jne 0x49f620
test eax, eax
sete al
mov edi, eax
jmp 0x49ec58
mov ecx, dword [ebp]
mov edx, 2
call sym._close__pureZnet_u1913_8
cmp byte [ebx], 0
jne 0x49f360
mov byte [ebp + 4], 0
cmp byte [ebx], 0
je 0x49f028
nop
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x49f238
jmp 0x49f260
cmp dword [eax + 4], 0x736f6c63
je 0x49f390
xor edi, edi
jmp 0x49eecf
cmp byte [eax + 8], 0x65
jne 0x49f381
movzx edi, byte [ebp + 4]
mov ecx, edi
test cl, cl
je 0x49eecf
mov ecx, dword [ebp]
mov edx, 2
mov dword [esp + 0x28], eax
call sym._close__pureZnet_u1913_8
movzx edi, byte [ebx]
mov eax, edi
test al, al
mov eax, dword [esp + 0x28]
jne 0x49eecf
mov byte [ebp + 4], 0
movzx edi, byte [ebx]
jmp 0x49eecf
mov dword [esp], eax
call sym._deallocShared
jmp 0x49eee2
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call sym._deallocShared
jmp 0x49ef1c
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sym._deallocShared
jmp 0x49edea
mov byte [ebx], 0
xor esi, esi
mov edi, 1
jmp 0x49eee2
mov byte [ebx], 0
lea ecx, [esp + 0x70]
call sym._eqdestroy___pureZhttpcore_u3136_4
cmp byte [ebx], 0
jne 0x49ef45
mov dword [esp], 0
mov dword [esp + 4], 0
call sym._eqdestroy___system_u3791_8
sub esp, 8
jmp 0x49ef1c
mov byte [ebx], 0
jmp 0x49edea
mov byte [ebx], 0
jmp 0x49eee2
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym._deallocShared
jmp 0x49ed55
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym._deallocShared
jmp 0x49f24d
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call sym._deallocShared
jmp 0x49ed96
movzx edi, byte [ebp + 4]
mov eax, edi
test al, al
je 0x49ed39
mov ecx, dword [ebp]
mov edx, 2
call sym._close__pureZnet_u1913_8
movzx edi, byte [ebx]
mov eax, edi
test al, al
jne 0x49ed39
mov byte [ebp + 4], 0
movzx edi, byte [ebx]
jmp 0x49ed39
cmp byte [eax + 2], 0x30
jne 0x49f27f
mov dword [esp + 0x3c], 0
mov edi, 1
mov dword [esp + 0x54], 0
jmp 0x49ec58
cmp esi, dword [esp + 0x48]
jne 0x49f04b
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x49f238
jmp 0x49edce
cmp byte [ecx + 8], 0x65
jne 0x49ecfa
jmp 0x49ed13
mov byte [ebx], 0
mov edi, ecx
jmp 0x49ed55
mov dword [esp + 0x10], 0x7fffffff
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0x80000000
mov dword [esp + 4], 0xffffffff
mov dword [esp + 0x50], ecx
call sym._raiseRangeErrorI
mov ecx, dword [esp + 0x50]
jmp 0x49f156
mov dword [esp + 0x10], 0x7fffffff
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp], 0x80000000
mov dword [esp + 4], 0xffffffff
mov dword [esp + 0x50], ecx
call sym._raiseRangeErrorI
mov ecx, dword [esp + 0x50]
jmp 0x49f1c2
mov byte [ebx], 0
lea ecx, [esp + 0x88]
call sym._eqdestroy___pureZhttpcore_u3136_4
cmp byte [ebx], 0
jne 0x49f260
mov dword [esp], 0
mov dword [esp + 4], 0
call sym._eqdestroy___system_u3791_8
sub esp, 8
jmp 0x49ed96
mov byte [ebx], 0
xor esi, esi
jmp 0x49ed55
mov dword [esp + 0x50], ecx
call sym._raiseOverflow
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
jmp 0x49f178
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], eax
call sym._raiseOverflow
mov ecx, dword [esp + 0x5c]
jmp 0x49f108
mov dword [esp + 0x50], ecx
call sym._raiseOverflow
mov ecx, dword [esp + 0x50]
jmp 0x49f156
mov dword [esp + 0x50], ecx
call sym._raiseOverflow
mov ecx, dword [esp + 0x50]
jmp 0x49f1c2