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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x102beb54]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov dword [esp + 0x50], eax
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], eax
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x4c], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], eax
test eax, eax
jne 0x10055f5a
call fcn.100797d0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
test edi, edi
je 0x10055fa1
test dword [edx + 4], 0x800
je 0x10055fa1
mov eax, dword [edx + 0x14]
xor esi, esi
mov edi, dword [eax]
mov ebx, dword [edi]
test ebx, ebx
jle 0x10055f8e
add edi, 8
mov ecx, dword [edi]
call fcn.10055be0
test eax, eax
jne 0x10055f8a
inc esi
add edi, 0x18
cmp esi, ebx
jl 0x10055f77
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x4c]
xor eax, eax
cmp esi, ebx
mov ebx, dword [esp + 0x10]
cmove edi, eax
mov dword [esp + 0x4c], edi
cmp dword [ebx + 0x24], 0
jne 0x100566d8
mov eax, dword [edx + 4]
test eax, 0x800
je 0x100566d8
test al, 0x20
jne 0x100566d8
mov eax, dword [edx + 0x14]
cmp dword [eax + 0x30], 0
jne 0x100566d8
test byte [eax + 8], 9
jne 0x100566d8
cmp dword [eax + 0x38], 0
jne 0x100566d8
cmp dword [eax + 0x20], 0
jne 0x100566d8
mov ecx, dword [eax + 0x1c]
cmp dword [ecx], 1
jne 0x100566d8
cmp dword [ecx + 0x1c], 0
jne 0x100566d8
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x38], ebx
cmp dword [ebx + 0x38], 0
jne 0x100566d4
mov eax, dword [eax]
xor edx, edx
mov dword [esp + 0x50], eax
mov esi, dword [eax]
mov dword [esp + 0x1c], esi
test esi, esi
jle 0x10056043
lea ecx, [eax + 8]
nop dword [eax + eax]
mov eax, dword [ecx]
cmp byte [eax], 0x98
jne 0x100566d4
inc edx
add ecx, 0x18
cmp edx, esi
jl 0x10056030
mov edi, dword [esp + 0x10]
mov ecx, 0xfff0bdc0
mov esi, dword [ebx + 0x48]
mov eax, dword [edi]
mov dword [esp + 0x5c], eax
test esi, esi
je 0x10056074
mov edx, dword [eax + 0x14]
xor ecx, ecx
test edx, edx
jle 0x10056074
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], esi
je 0x10056074
inc ecx
add eax, 0x10
cmp ecx, edx
jl 0x10056068
movzx eax, cx
mov edx, edi
movsx ecx, ax
mov eax, dword [edi + 0x78]
test eax, eax
mov dword [esp + 0x48], ecx
cmovne edx, eax
mov eax, 1
shl eax, cl
mov esi, dword [edx + 0x5c]
test esi, eax
jne 0x100560ac
bts esi, ecx
mov dword [edx + 0x5c], esi
cmp ecx, 1
jne 0x100560ac
mov ecx, edx
call fcn.10064a20
mov ecx, dword [esp + 0x48]
push dword [ebx]
mov edx, ecx
mov ecx, edi
push 0
push dword [ebx + 0x1c]
call fcn.1005e900
mov edx, dword [esp + 0x28]
add esp, 0xc
cmp edx, 1
jne 0x10056156
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 8]
cmp word [eax + 0x20], 0
jge 0x10056156
mov ecx, dword [esp + 0x18]
mov edx, 0x14
call fcn.1003e750
mov edx, dword [esp + 0x34]
mov ecx, edi
push 0x68
push ebx
push dword [esp + 0x50]
mov esi, eax
call fcn.1006d790
mov ebx, dword [esp + 0x24]
add esp, 0xc
mov edi, 1
mov dword [esp + 0x24], edi
mov edx, dword [ebx + 0x88]
test esi, esi
jns 0x10056119
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
je 0x10056139
mov eax, 0x102c70c4
mov dword [eax + 8], edx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov dword [edx + 0x1c], eax
jmp 0x100567ab
mov eax, dword [ebx + 0x58]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov dword [edx + 0x1c], eax
jmp 0x100567ab
mov dword [esp + 0x2c], 0
mov eax, 1
mov dword [esp + 0x28], eax
test edx, edx
jle 0x10056249
xor esi, esi
test eax, eax
je 0x100566d4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0x9d
jne 0x1005618b
mov al, byte [ecx + 0x26]
cmp al, 0x9e
jne 0x10056198
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov edi, edx
jmp 0x100561a3
cmp al, 0x77
jne 0x100561bd
mov eax, dword [ecx + 0x14]
mov edx, dword [eax]
mov edi, dword [edx]
cmp edi, 1
jle 0x100561bd
cmp bl, 0x77
je 0x100561b9
cmp byte [ecx + 0x26], 0x77
je 0x100561b9
mov ecx, dword [esi + eax + 8]
jmp 0x100561bd
mov ecx, dword [esi + edx + 8]
mov eax, dword [esp + 0x50]
mov eax, dword [esi + eax + 8]
movsx edx, word [eax + 0x20]
test edx, edx
js 0x100561dc
mov eax, dword [esp + 0x38]
add edx, edx
mov eax, dword [eax + 4]
mov bl, byte [eax + edx*8 + 0xd]
jmp 0x100561de
mov bl, 0x44
call fcn.10053450
test al, al
je 0x100561fc
test bl, bl
je 0x10056204
cmp al, 0x43
jge 0x100561f8
cmp bl, 0x43
jge 0x100561f8
mov al, 0x41
jmp 0x10056206
mov al, 0x43
jmp 0x10056206
test bl, bl
jne 0x10056204
mov al, 0x41
jmp 0x10056206
add al, bl
movsx eax, al
sub eax, 0x41
je 0x10056221
sub eax, 1
je 0x10056221
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x28], eax
jmp 0x10056225
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
add esi, 0x18
mov edx, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, edx
jl 0x10056171
test eax, eax
je 0x100566d4
mov ebx, dword [esp + 0x38]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x100566d4
xor edi, edi
nop word [eax + eax]
test edi, edi
jne 0x10056146
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, edx
jl 0x100566bd
cmp eax, 0x3f
jae 0x100566bd
test byte [ebp + 8], 4
je 0x1005629f
movzx eax, word [ebx + 0x32]
cmp eax, edx
jg 0x100566bd
cmp ecx, edx
jle 0x1005629f
cmp byte [ebx + 0x36], 0
je 0x100566bd
mov dword [esp + 0x2c], 0
xorps xmm0, xmm0
movlpd qword [esp + 0x38], xmm0
test edx, edx
jle 0x10056471
mov eax, dword [esp + 0x3c]
xor edi, edi
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], edi
mov dword [esp + 0x30], eax
nop
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0x9d
jne 0x100562e2
mov al, byte [edx + 0x26]
cmp al, 0x9e
jne 0x100562ef
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, ecx
jmp 0x100562fa
cmp al, 0x77
jne 0x10056314
mov eax, dword [edx + 0x14]
mov ecx, dword [eax]
mov esi, dword [ecx]
cmp esi, 1
jle 0x10056314
cmp bl, 0x77
je 0x10056310
cmp byte [edx + 0x26], 0x77
je 0x10056310
mov edx, dword [edi + eax + 8]
jmp 0x10056314
mov edx, dword [edi + ecx + 8]
test dword [edx + 4], 0x100
mov eax, dword [esp + 0x50]
mov esi, dword [edi + eax + 8]
je 0x10056336
mov ecx, dword [esp + 0x10]
call fcn.100535d0
mov ecx, eax
mov dword [esp + 0x44], ecx
jmp 0x1005637a
test esi, esi
je 0x10056356
test dword [esi + 4], 0x100
je 0x10056356
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.100535d0
mov ecx, eax
mov dword [esp + 0x44], ecx
jmp 0x1005637a
mov ebx, dword [esp + 0x10]
mov ecx, ebx
call fcn.100535d0
mov ecx, eax
mov dword [esp + 0x44], ecx
test ecx, ecx
jne 0x1005637a
mov edx, esi
mov ecx, ebx
call fcn.100535d0
mov ecx, eax
mov dword [esp + 0x44], eax
mov edi, dword [esp + 0x20]
xor ebx, ebx
movzx edx, word [esi + 0x20]
mov dword [esp + 0x38], edx
mov eax, dword [edi + 4]
mov dword [esp + 0x40], eax
nop
cmp word [eax], dx
jne 0x100563f3
test ecx, ecx
je 0x10056405
mov eax, dword [edi + 0x20]
mov esi, dword [ecx]
mov edi, dword [eax + ebx*4]
mov al, byte [esi]
movzx ecx, byte [edi]
movzx edx, byte [ecx + 0x102a7588]
movzx ecx, al
movzx ecx, byte [ecx + 0x102a7588]
sub ecx, edx
jne 0x100563e7
sub edi, esi
nop dword [eax]
test al, al
je 0x100563e3
movzx ecx, byte [edi + esi + 1]
inc esi
movzx edx, byte [ecx + 0x102a7588]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x102a7588]
sub ecx, edx
je 0x100563c0
jmp 0x100563e7
test ecx, ecx
je 0x10056405
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
inc ebx
add eax, 2
mov dword [esp + 0x40], eax
cmp ebx, dword [esp + 0x1c]
jl 0x10056390
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
cmp ebx, edx
je 0x10056483
xor edx, edx
mov eax, ebx
bts edx, eax
xor esi, esi
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
mov ecx, edx
cmovae esi, edx
and ecx, dword [esp + 0x30]
mov eax, esi
and eax, edi
or ecx, eax
jne 0x1005647f
or dword [esp + 0x30], edx
or edi, esi
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], edi
test eax, eax
je 0x1005644f
mov dword [eax + ecx*4], ebx
mov edi, dword [esp + 0x54]
inc ecx
mov edx, dword [esp + 0x1c]
add edi, 0x18
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], edi
cmp ecx, edx
jl 0x100562d0
mov edi, dword [esp + 0x28]
jmp 0x10056483
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
jmp 0x10056487
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov eax, edx
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
add ecx, 0xffffffff
adc edx, 0xffffffff
cmp dword [esp + 0x30], ecx
jne 0x100566b5
cmp edi, edx
jne 0x100566b5
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0xc]
mov esi, dword [edi + 0x88]
cmp dword [eax + 0x30], esi
jg 0x100564e1
push 0
push 0
push 0
mov edx, 0x14
mov ecx, edi
call fcn.1003e6a0
add esp, 0xc
mov esi, eax
jmp 0x10056517
lea eax, [esi + 1]
mov dword [edi + 0x88], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebx]
push str.USING_INDEX__s_FOR_IN_OPERATOR
push dword [esp + 0x64]
call fcn.100220d0
mov ecx, dword [esp + 0x24]
mov edi, eax
add esp, 0xc
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x88]
cmp dword [eax + 0x30], edx
jg 0x10056555
push 0
push 0
push 0
mov edx, 0xa7
call fcn.1003e6a0
add esp, 0xc
mov edx, eax
jmp 0x10056593
mov ebx, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [ecx + 0x88], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4], 0xa7
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0xfffffffffffffff9
push edi
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.1003f4e0
mov eax, dword [edi + 0xc]
add esp, 8
mov ecx, dword [edi + 0x88]
mov edx, dword [ebx + 0x2c]
cmp dword [eax + 0x30], ecx
jg 0x100565cf
push dword [esp + 0x48]
mov ecx, edi
push edx
push dword [esp + 0x3c]
mov edx, 0x68
call fcn.1003e6a0
add esp, 0xc
jmp 0x10056601
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x58]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x68
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x10]
mov edx, ebx
mov ecx, eax
mov edi, dword [eax + 8]
call fcn.10065350
mov edx, eax
test edx, edx
je 0x10056644
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
je 0x1005662f
push edx
mov edx, 0xfffffff7
call fcn.1003f280
add esp, 4
jmp 0x10056644
mov eax, dword [edi + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x4c]
movzx edi, byte [eax]
add edi, 3
mov dword [esp + 0x24], edi
test edx, edx
je 0x1005667e
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2c]
inc eax
cmp dword [esp + 0x1c], 1
mov dword [ecx + 0x2c], eax
mov dword [edx], eax
jne 0x1005667e
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
push eax
call fcn.10055d90
add esp, 4
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x88]
mov eax, dword [eax]
cmp byte [eax + 0x45], 0
je 0x1005669a
mov eax, 0x102c70c4
mov dword [eax + 8], edx
jmp 0x100566b9
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x100566b9
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x10056260
test edi, edi
jne 0x10056146
mov ebx, dword [esp + 0x10]
test byte [ebp + 8], 1
mov edx, dword [esp + 0x14]
je 0x10056743
test dword [edx + 4], 0x800
jne 0x10056743
mov esi, dword [edx + 0xc]
lea ecx, [esp + 0x60]
mov dword [edx + 0xc], 0
mov byte [esp + 0x74], 1
mov dword [esp + 0x64], fcn.10055950
mov dword [esp + 0x68], 0x10055a60
mov dword [esp + 0x78], 0
call fcn.10051100
cmp byte [esp + 0x74], 0
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], esi
je 0x10056731
mov eax, dword [edx + 0x14]
cmp dword [eax], 2
jg 0x10056743
mov eax, dword [esp + 0x34]
mov edi, 5
mov dword [esp + 0x24], edi
mov dword [edx + 0x1c], eax
jmp 0x100567ab
mov esi, dword [ebx + 0x84]
xor ecx, ecx
test byte [ebp + 8], 4
mov edi, 2
mov dword [esp + 0x24], edi
je 0x1005677d
mov dword [ebx + 0x84], ecx
mov eax, dword [edx + 0xc]
cmp word [eax + 0x20], cx
jge 0x1005678d
test dword [edx + 4], 0x800
jne 0x1005678d
mov edi, 1
mov dword [esp + 0x24], edi
jmp 0x1005678d
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x1005678d
inc dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x2c]
mov dword [eax], ecx
xor eax, eax
cmp edi, 1
sete al
push eax
push ecx
mov ecx, ebx
call fcn.10056a10
mov edx, dword [esp + 0x1c]
add esp, 8
mov dword [ebx + 0x84], esi
mov ebx, dword [esp + 0x58]
test ebx, ebx
je 0x10056888
cmp edi, 3
je 0x10056888
cmp edi, 4
je 0x10056888
mov ecx, dword [edx + 0xc]
mov al, byte [ecx]
cmp al, 0x9d
jne 0x100567d5
mov al, byte [ecx + 0x26]
cmp al, 0x9e
jne 0x100567e0
mov eax, dword [ecx + 0x14]
mov esi, dword [eax]
jmp 0x100567f2
cmp al, 0x77
jne 0x100567ed
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov esi, dword [eax]
jmp 0x100567f2
mov esi, 1
xor ecx, ecx
test esi, esi
jle 0x10056888
cmp esi, 0x10
jb 0x1005687b
movaps xmm1, xmmword [0x102afb70]
mov eax, esi
and eax, reloc.WS2_32.dll_ntohs
jns 0x10056816
dec eax
or eax, 0xfffffff0
inc eax
mov edi, esi
lea edx, [ebx + 0x20]
sub edi, eax
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
lea edx, [edx + 0x40]
paddd xmm0, xmm1
movups xmmword [edx - 0x60], xmm0
movd xmm0, eax
lea eax, [ecx + 8]
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x50], xmm0
movd xmm0, eax
lea eax, [ecx + 0xc]
pshufd xmm0, xmm0, 0
add ecx, 0x10
paddd xmm0, xmm1
movups xmmword [edx - 0x40], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm1
movups xmmword [edx - 0x30], xmm0
cmp ecx, edi
jl 0x10056820
mov edi, dword [esp + 0x24]
cmp ecx, esi
jge 0x10056888
nop
mov dword [ebx + ecx*4], ecx
inc ecx
cmp ecx, esi
jl 0x10056880
mov ecx, dword [esp + 0x7c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret