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

Disassembly:
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x18]
test bl, 1
je 0x100074ee
cmp dword [esi], 0xffffffff
jne 0x100074ee
mov eax, dword [edi]
mov dword [esi], eax
test ebx, 0x2000
je 0x10007501
cmp dword [esi + 4], 0xffffffff
jne 0x10007501
mov eax, dword [edi + 4]
jmp 0x10007513
test bl, 2
je 0x10007516
cmp dword [esi + 4], 0xffffffff
jne 0x10007516
imul eax, dword [edi + 4], 0x3e8
mov dword [esi + 4], eax
test bl, 4
je 0x10007527
cmp dword [esi + 8], 0xffffffff
jne 0x10007527
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
test bl, 8
je 0x10007538
cmp dword [esi + 0xc], 0xffffffff
jne 0x10007538
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
test ebx, 0x4000
je 0x1000754d
cmp dword [esi + 0x10], 0xffffffff
jne 0x1000754d
mov dword [esi + 0x10], 1
test ebx, 0x10000
je 0x10007562
cmp dword [esi + 0x10], 0xffffffff
jne 0x10007562
mov dword [esi + 0x10], 0
mov ebp, dword [sym.imp.WS2_32.dll_htons]
test bl, 0x10
je 0x10007580
cmp dword [esi + 0x14], 0xffffffff
jne 0x10007580
movzx eax, word [edi + 0x10]
push eax
call ebp
movzx eax, ax
mov dword [esi + 0x14], eax
test bl, 0x20
je 0x10007598
cmp dword [esi + 0x18], 0xffffffff
jne 0x10007598
movzx eax, word [edi + 0x12]
push eax
call ebp
movzx eax, ax
mov dword [esi + 0x18], eax
test ebx, 0x200
je 0x100075bb
cmp dword [esi + 0x91a0], 0
jne 0x100075bb
mov eax, dword [edi + 0x30]
mov dword [esi + 0x91a0], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x91a4], eax
test ebx, 0x800
je 0x100075cf
cmp dword [esi + 0x1c], 0xffffffff
jne 0x100075cf
mov eax, dword [edi + 0x14]
mov dword [esi + 0x1c], eax
test ebx, 0x1000
je 0x100075e3
cmp dword [esi + 0x20], 0xffffffff
jne 0x100075e3
mov eax, dword [edi + 0x18]
mov dword [esi + 0x20], eax
test ebx, 0x8000
je 0x100075f7
cmp dword [esi + 0x38], 0xffffffff
jne 0x100075f7
mov eax, dword [edi + 0x40]
mov dword [esi + 0x38], eax
test bl, 0x40
je 0x1000766c
cmp dword [esi + 0x78], 0xffffffff
jne 0x1000766c
mov eax, dword [edi + 0x20]
test eax, eax
jle 0x10007669
imul eax, eax, 0x58
push eax
call dword [section..data]
add esp, 4
mov dword [esi + 0x74], eax
test eax, eax
je 0x100077ba
mov eax, dword [edi + 0x20]
xor ebp, ebp
test eax, eax
jle 0x10007669
xor edx, edx
nop dword [eax]
mov eax, dword [esi + 0x74]
lea edx, [edx + 0x58]
mov dword [edx + eax - 0x58], 2
mov eax, dword [esi + 0x74]
mov dword [edx + eax - 0x44], 0
mov eax, dword [esi + 0x74]
mov dword [edx + eax - 0x40], 0
mov eax, dword [edi + 0x1c]
mov ecx, dword [esi + 0x74]
mov eax, dword [eax + ebp*4]
inc ebp
mov dword [edx + ecx - 0x54], eax
mov eax, dword [edi + 0x20]
cmp ebp, eax
jl 0x10007630
mov dword [esi + 0x78], eax
test bl, bl
jns 0x100076cf
cmp dword [esi + 0x28], 0xffffffff
jne 0x100076cf
mov eax, dword [edi + 0x28]
test eax, eax
jle 0x100076cc
shl eax, 2
push eax
call dword [section..data]
add esp, 4
mov dword [esi + 0x24], eax
test eax, eax
je 0x100077ba
mov eax, dword [edi + 0x28]
xor ebp, ebp
test eax, eax
jle 0x100076cc
nop
mov dword [esi + 0x28], ebp
mov eax, dword [edi + 0x24]
push dword [eax + ebp*4]
call fcn.1000cc20
mov ecx, dword [esi + 0x24]
add esp, 4
mov dword [ecx + ebp*4], eax
mov eax, dword [esi + 0x24]
cmp dword [eax + ebp*4], 0
je 0x100077ba
mov eax, dword [edi + 0x28]
inc ebp
cmp ebp, eax
jl 0x100076a0
mov dword [esi + 0x28], eax
test ebx, 0x100
je 0x100076f3
cmp dword [esi + 0x34], 0
jne 0x100076f3
push dword [edi + 0x2c]
call fcn.1000cc20
add esp, 4
mov dword [esi + 0x34], eax
test eax, eax
je 0x100077ba
test ebx, 0x400
je 0x10007764
cmp dword [esi + 0x30], 0xffffffff
jne 0x10007764
mov eax, dword [edi + 0x3c]
test eax, eax
jle 0x10007761
lea eax, [eax + eax*4]
shl eax, 3
push eax
call dword [section..data]
add esp, 4
mov dword [esi + 0x2c], eax
test eax, eax
je 0x100077ba
mov eax, dword [edi + 0x3c]
xor ebp, ebp
test eax, eax
jle 0x10007761
xor edx, edx
nop
mov ecx, dword [edi + 0x38]
lea edx, [edx + 0x28]
mov eax, dword [esi + 0x2c]
inc ebp
movups xmm0, xmmword [ecx + edx - 0x28]
movups xmmword [eax + edx - 0x28], xmm0
movups xmm0, xmmword [ecx + edx - 0x18]
movups xmmword [eax + edx - 0x18], xmm0
movq xmm0, qword [ecx + edx - 8]
movq qword [eax + edx - 8], xmm0
mov eax, dword [edi + 0x3c]
cmp ebp, eax
jl 0x10007730
mov dword [esi + 0x30], eax
test ebx, 0x20000
je 0x1000778f
cmp dword [esi + 0x91c0], 0
jne 0x1000778f
push dword [edi + 0x44]
call fcn.1000cc20
add esp, 4
mov dword [esi + 0x91c0], eax
test eax, eax
jne 0x1000778f
cmp dword [edi + 0x44], eax
jne 0x100077ba
test ebx, 0x40000
je 0x100077c4
cmp dword [esi + 0x91c4], 0
jne 0x100077c4
push dword [edi + 0x48]
call fcn.1000cc20
add esp, 4
mov dword [esi + 0x91c4], eax
test eax, eax
jne 0x100077c4
cmp dword [edi + 0x48], eax
je 0x100077c4
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
ret
pop edi
mov dword [esi + 0x70], ebx
xor eax, eax
pop esi
pop ebp
pop ebx
ret