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

Disassembly:
sub esp, 0x88
mov eax, dword [0x10143964]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xd8]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x2c], eax
lea ebp, [ebx + 0x30]
movzx eax, word [esp + 0xe0]
mov dword [esp + 0x3c], eax
xor esi, esi
mov eax, dword [ecx]
mov edi, dword [esp + 0xb4]
mov dword [esp + 0x60], ebx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
nop dword [eax]
cmp byte [esi + ebp + 0x4af], 0
je 0x100be656
inc esi
mov dword [esp + 0x20], esi
cmp esi, 8
jb 0x100be640
jmp 0x100be65e
mov byte [esi + ebp + 0x4af], 1
mov eax, dword [ebp]
and al, 0x7f
cmp al, 0x40
jne 0x100be6bf
push dword [ebx + 0x224]
push ebx
call fcn.100a2de0
push 0x101008a0
push 0xa
call fcn.100a62b0
mov ecx, eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x1b0]
push eax
push dword [esp + 0x40]
push ecx
push dword [edi + 0x24]
push dword [esp + 0x50]
push dword [esp + 0x38]
push dword [esp + 0x40]
call fcn.100a1740
add esp, 0x2c
cmp esi, 8
jae 0x100bf69e
mov byte [esi + ebp + 0x4af], 2
jmp 0x100bf69e
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x6c]
push ecx
add eax, 0x6c
push 0x14
push eax
push edx
mov dword [esp + 0x50], eax
call fcn.100a7c60
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
je 0x100bf69e
cmp byte [eax], 1
jne 0x100bf69e
movzx eax, word [eax + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
lea ecx, [esp + 0x80]
add eax, 3
push ecx
and eax, 0xfffffffc
add eax, dword [esp + 0x44]
push 0x14
push eax
push dword [esp + 0x28]
mov dword [esp + 0x5c], eax
call fcn.100a7c60
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
je 0x100bf69e
cmp byte [eax], 2
jne 0x100bf69e
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [ebp + 0x2a4]
jne 0x100be9fc
mov eax, dword [esp + 0x28]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [ebp + 0x2a8]
jne 0x100be9fc
mov eax, dword [esp + 0x24]
push dword [eax + 0x10]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [ebp + 0x2c8]
je 0x100be791
cmp esi, 8
jae 0x100bf69e
mov byte [esi + ebp + 0x4af], 0x11
jmp 0x100bf69e
mov eax, dword [ebp]
and eax, 0x7f
sub eax, 2
je 0x100be7a5
sub eax, 2
jne 0x100be938
push ebx
push dword [esp + 0x2c]
call fcn.100bfcc0
add esp, 8
test eax, eax
jns 0x100be82a
cmp esi, 8
jae 0x100be7c3
mov byte [esi + ebp + 0x4af], 3
push 0x101008a0
push 4
call fcn.100a62b0
add esp, 8
mov esi, eax
test dword [0x1014bac8], 0x1000
je 0x100be7f4
mov ecx, dword [0x1014bb1c]
test ecx, ecx
je 0x100be7f4
push str.sctp_process_init___failed_n
call ecx
add esp, 4
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 0x1b0]
push eax
push dword [esp + 0x30]
push esi
push dword [esp + 0x3c]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x50]
push dword [esp + 0x38]
push ebx
push dword [ebx + 4]
call fcn.100a4fe0
add esp, 0x28
jmp 0x100bf6ab
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
push 0x1000000d
push eax
push ebx
push esi
push 5
call fcn.100ade50
push 0x1000000e
push dword [esp + 0x28]
push ebx
push esi
push 2
call fcn.100ade50
mov eax, dword [ebp]
mov esi, 1
and al, 0x7f
mov dword [esp + 0x64], 0x1014b720
cmp al, 4
mov ecx, 0x1014b728
mov edx, esi
cmove ecx, dword [esp + 0x64]
lock xadd dword [ecx], edx
push 8
push ebx
call fcn.100aa2b0
add esp, 0x30
test byte [ebp], 0x80
je 0x100be898
push 0
push ebx
push dword [ebx + 4]
push 0xb
call fcn.100ad900
add esp, 0x10
mov eax, 0x1014b71c
lock xadd dword [eax], esi
push ebx
call fcn.100c0980
mov ecx, dword [ebx + 4]
add esp, 4
mov esi, dword [esp + 0x34]
mov eax, dword [ecx + 0xd0]
test eax, 0x400002
je 0x100be8dc
test byte [esi + 0xd0], 8
jne 0x100be8dc
or eax, 0x200000
mov dword [ecx + 0xd0], eax
push dword [ebx]
call fcn.10084d10
add esp, 4
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x64]
push 0
push ecx
mov dword [eax], 1
mov eax, dword [edi + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
push eax
push ebp
push ebx
mov byte [eax + 0x1b5], 1
call fcn.100a58a0
add esp, 0x14
cmp dword [ebx + 0x3b4], 0
je 0x100be938
mov eax, dword [esi + 0xc8]
and eax, 0x200
or eax, 0
je 0x100be938
push 0
push ebx
push esi
push 0xc
call fcn.100ad900
add esp, 0x10
push ebx
call fcn.100c0980
movzx eax, word [ebx + 0x4fc]
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x20]
add eax, 0x14
push dword [esp + 0x28]
push dword [esp + 0x60]
push eax
push dword [esp + 0x38]
push ebx
call fcn.100b5540
mov esi, eax
add esp, 0x24
test esi, esi
jns 0x100be9d0
mov eax, dword [esp + 0x20]
cmp eax, 8
jae 0x100be982
mov byte [eax + ebp + 0x4af], 4
movzx eax, word [0x1014baa8]
push str.Problem_with_address_parameters
push eax
call fcn.100a62b0
add esp, 8
mov edi, eax
test dword [0x1014bac8], 0x1000
je 0x100be9ba
mov ecx, dword [0x1014bb1c]
test ecx, ecx
je 0x100be9ba
push esi
push str.Load_addresses_from_INIT_causes_an_abort__d_n
call ecx
add esp, 8
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 0x1b0]
push eax
push dword [esp + 0x30]
push edi
jmp 0x100be805
push ebp
push ebx
call fcn.100a4790
push ebx
call fcn.1009ea20
mov eax, dword [esp + 0x2c]
add esp, 0xc
cmp eax, 8
jae 0x100bf689
mov byte [eax + ebp + 0x4af], 5
mov eax, ebx
jmp 0x100bf6ad
mov eax, dword [esp + 0x24]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [ebp + 0x2a4]
je 0x100bea48
mov eax, dword [esp + 0x28]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [ebp + 0x2a8]
jne 0x100bea48
cmp dword [edi + 0x1c], 0
jne 0x100bea48
cmp dword [edi + 0x20], 0
jne 0x100bea48
cmp esi, 8
jae 0x100bf69e
mov byte [esi + ebp + 0x4af], 6
jmp 0x100bf69e
mov eax, dword [ebp]
and al, 0x7f
cmp al, 8
jne 0x100beac5
cmp byte [ebp + 0x495], 0
je 0x100beac5
mov eax, dword [esp + 0x24]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [ebp + 0x2a4]
jne 0x100beac5
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0x2a8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jne 0x100bea8a
test esi, esi
jne 0x100beac5
push 0x101008a0
push 0xb0
call fcn.100a62b0
push dword [esp + 0x44]
push dword [esp + 0x38]
push eax
push 0
push dword [esp + 0x48]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x5c]
push dword [esp + 0x44]
call fcn.1009e440
add esp, 0x2c
jmp 0x100bf69e
mov eax, dword [esp + 0x24]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [ebp + 0x2a4]
jne 0x100bedcf
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0x2a8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, esi
jne 0x100beafd
test esi, esi
jne 0x100bedcf
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push dword [eax + 0x10]
call esi
cmp eax, dword [ebp + 0x2c8]
je 0x100beb2e
mov eax, dword [esp + 0x20]
cmp eax, 8
jae 0x100bf69e
mov byte [eax + ebp + 0x4af], 7
jmp 0x100bf69e
mov edi, dword [esp + 0x20]
cmp edi, 8
jae 0x100beb3f
mov byte [edi + ebp + 0x4af], 8
push 0x1000000f
push dword [esp + 0x14]
push ebx
push dword [esp + 0x40]
push 5
call fcn.100ade50
push ebx
call fcn.100c0980
mov eax, dword [esp + 0x28]
add esp, 0x18
mov byte [eax + 0x1b5], 1
cmp dword [ebx + 0x3b4], 0
je 0x100beb93
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0xc8]
and eax, 0x200
or eax, 0
je 0x100beb93
push 0
push ebx
push ecx
push 0xc
call fcn.100ad900
add esp, 0x10
mov eax, dword [esp + 0x24]
push dword [eax + 8]
call esi
mov dword [ebp + 0x31c], eax
movzx eax, word [ebp + 0x452]
cmp dword [ebp + 0x388], eax
jae 0x100bebb7
mov dword [ebp + 0x388], eax
mov eax, dword [esp + 0x28]
push dword [eax + 4]
call esi
cmp eax, dword [ebp + 0x2a8]
je 0x100bec71
mov edi, dword [ebx + 0x1e4]
test edi, edi
je 0x100bec6d
xor ebp, ebp
nop dword [eax]
cmp dword [edi + 0x50], 4
jge 0x100bec5b
mov esi, dword [edi + 0x44]
movzx eax, word [edi + 0x5a]
mov dword [edi + 0x50], 4
mov dword [esp + 0x3c], 0
mov edx, dword [esi + 0x154]
mov ecx, edx
sub ecx, eax
cmp edx, eax
cmovb ecx, dword [esp + 0x3c]
mov dword [esi + 0x154], ecx
movzx ecx, word [edi + 0x5a]
mov byte [edi + 0x66], 0
mov eax, dword [ebx + 0x394]
cmp eax, ecx
jb 0x100bec40
sub eax, ecx
mov dword [ebx + 0x394], eax
mov eax, dword [ebx + 0x398]
test eax, eax
je 0x100bec54
dec eax
mov dword [ebx + 0x398], eax
jmp 0x100bec54
mov dword [ebx + 0x394], 0
mov dword [ebx + 0x398], 0
inc dword [ebx + 0x384]
inc ebp
mov edi, dword [edi + 0x48]
test edi, edi
jne 0x100bebe0
mov dword [esp + 0x50], ebp
lea ebp, [ebx + 0x30]
mov edi, dword [esp + 0x20]
push ebx
push dword [esp + 0x2c]
call fcn.100bfcc0
add esp, 8
test eax, eax
jns 0x100bec98
cmp edi, 8
jae 0x100be7c3
mov byte [edi + ebp + 0x4af], 9
jmp 0x100be7c3
movzx eax, word [ebx + 0x4fc]
push eax
push dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push dword [esp + 0x1c]
add eax, 0x14
push dword [esp + 0x24]
push dword [esp + 0x5c]
push eax
push dword [esp + 0x34]
push ebx
call fcn.100b5540
mov esi, eax
add esp, 0x20
test esi, esi
jns 0x100bece1
cmp edi, 8
jae 0x100be982
mov byte [edi + ebp + 0x4af], 0xa
jmp 0x100be982
mov eax, dword [ebp]
mov esi, 1
and eax, 0x7f
cmp eax, 2
je 0x100bed08
cmp eax, 4
je 0x100bed08
cmp eax, 8
mov ecx, 0x1014b724
mov edx, 0x1014b728
cmovne ecx, edx
jmp 0x100bed64
mov eax, dword [esp + 0x44]
mov dword [eax], esi
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0xd0]
test eax, 0x400002
je 0x100bed40
mov edx, dword [esp + 0x34]
test byte [edx + 0xd0], 8
jne 0x100bed40
or eax, 0x200000
mov dword [ecx + 0xd0], eax
push dword [ebx]
call fcn.10084d10
add esp, 4
mov eax, dword [ebp]
mov ecx, 0x1014b728
and al, 0x7f
mov dword [esp + 0x3c], 0x1014b720
cmp al, 4
mov edx, esi
cmove ecx, dword [esp + 0x3c]
lock xadd dword [ecx], edx
mov ecx, 0x1014b71c
lock xadd dword [ecx], esi
push 8
push ebx
call fcn.100aa2b0
add esp, 8
test byte [ebp], 0x80
je 0x100bed89
push 0
push ebx
push dword [ebx + 4]
push 0xb
call fcn.100ad900
add esp, 0x10
push ebx
call fcn.100c0980
push ebp
push ebx
call fcn.100a4790
push ebx
call fcn.1009ea20
add esp, 0x10
cmp dword [esp + 0x50], 0
je 0x100bedb7
push 0
push 0xe
push ebx
push dword [esp + 0x40]
call fcn.10095d20
add esp, 0x10
cmp edi, 8
jae 0x100bf689
mov byte [edi + ebp + 0x4af], 0xb
mov eax, ebx
jmp 0x100bf6ad
mov eax, dword [esp + 0x24]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [ebp + 0x2a4]
je 0x100bf68d
mov eax, dword [esp + 0x28]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
cmp eax, dword [ebp + 0x2a8]
je 0x100bf68d
mov eax, dword [edi + 0x1c]
cmp eax, dword [ebp + 0x2ac]
jne 0x100bf68d
mov eax, dword [edi + 0x20]
cmp eax, dword [ebp + 0x2b0]
jne 0x100bf68d
test eax, eax
je 0x100bf68d
cmp byte [ebp + 0x495], 0
je 0x100bee9a
push dword [esp + 0x3c]
mov eax, dword [esp + 0x48]
push dword [esp + 0x30]
push dword [esp + 0x5c]
push dword [esp + 0x64]
push dword [esp + 0xe0]
push eax
push dword [esp + 0x60]
push dword [esp + 0x78]
push dword [esp + 0x54]
push dword [esp + 0xdc]
push edi
push dword [esp + 0x5c]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x78]
push dword [esp + 0x74]
push dword [esp + 0x5c]
call fcn.100bf6d0
mov esi, eax
add esp, 0x44
test esi, esi
jne 0x100bee93
lea eax, [ebx + 0x584]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
jmp 0x100bf6ad
mov eax, dword [esp + 0x20]
cmp eax, 8
jae 0x100beeab
mov byte [eax + ebp + 0x4af], 0xc
push 0
push ebx
call fcn.100ab790
mov eax, dword [esp + 0x4c]
lea ecx, [ebx + 0x468]
mov esi, 1
add esp, 8
mov dword [eax], 0xa
mov eax, esi
lock xadd dword [ecx], eax
mov edx, dword [ebp]
mov ecx, edx
and ecx, 0x7f
mov eax, edx
cmp ecx, 8
je 0x100beef8
cmp ecx, 0x20
je 0x100beef8
cmp ecx, 0x10
je 0x100beef8
mov eax, esi
mov ecx, 0x1014b71c
lock xadd dword [ecx], eax
mov eax, dword [ebx + 0x30]
and eax, 0x7f
cmp eax, 8
jne 0x100bef07
mov eax, 0x1014b724
jmp 0x100bef11
cmp eax, 0x10
je 0x100bef15
mov eax, 0x1014b728
lock xadd dword [eax], esi
mov eax, dword [ebp]
test al, al
jns 0x100bef36
push 8
push ebx
call fcn.100aa2b0
push 0
push ebx
push dword [ebx + 4]
push 0xb
call fcn.100ad900
add esp, 0x18
jmp 0x100bef47
and al, 0x7f
cmp al, 0x10
je 0x100bef47
push 8
push ebx
call fcn.100aa2b0
add esp, 8
movzx eax, word [ebp + 0x452]
cmp dword [ebp + 0x388], eax
jae 0x100bef5c
mov dword [ebp + 0x388], eax
mov eax, dword [esp + 0x24]
push dword [eax + 0x10]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + 0x2c8], eax
mov dword [ebp + 0x29c], eax
mov dword [ebp + 0x290], eax
lea ecx, [eax - 1]
mov dword [ebp + 0x2c4], eax
mov dword [ebp + 0x294], ecx
mov dword [ebp + 0x2c0], ecx
mov dword [ebp + 0x298], ecx
mov dword [ebp + 0x2cc], ecx
mov ecx, dword [ebp + 0x1f0]
mov dword [ebp + 0x2a0], eax
mov byte [ebp + 0x472], 1
mov dword [ebp + 0x3a0], 0
mov dword [ebp + 0x200], 0
mov dword [ebp + 0x204], 0
mov dword [ebp + 0x1fc], 0
test ecx, ecx
je 0x100befee
movzx eax, word [ebp + 0x460]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 0x2dc]
test ecx, ecx
je 0x100bf00b
movzx eax, word [ebp + 0x460]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edi, [ebx + 0x584]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x1014b5d8
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add eax, 0x268
push eax
call esi
push edi
call esi
or eax, 0xffffffff
lea ecx, [ebx + 0x468]
lock xadd dword [ecx], eax
lea eax, [ebx + 0x59c]
push eax
call esi
push 1
push 0
push ebx
call fcn.100a9a80
xor eax, eax
add esp, 0xc
xor edx, edx
cmp ax, word [ebx + 0x482]
jae 0x100bf0db
xor ecx, ecx
nop dword [eax]
mov eax, dword [ebx + 0x21c]
lea ecx, [ecx + 0x30]
mov dword [ecx + eax - 0x18], 0
mov eax, dword [ebp + 0x1ec]
mov dword [ecx + eax - 0x10], 0
mov eax, dword [ebp + 0x1ec]
mov dword [ecx + eax - 0x14], 0
mov eax, dword [ebx + 0x21c]
mov dword [ecx + eax - 0xc], 0
mov eax, dword [ebx + 0x21c]
mov dword [ecx + eax - 8], 0
mov eax, dword [ebx + 0x21c]
mov word [ecx + eax - 4], dx
inc edx
mov eax, dword [ebx + 0x21c]
mov byte [ecx + eax - 2], 0
movzx eax, word [ebx + 0x482]
cmp edx, eax
jl 0x100bf070
mov edx, dword [ebp + 0x208]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edx, edx
je 0x100bf11f
nop dword [eax + eax]
mov esi, dword [edx]
mov eax, dword [edx + 4]
push edx
test esi, esi
je 0x100bf10d
mov dword [esi + 4], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
call edi
add esp, 4
mov edx, esi
jmp 0x100bf0f0
mov dword [ebp + 0x20c], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
call edi
add esp, 4
mov esi, dword [ebp + 0x210]
test esi, esi
je 0x100bf241
mov ebx, 0xfffe
mov edi, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
test edi, edi
je 0x100bf141
mov dword [edi + 0x48], eax
jmp 0x100bf147
mov dword [ebp + 0x214], eax
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x44]
mov dword [ecx], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100bf166
push eax
call fcn.10092e80
add esp, 4
mov dword [esi + 0x34], 0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x100bf20f
or ecx, 0xffffffff
add eax, 0x150
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100bf20f
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x100bf1bf
mov eax, dword [ecx + 0xc]
lea edx, [eax - 1]
mov dword [ecx + 0xc], edx
cmp eax, 1
jg 0x100bf1a8
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esi + 0x30]
mov dword [eax + 0x70], 0
mov eax, dword [esi + 0x30]
mov dword [eax + 0x70], 0
mov eax, dword [esi + 0x30]
cmp byte [eax + 0x1b7], 0
je 0x100bf1e6
push dword [eax + 0x90]
call fcn.100b3b00
mov eax, dword [esi + 0x30]
add esp, 4
mov dword [eax + 0x90], 0
mov eax, dword [esi + 0x30]
mov byte [eax + 0x1b7], 0
mov eax, dword [esi + 0x30]
and word [eax + 0x1a8], bx
push dword [esi + 0x30]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
or eax, 0xffffffff
mov ecx, 0x1014b634
lock xadd dword [ecx], eax
push esi
mov dword [esi + 0x30], 0
mov dword [esi + 0x40], 0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
or eax, 0xffffffff
mov ecx, 0x1014b63c
lock xadd dword [ecx], eax
mov esi, edi
test edi, edi
jne 0x100bf132
mov ebx, dword [esp + 0x60]
mov esi, dword [ebp + 0x1a4]
test esi, esi
je 0x100bf368
nop
mov edi, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
test edi, edi
je 0x100bf25f
mov dword [edi + 0x4c], eax
jmp 0x100bf265
mov dword [ebp + 0x1a8], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
mov dword [ecx], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100bf284
push eax
call fcn.10092e80
add esp, 4
mov dword [esi + 0x3c], 0
cmp byte [esi + 0x60], 0
je 0x100bf29a
movzx eax, word [esi + 0x5e]
push 1
push eax
push ebx
call fcn.100c3380
add esp, 0xc
mov eax, dword [esi + 0x44]
test eax, eax
je 0x100bf348
or ecx, 0xffffffff
add eax, 0x150
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100bf348
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x100bf2f3
mov eax, dword [ecx + 0xc]
lea edx, [eax - 1]
mov dword [ecx + 0xc], edx
cmp eax, 1
jg 0x100bf2dc
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esi + 0x44]
mov dword [eax + 0x70], 0
mov eax, dword [esi + 0x44]
mov dword [eax + 0x70], 0
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x1b7], 0
je 0x100bf31a
push dword [eax + 0x90]
call fcn.100b3b00
mov eax, dword [esi + 0x44]
add esp, 4
mov dword [eax + 0x90], 0
mov eax, dword [esi + 0x44]
mov byte [eax + 0x1b7], 0
mov ecx, 0xfffe
mov eax, dword [esi + 0x44]
and word [eax + 0x1a8], cx
push dword [esi + 0x44]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
or eax, 0xffffffff
mov ecx, 0x1014b634
lock xadd dword [ecx], eax
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
or eax, 0xffffffff
mov ecx, 0x1014b638
lock xadd dword [ecx], eax
mov esi, edi
test edi, edi
jne 0x100bf250
mov esi, dword [ebp + 0x1ac]
mov dword [ebp + 0x340], 0
mov dword [ebp + 0x1e0], 0
mov byte [ebp + 0x4a2], 0
test esi, esi
je 0x100bf4a9
mov edi, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
test edi, edi
je 0x100bf3a0
mov dword [edi + 0x4c], eax
jmp 0x100bf3a6
mov dword [ebp + 0x1b0], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
mov dword [ecx], eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x100bf3c5
push eax
call fcn.10092e80
add esp, 4
mov dword [esi + 0x3c], 0
cmp byte [esi + 0x60], 0
je 0x100bf3db
movzx eax, word [esi + 0x5e]
push 1
push eax
push ebx
call fcn.100c3380
add esp, 0xc
mov eax, dword [esi + 0x44]
test eax, eax
je 0x100bf489
or ecx, 0xffffffff
add eax, 0x150
lock xadd dword [eax], ecx
cmp ecx, 1
jne 0x100bf489
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x100bf434
mov eax, dword [ecx + 0xc]
lea edx, [eax - 1]
mov dword [ecx + 0xc], edx
cmp eax, 1
jg 0x100bf41d
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, dword [esi + 0x44]
mov dword [eax + 0x70], 0
mov eax, dword [esi + 0x44]
mov dword [eax + 0x70], 0
mov eax, dword [esi + 0x44]
cmp byte [eax + 0x1b7], 0
je 0x100bf45b
push dword [eax + 0x90]
call fcn.100b3b00
mov eax, dword [esi + 0x44]
add esp, 4
mov dword [eax + 0x90], 0
mov eax, dword [esi + 0x44]
mov byte [eax + 0x1b7], 0
mov ecx, 0xfffe
mov eax, dword [esi + 0x44]
and word [eax + 0x1a8], cx
push dword [esi + 0x44]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
or eax, 0xffffffff
mov ecx, 0x1014b634
lock xadd dword [ecx], eax
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
or eax, 0xffffffff
mov ecx, 0x1014b638
lock xadd dword [ecx], eax
mov esi, edi
test edi, edi
jne 0x100bf391
mov edx, dword [ebp + 4]
test edx, edx
je 0x100bf4e2
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [edx]
mov eax, dword [edx + 4]
push edx
test esi, esi
je 0x100bf4d3
mov dword [esi + 4], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
call edi
add esp, 4
mov edx, esi
jmp 0x100bf4b6
mov dword [ebp + 8], eax
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
call edi
add esp, 4
mov esi, dword [ebp + 0x1d8]
test esi, esi
je 0x100bf52b
nop dword [eax]
mov edi, dword [esi]
mov eax, dword [esi + 4]
test edi, edi
je 0x100bf4fe
mov dword [edi + 4], eax
jmp 0x100bf504
mov dword [ebp + 0x1dc], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100bf51b
push eax
call fcn.10092e80
add esp, 4
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov esi, edi
test edi, edi
jne 0x100bf4f0
mov edi, dword [esp + 0x24]
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push dword [edi + 4]
call esi
mov dword [ebp + 0x2a4], eax
push dword [edi + 8]
call esi
lea edx, [ebx + 0x20]
mov dword [ebp + 0x31c], eax
mov ecx, dword [edx]
test ecx, ecx
je 0x100bf55d
mov eax, dword [ebx + 0x24]
mov dword [ecx + 0x24], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov dword [eax], ecx
mov ecx, dword [ebx + 0x2d4]
and ecx, dword [0x1014b584]
mov eax, dword [0x1014b580]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
mov dword [edx], eax
test eax, eax
je 0x100bf583
mov eax, dword [ecx]
mov dword [eax + 0x24], edx
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx + 0x59c]
mov dword [ecx], ebx
push eax
mov dword [ebx + 0x24], ecx
call esi
mov eax, dword [ebx + 4]
add eax, 0x268
push eax
call esi
push 0x1014b5d8
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
push ebx
push dword [esp + 0x2c]
mov dword [ebp + 0x364], 0
mov dword [ebp + 0x368], 0
call fcn.100bfcc0
add esp, 8
test eax, eax
jns 0x100bf5ec
mov eax, dword [esp + 0x20]
cmp eax, 8
jae 0x100be7c3
mov byte [eax + ebp + 0x4af], 0xd
jmp 0x100be7c3
mov eax, dword [esp + 0x10]
mov byte [eax + 0x1b5], 1
movzx eax, word [ebx + 0x4fc]
push eax
push dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push dword [esp + 0x1c]
add eax, 0x14
push dword [esp + 0x24]
push dword [esp + 0x5c]
push eax
push dword [esp + 0x34]
push ebx
call fcn.100b5540
mov esi, eax
add esp, 0x20
test esi, esi
jns 0x100bf644
mov eax, dword [esp + 0x20]
cmp eax, 8
jae 0x100be982
mov byte [eax + ebp + 0x4af], 0xe
jmp 0x100be982
push ebx
call fcn.1009ea20
mov eax, dword [esp + 0x24]
add esp, 4
cmp eax, 8
jae 0x100bf65e
mov byte [eax + ebp + 0x4af], 0xf
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0xc8]
and eax, 0x200
or eax, 0
je 0x100bf689
cmp dword [ebp + 0x384], 0
jbe 0x100bf689
push 0
push ebx
push ecx
push 0xc
call fcn.100ad900
add esp, 0x10
mov eax, ebx
jmp 0x100bf6ad
mov eax, dword [esp + 0x20]
cmp eax, 8
jae 0x100bf69e
mov byte [eax + ebp + 0x4af], 0x10
lea eax, [ebx + 0x584]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f06e3
add esp, 0x88
ret