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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
lea edx, [eax + ebp]
test ebp, ebp
cmove edx, ebp
movzx ecx, word [esi + 0x1e8]
test ecx, 0x200
jne 0x49f838
test cl, 0x10
jne 0x49f842
mov eax, edx
sub eax, ebp
je 0x49f85b
mov dword [esp + 0x14], eax
lea eax, [esi + 0x160]
mov dword [esp + 4], eax
lea eax, [esi + 0x1c8]
mov dword [esp + 0xc], eax
lea eax, [esi + 0x1d8]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp], edx
jmp 0x49f890
mov dword [edi], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [edi], 0
test eax, eax
je 0x49f873
sub edx, ebp
push edx
push ebp
push esi
call fcn.004a4910
add esp, 0x24
jmp 0x49f83d
mov dword [esp + 8], 0
cmp dword [esp + 0x40], 0
jne 0x49fe06
jmp 0x49fedb
xor eax, eax
jmp case.0x49f9a2.2
mov dword [esi + 0x1a0], 2
xor ebx, ebx
cmp ebp, edx
setne al
or al, bl
je 0x49fdf9
mov eax, dword [esi + 0x1a0]
cmp eax, 5
ja case.default.0x49f89b
jmp dword [eax*4 + 0xa37404]
mov eax, edx
sub eax, ebp
test eax, eax
jle 0x49ff19
push dword [esp + 0x40]
push eax
push ebp
push dword [esp + 0x10]
call fcn.004a33a0
add esp, 0x10
test eax, eax
js 0x49febb
add ebp, eax
add dword [esp + 8], eax
cmp dword [esi + 0x168], 0
jne 0x49fdfb
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x164]
mov dword [esi + 0x174], ecx
mov dword [esi + 0x170], eax
push dword [esp + 4]
call fcn.004a3370
add esp, 4
mov dword [esi + 0x1a0], 1
mov edx, dword [esp]
cmp ebp, edx
je 0x49fdf9
mov eax, edx
sub eax, ebp
test eax, eax
jle 0x49ff04
push dword [esp + 0x40]
push eax
push ebp
push dword [esp + 0x10]
call fcn.004a33a0
add esp, 0x10
test eax, eax
js 0x49fe94
add ebp, eax
add dword [esp + 8], eax
cmp dword [esi + 0x168], 0
jne 0x49fdfb
mov eax, dword [esi + 0x160]
mov ecx, dword [esi + 0x164]
mov dword [esi + 0x17c], ecx
mov dword [esi + 0x178], eax
mov dword [esi + 0x19c], ecx
mov dword [esi + 0x198], eax
push dword [esp + 4]
call fcn.004a3370
add esp, 4
mov ecx, dword [esi + 0x170]
mov edx, dword [esi + 0x174]
mov eax, 0xfffffda7
mov ebx, 0xd
cmp ebx, ecx
mov ebx, 0
sbb ebx, edx
jb case.default.0x49f9a2
jmp dword [ecx*4 + 0xa3748c]
push 0
push esi
call fcn.004a4a80
add esp, 8
test eax, eax
jne case.0x49f9a2.2
mov eax, dword [esi + 0x198]
or eax, dword [esi + 0x19c]
mov edx, dword [esp]
jne 0x49f877
push 1
push esi
call fcn.004a4a80
add esp, 8
test eax, eax
je 0x49fde3
jmp 0x49ff58
mov eax, dword [esi + 0x198]
mov ecx, dword [esi + 0x19c]
mov ebx, edx
sub ebx, ebp
mov edx, ebx
sar edx, 0x1f
cmp eax, ebx
mov edi, ecx
sbb edi, edx
mov edx, eax
jl 0x49fa0a
mov edx, ebx
add ebp, edx
add dword [esp + 8], edx
mov edi, eax
sub edi, edx
mov ebx, ecx
sbb ebx, 0
xor eax, edx
or eax, ecx
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], ebx
jne 0x49fe83
push dword [esp + 4]
call fcn.004a3380
add esp, 4
xor ebx, ebx
mov edi, dword [esp + 0x30]
mov edx, dword [esp]
jmp 0x49f883
mov ebx, dword [esi + 0x198]
mov ecx, dword [esi + 0x19c]
mov eax, edx
sub eax, ebp
mov edx, eax
sar edx, 0x1f
cmp ebx, eax
sbb ecx, edx
jl 0x49fa66
mov ebx, eax
push ebx
push esi
call fcn.004a6970
add esp, 8
test eax, eax
mov ecx, dword [esp + 0x2c]
jne case.0x49f9a2.2
mov eax, dword [ecx + 0x48]
test eax, eax
je 0x49faa5
push dword [esi + 0x124]
push dword [ecx + 0x420]
push ebx
push ebp
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ecx
call eax
add esp, 0x1c
test eax, eax
jne 0x49fe9e
add ebp, ebx
mov eax, dword [esi + 0x198]
mov edi, dword [esi + 0x19c]
mov edx, eax
sub edx, ebx
mov ecx, edi
sbb ecx, 0
mov dword [esi + 0x198], edx
mov dword [esi + 0x19c], ecx
xor eax, ebx
or eax, edi
jne 0x49fe83
push 1
push esi
call fcn.004a4a80
add esp, 8
test eax, eax
mov edi, dword [esp + 0x30]
je 0x49fde3
jmp 0x49ff2e
mov eax, dword [esi + 0x198]
mov ecx, dword [esi + 0x19c]
mov ebx, edx
sub ebx, ebp
mov edx, ebx
sar edx, 0x1f
cmp eax, ebx
mov edi, ecx
sbb edi, edx
mov edx, eax
jl 0x49fb0f
mov edx, ebx
xor eax, edx
xor ebx, ebx
or eax, ecx
sete bl
push ebx
push edx
push ebp
push esi
mov edi, dword [esp + 0x3c]
push edi
call fcn.004a1390
add esp, 0x14
test eax, eax
js 0x49fc20
add ebp, eax
add dword [esp + 8], eax
mov ecx, dword [esi + 0x198]
mov edx, dword [esi + 0x19c]
mov edi, ecx
sub edi, eax
mov ebx, edx
sbb ebx, 0
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], ebx
test byte [esi + 0x1e8], 0x10
jne 0x49fec5
xor ecx, eax
or ecx, edx
mov edi, dword [esp + 0x30]
jne 0x49fdfb
mov eax, dword [esi + 0x1c0]
lea ecx, [eax - 3]
cmp ecx, 0xd
ja case.0x49fb85.4
jmp dword [ecx*4 + 0xa3741c]
push dword [esp + 0xc]
call fcn.004a6810
add esp, 4
cmp eax, 0xffffff97
je 0x49fccf
test eax, eax
jne case.0x49f9a2.2
mov eax, dword [esi + 0x1c0]
add eax, 0xfffffffd
cmp eax, 0xd
ja case.0x49fbbb.4
jmp dword [eax*4 + 0xa37454]
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x64]
test eax, eax
jne 0x49fd9c
jmp 0x49fdd0
push 2
push esi
call fcn.004a4a80
add esp, 8
test eax, eax
jne case.0x49f9a2.2
mov eax, dword [esi + 0x198]
or eax, dword [esi + 0x19c]
je 0x49fc57
mov eax, dword [esi + 0x1c0]
add eax, 0xfffffffd
cmp eax, 0xd
ja case.0x49fc09.4
jmp dword [eax*4 + 0xa374c4]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x50]
test eax, eax
jne 0x49fc8b
jmp 0x49fcab
cmp eax, 0xffffff97
je 0x49fcd3
jmp case.0x49f9a2.2
add ecx, 0xfff0f900
adc edx, 0xffffffff
cmp ecx, 2
sbb edx, 0
jb case.0x49f9a2.2
mov dword [esi + 0x1a0], 4
mov bl, 1
mov edx, dword [esp]
jmp 0x49f883
push esi
call fcn.004a4ce0
add esp, 4
test eax, eax
jne case.0x49f9a2.2
push 3
push esi
call fcn.004a4a80
add esp, 8
test eax, eax
je 0x49fde3
jmp 0x49ff6d
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x5c]
test eax, eax
je 0x49fcab
push dword [esi + 0x124]
push dword [ecx + 0x420]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ecx
call eax
add esp, 0x14
test eax, eax
jne 0x49fe9e
mov dword [esi + 0x1a0], 3
jmp 0x49fdef
push dword [esp + 0xc]
call fcn.004a68a0
add esp, 4
cmp eax, 0xffffff97
jne 0x49fba1
mov edi, dword [esp + 0x2c]
or byte [esi + 0x1e9], 0x10
mov dword [esi + 0x1a0], 5
mov eax, dword [edi + 0x68]
test eax, eax
je 0x49fd12
push dword [esi + 0x124]
push dword [edi + 0x420]
push 0
push 0x10e
push dword [esi + 0x1c]
push dword [esi + 0x18]
push edi
call eax
add esp, 0x1c
test eax, eax
jne 0x49fe9e
mov eax, dword [edi + 0x70]
mov bl, 1
test eax, eax
mov ecx, edi
mov edi, dword [esp + 0x30]
je 0x49fd50
push dword [esi + 0x124]
push dword [ecx + 0x420]
push 0
push 0x10e
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ecx
call eax
add esp, 0x1c
test eax, eax
mov edx, dword [esp]
je 0x49f883
jmp 0x49fe9e
mov edx, dword [esp]
jmp 0x49f883
mov eax, dword [esp + 0x2c]
cmp dword [eax + 0x424], 0
je case.0x49fbbb.12
test byte [esi + 0x1e5], 0x80
je case.0x49fbbb.12
test byte [esi + 0x1e9], 0xc
jne case.0x49fbbb.12
mov ecx, dword [esp + 0x2c]
mov edx, esi
push dword [esp + 0x10]
call fcn.004a1650
add esp, 4
test eax, eax
jne case.0x49f9a2.2
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x49fdd0
cmp dword [esp + 0x40], 0
setne cl
cmp ebp, dword [esp]
sete dl
and dl, cl
movzx ecx, dl
push dword [esi + 0x124]
push dword [ebx + 0x420]
push ecx
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ebx
call eax
add esp, 0x18
test eax, eax
jne 0x49fe9e
push 3
push esi
call fcn.004a4a80
add esp, 8
test eax, eax
jne 0x49ff43
push dword [esp + 4]
call fcn.004a3380
add esp, 4
xor ebx, ebx
mov edx, dword [esp]
jmp 0x49f883
mov ebp, edx
cmp dword [esp + 0x40], 0
je 0x49fedb
mov ecx, dword [esi + 0x1a0]
cmp ecx, 5
je 0x49fedb
mov eax, 0xfffffda6
test ecx, ecx
jne case.0x49f9a2.2
mov eax, 0xfffffda2
cmp dword [esi + 0x168], 0
jne case.0x49f9a2.2
push 4
push esi
call fcn.004a4a80
add esp, 8
test eax, eax
jne case.0x49f9a2.2
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x6c]
test eax, eax
je 0x49fedb
push dword [esi + 0x124]
mov ecx, dword [esp + 0x30]
push dword [ecx + 0x420]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push ecx
call eax
add esp, 0x14
mov ecx, eax
mov eax, 0xfffffc7a
test ecx, ecx
jne case.0x49f9a2.2
jmp 0x49fedb
mov edi, dword [esp + 0x30]
cmp dword [esp + 0x40], 0
jne 0x49fe06
jmp 0x49fedb
mov eax, 0xfffffda6
jmp case.0x49f9a2.2
mov eax, 0xfffffc7a
jmp case.0x49f9a2.2
sub edx, ebp
add edx, dword [esp + 8]
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, edx
jmp case.0x49f9a2.2
mov eax, 0xfffffda2
jmp case.0x49f9a2.2
cmp ebp, dword [esp]
mov edi, dword [esp + 0x30]
je 0x49fedb
push esi
call fcn.004a4a30
add esp, 4
test eax, eax
je 0x49feea
sub ebp, dword [esp + 0x38]
mov dword [edi], ebp
mov eax, dword [esp + 8]
jmp case.0x49f9a2.2
mov eax, dword [esp]
sub eax, ebp
push eax
push ebp
push esi
call fcn.004a4910
add esp, 0xc
test eax, eax
jne case.0x49f9a2.2
jmp 0x49fedb
push 0x4ee
push str.nghttp3_conn.c
push str.end___p___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
push 0x4da
push str.nghttp3_conn.c
push str.end___p___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
push 0x558
push str.nghttp3_conn.c
push 0xa3767d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
push 0x5b1
push str.nghttp3_conn.c
push 0xa3767d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
push 0x508
push str.nghttp3_conn.c
push 0xa3767d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
push 0x51d
push str.nghttp3_conn.c
push 0xa3767d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
push str.nghttp3_conn_read_bidi
push 0x587
push str.nghttp3_conn.c
call fcn.004a6d60
push str.nghttp3_conn_read_bidi
push 0x5a8
push str.nghttp3_conn.c
call fcn.004a6d60
push str.nghttp3_conn_read_bidi
push 0x52d
push str.nghttp3_conn.c
call fcn.004a6d60
nop