Function at 0x415e7d
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov ebp, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
test ebp, ebp
je 0x415a90
lea eax, [ebp + 8]
lea esi, [ebx + 0x34]
mov dword [ebp], 0
mov dword [ebp + 4], 0
mov dword [ebp + 0x10], 0
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x34]
cmp eax, esi
je 0x415a90
mov dword [esp], eax
call fcn.00411131
mov edi, eax
mov dword [eax + 0xf0], 0
mov eax, dword [eax + 0x24]
cmp eax, 5
je 0x415a20
ja 0x4159f0
cmp eax, 3
jb 0x41598f
mov dword [esp], edi
call fcn.00411618
mov eax, dword [edi + 0x178]
mov dword [edi + 0x24], 5
mov dword [ebp], 1
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], eax
mov eax, 1
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 9
jne 0x41598f
mov dword [ebx + 0x20], 1
mov eax, dword [edi + 0x178]
mov dword [ebp], 2
mov dword [ebp + 4], edi
mov dword [ebp + 0xc], eax
mov dword [esp], edi
call fcn.004116f9
jmp 0x4159df
lea edx, [edi + 0xe8]
cmp dword [edi + 0xe8], edx
mov dword [esp + 0x2c], edx
je 0x41598f
mov eax, dword [esp + 0x28]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00411668
test eax, eax
mov dword [ebp + 0x10], eax
je 0x41598f
mov edx, dword [esp + 0x2c]
cmp dword [edi + 0xe8], edx
mov dword [ebp], 3
mov dword [ebp + 4], edi
je 0x4159df
mov dword [edi + 0xf0], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00411352
jmp 0x4159df
call fcn.0041142e
mov ecx, dword [esp + 0xd8]
lea edx, [ebx + 0x1870]
mov dword [esp + 0xd4], ebp
mov dword [ebx + 0x30], eax
mov ebp, ebx
mov ebx, dword [esp + 0xd4]
and edx, 0xfffffffc
add ecx, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov edx, dword [ebp + 0x14]
mov ecx, eax
sub ecx, edx
cmp ecx, 0x5265bff
jbe 0x415de0
sub edx, eax
cmp edx, 0x3e7
seta al
test al, al
jne 0x415df1
mov ecx, 1
mov edx, ebx
mov eax, ebp
call fcn.00414d00
cmp eax, 0xffffffff
je 0x4159e4
cmp eax, 1
je 0x4159e4
lea eax, [ebp + 0x86c]
mov dword [esp + 0x30], 0x100
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x2c], eax
lea eax, [ebp + 0x286c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x78]
mov dword [esp + 0xc], 1
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x78], 0x1000
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], esi
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.0041123f
test eax, eax
js 0x415eb0
je 0x416be3
mov edx, dword [ebp + 0x288c]
add dword [ebp + 0x2884], eax
add dword [ebp + 0x2888], 1
mov dword [ebp + 0x2874], esi
mov dword [ebp + 0x2878], eax
test edx, edx
je 0x415bb7
mov eax, dword [esp + 0xd4]
mov dword [esp], ebp
mov dword [esp + 4], eax
call edx
cmp eax, 0xffffffff
je 0x415eb0
cmp eax, 1
je 0x415e84
mov eax, dword [ebp + 0x2878]
cmp eax, 1
jbe 0x415ea0
mov eax, dword [ebp + 0x2874]
mov dword [esp + 0x48], eax
movzx eax, word [eax]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_ntohs]
mov dword [esp + 0x40], eax
call eax
mov ecx, eax
mov edi, eax
sub esp, 4
and cx, 0xc000
and di, 0xfff
movsx edx, cx
mov word [esp + 0x3c], di
mov word [esp + 0x4e], cx
mov esi, edx
mov ecx, edx
mov ebx, edx
mov edi, dword [ebp + 0x858]
sar ecx, 0x1f
sar esi, 0x1f
sar ebx, 0x1f
sar edx, 0x1f
and ecx, 0xfffffffe
and esi, 0xfffffffe
and ebx, 2
and edx, 2
add ecx, 0xffe
add esi, 0xffa
add ebx, 6
add edx, 2
test edi, edi
mov dword [esp + 0x44], edi
cmove esi, ecx
movzx ecx, word [esp + 0x3c]
cmove ebx, edx
cmp cx, 0xfff
je 0x415ec0
movzx edi, cx
cmp edi, dword [ebp + 0x28]
jae 0x415ea0
lea edx, [edi + edi*2]
shl edx, 7
add edx, dword [ebp + 0x24]
mov ecx, edx
mov dword [esp + 0x3c], edx
mov edx, dword [edx + 0x24]
cmp edx, 9
je 0x415ea0
test edx, edx
je 0x415ea0
mov edx, dword [ecx + 0x18]
cmp dword [ebp + 0x286c], edx
je 0x416d3b
cmp edx, 0xffffffff
jne 0x415ea0
mov ecx, dword [esp + 0x3c]
cmp word [ecx + 0xc], 0xffe
ja 0x415cb2
mov edx, eax
and edx, 0x3000
sar edx, 0xc
cmp byte [ecx + 0x15], dl
jne 0x415ea0
test ah, 0x40
jne 0x416ae2
mov eax, dword [ebp + 0x2874]
mov edi, dword [esp + 0x44]
test edi, edi
je 0x415d1a
mov ecx, dword [esp + 0x3c]
lea edx, [eax + ebx - 4]
mov esi, dword [edx]
test ecx, ecx
je 0x4170ec
mov ecx, dword [ecx + 0x10]
mov dword [edx], ecx
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0x2878]
mov dword [esp + 4], 1
mov dword [esp + 0x80], eax
lea eax, [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
call eax
cmp esi, eax
jne 0x415ea0
mov eax, dword [ebp + 0x2874]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x417189
mov edx, dword [ebp + 0x286c]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x18], edx
movzx edx, word [ebp + 0x2870]
mov word [ecx + 0x1c], dx
mov edx, dword [ebp + 0x2878]
add dword [ecx + 0x40], edx
mov ecx, dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp + 0xd0], ebp
add ebx, eax
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
add eax, edx
cmp eax, ebx
jbe case.0x415dcf.0
lea edx, [ebx + 4]
cmp eax, edx
jb case.0x415dcf.0
movzx esi, byte [ebx]
and esi, 0xf
mov ecx, esi
cmp cl, 0xc
ja case.0x415dcf.0
movzx edi, cl
mov edx, dword [edi*4 + 0x428fa0]
test edx, edx
je case.0x415dcf.0
lea ecx, [ebx + edx]
cmp eax, ecx
mov dword [esp + 0x3c], ecx
jb case.0x415dcf.0
test ebp, ebp
jne 0x415db3
mov eax, esi
cmp al, 2
jne case.0x415dcf.0
movzx eax, word [ebx + 2]
mov dword [esp], eax
call dword [esp + 0x40]
mov word [ebx + 2], ax
mov eax, esi
sub esp, 4
cmp al, 0xc
ja case.0x415dcf.0
jmp dword [edi*4 + 0x428f60]
cmp ecx, 0x3e7
seta al
test al, al
je 0x415ae8
mov dword [esp], ebp
call fcn.004117f8
jmp 0x415ae8
movzx eax, byte [ebx + 1]
cmp eax, dword [ebp + 0x2c]
jae case.0x415dcf.0
mov eax, dword [ebp + 0x24]
sub eax, 5
cmp eax, 1
ja case.0x415dcf.0
movzx eax, word [ebx + 4]
mov dword [esp], eax
call dword [esp + 0x40]
sub esp, 4
movzx eax, ax
mov esi, dword [esp + 0xd0]
add dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
cmp eax, dword [esi + 0x289c]
ja case.0x415dcf.0
mov edx, dword [esi + 0x2874]
cmp ecx, edx
jb case.0x415dcf.0
add edx, dword [esi + 0x2878]
cmp ecx, edx
ja case.0x415dcf.0
mov dword [esp + 0xc], eax
lea eax, [ebx + 6]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.004115b4
test eax, eax
jne 0x4161a4
mov ebp, dword [esp + 0xd0]
mov esi, dword [esp + 0xd4]
test esi, esi
je 0x415ea0
mov eax, dword [esp + 0xd4]
mov ebx, dword [eax]
test ebx, ebx
jne 0x4159df
sub dword [esp + 0x30], 1
jne 0x415b2b
nop
lea esi, [esi]
mov eax, 0xffffffff
jmp 0x4159e4
mov dword [esp + 0x3c], 0
jmp 0x415cb2
movzx eax, byte [ebx + 1]
cmp eax, dword [ebp + 0x2c]
jae case.0x415dcf.0
mov eax, dword [ebp + 0x24]
sub eax, 5
cmp eax, 1
ja case.0x415dcf.0
movzx eax, word [ebx + 6]
mov dword [esp], eax
call dword [esp + 0x40]
sub esp, 4
movzx eax, ax
mov edx, dword [esp + 0xd0]
add dword [esp + 0x3c], eax
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x3c]
cmp eax, dword [edx + 0x289c]
ja case.0x415dcf.0
mov eax, dword [edx + 0x2874]
cmp ecx, eax
jb case.0x415dcf.0
add eax, dword [edx + 0x2878]
cmp ecx, eax
ja case.0x415dcf.0
movzx edi, byte [ebx + 1]
movzx eax, word [ebx + 2]
mov esi, dword [ebp + 0x28]
imul edi, edi, 0x3c
mov dword [esp + 0x50], eax
add esi, edi
mov edi, eax
movzx eax, word [ebx + 4]
mov dword [esp + 0x44], esi
mov dword [esp], eax
call dword [esp + 0x40]
movzx ecx, word [esi + 0x26]
sub esp, 4
mov word [esp + 0x54], ax
mov eax, edi
shr eax, 0xc
mov edx, eax
mov esi, ecx
shr si, 0xc
cmp edi, ecx
jae 0x4171bb
lea edx, [eax + 0x10]
movzx eax, si
movzx edx, dx
add eax, 6
cmp eax, edx
jl 0x4161a4
movzx eax, word [esp + 0x54]
cmp dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
jne 0x415fa8
mov eax, dword [esp + 0x44]
movzx eax, word [eax + 0x28]
cmp dword [esp + 0x54], eax
jbe 0x4161a4
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push edx
mov esi, eax
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push ecx
mov edi, eax
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push edx
cmp dword [esp + 0x64], esi
jae case.0x415dcf.0
cmp esi, 0x100000
ja case.0x415dcf.0
cmp edi, eax
jae case.0x415dcf.0
mov esi, dword [esp + 0xd0]
cmp eax, dword [esi + 0x289c]
ja case.0x415dcf.0
mov edx, eax
sub edx, edi
cmp dword [esp + 0x5c], edx
ja case.0x415dcf.0
mov edx, dword [esp + 0x44]
mov esi, dword [edx + 0x38]
mov ecx, edx
add ecx, 0x34
mov dword [esp + 0x6c], ecx
cmp esi, ecx
je 0x416081
movzx edx, word [edx + 0x26]
mov edi, dword [esp + 0x44]
cmp dword [esp + 0x50], edx
mov ecx, edx
jae 0x41614d
jmp 0x416074
cmp edx, dword [esp + 0x50]
jb 0x41607d
ja 0x41606b
movzx edx, word [esi + 0xa]
cmp dword [esp + 0x54], edx
jae 0x41742d
mov esi, dword [esi + 4]
cmp esi, dword [esp + 0x6c]
je 0x41607d
movzx edx, word [esi + 8]
cmp dx, cx
jb 0x416055
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x10], 8
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 0x14], ecx
call fcn.004115b4
test eax, eax
mov esi, eax
je case.0x415dcf.0
mov ecx, dword [esp + 0x64]
mov eax, dword [esi + 0x44]
mov edx, ecx
shr edx, 5
lea edx, [eax + edx*4]
mov eax, 1
shl eax, cl
test dword [edx], eax
jne 0x4161a4
sub dword [esi + 0x40], 1
mov ecx, dword [esp + 0x5c]
or dword [edx], eax
mov eax, dword [esi + 0x48]
mov edx, dword [esp + 0x60]
mov edi, dword [eax + 0xc]
add ecx, edx
sub edi, edx
cmp ecx, dword [eax + 0xc]
mov ecx, dword [esp + 0x60]
cmovbe edi, dword [esp + 0x5c]
add ecx, dword [eax + 8]
lea edx, [ebx + 0x18]
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp], ecx
call fcn.0041178a
cmp dword [esi + 0x40], 0
jne 0x4161a4
mov eax, dword [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00411645
jmp 0x4161a4
jb 0x416140
movzx edx, word [esi + 0xa]
cmp dword [esp + 0x54], edx
jae 0x41742d
mov esi, dword [esi + 4]
cmp esi, dword [esp + 0x6c]
je 0x41607d
movzx edx, word [esi + 8]
cmp dx, cx
jb 0x416140
cmp dword [esp + 0x50], edx
jbe 0x416130
jmp 0x41607d
mov eax, dword [ebp + 0x24]
sub eax, 5
cmp eax, 1
ja case.0x415dcf.0
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x58]
mov dword [esp], eax
call esi
mov dword [ebp + 0x84], eax
mov eax, dword [ebx + 8]
sub esp, 4
mov dword [esp], eax
call esi
mov dword [ebp + 0x7c], eax
mov eax, dword [ebx + 0xc]
sub esp, 4
mov dword [esp], eax
call esi
sub esp, 4
mov dword [ebp + 0x80], eax
cmp byte [ebx], 0
js 0x416b7e
mov eax, dword [esp + 0xd0]
mov ecx, dword [esp + 0xd0]
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax + 0x2874]
mov edx, dword [ecx + 0x2878]
jmp 0x415d5e
mov eax, dword [ebp + 0x24]
sub eax, 5
cmp eax, 1
ja case.0x415dcf.0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x4161f4
mov eax, dword [esp + 0xd0]
sub dword [eax + 0x2894], 1
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp], eax
call esi
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 8]
sub esp, 4
mov dword [esp], eax
call esi
mov edx, dword [ebp + 0x30]
sub esp, 4
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0xd0]
test edx, edx
je 0x4170f3
add dword [eax + 0x2894], 1
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4170fe
cmp eax, edx
cmova eax, edx
shr eax, 0x10
shl eax, 0xc
mov dword [ebp + 0xb4], eax
cmp eax, 0xfff
jbe 0x4171ac
cmp eax, 0x10000
jbe 0x4161a4
mov dword [ebp + 0xb4], 0x10000
jmp 0x4161a4
movzx eax, byte [ebx + 1]
cmp eax, dword [ebp + 0x2c]
jae case.0x415dcf.0
mov eax, dword [ebp + 0x24]
sub eax, 5
cmp eax, 1
ja case.0x415dcf.0
movzx eax, word [ebx + 6]
mov edi, dword [esp + 0x40]
mov dword [esp], eax
call edi
sub esp, 4
movzx eax, ax
mov edx, dword [esp + 0xd0]
add dword [esp + 0x3c], eax
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x3c]
cmp eax, dword [edx + 0x289c]
ja case.0x415dcf.0
mov eax, dword [edx + 0x2874]
cmp ecx, eax
jb case.0x415dcf.0
add eax, dword [edx + 0x2878]
cmp ecx, eax
ja case.0x415dcf.0
movzx eax, byte [ebx + 1]
imul eax, eax, 0x3c
add eax, dword [ebp + 0x28]
mov dword [esp + 0x54], eax
movzx eax, word [ebx + 4]
mov dword [esp], eax
call edi
sub esp, 4
movzx edi, ax
mov eax, dword [esp + 0x54]
mov ecx, edi
mov word [esp + 0x68], di
shr ecx, 0xc
mov esi, ecx
movzx eax, word [eax + 0x26]
mov edx, eax
shr dx, 0xc
cmp edi, eax
jae 0x4171c9
lea esi, [ecx + 0x10]
movzx eax, dx
movzx esi, si
add eax, 6
cmp eax, esi
jl 0x4161a4
mov eax, dword [ebx + 0xc]
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp], eax
call esi
push edx
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 8]
mov dword [esp], eax
call esi
push ecx
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call esi
push edx
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call esi
push ecx
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x60], ecx
jae case.0x415dcf.0
cmp ecx, 0x100000
ja case.0x415dcf.0
mov esi, dword [esp + 0xd0]
cmp eax, dword [esi + 0x289c]
ja case.0x415dcf.0
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jae case.0x415dcf.0
mov esi, eax
sub esi, ecx
cmp dword [esp + 0x50], esi
ja case.0x415dcf.0
mov ecx, dword [esp + 0x54]
mov esi, dword [ecx + 0x30]
lea edx, [ecx + 0x2c]
mov dword [esp + 0x64], edx
cmp esi, edx
je 0x4163e6
movzx ecx, word [ecx + 0x26]
cmp edi, ecx
mov edx, ecx
jae 0x416a9f
jmp 0x4163dd
cmp ecx, edi
jbe 0x416aac
mov esi, dword [esi + 4]
cmp esi, dword [esp + 0x64]
je 0x4163e6
movzx ecx, word [esi + 8]
cmp cx, dx
jb 0x4163cc
lea edi, [esp + 0x80]
mov ecx, 0xc
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
movzx ecx, word [esp + 0x68]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x10], 1
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebp
mov word [esp + 0x82], cx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
call fcn.004115b4
test eax, eax
mov esi, eax
je case.0x415dcf.0
mov edx, dword [esp + 0x60]
mov eax, dword [esi + 0x44]
mov ecx, edx
shr ecx, 5
lea edi, [eax + ecx*4]
mov eax, 1
mov ecx, edx
shl eax, cl
test dword [edi], eax
jne 0x4161a4
sub dword [esi + 0x40], 1
mov ecx, dword [esp + 0x44]
or dword [edi], eax
mov eax, dword [esi + 0x48]
mov edi, dword [esp + 0x50]
mov edx, dword [eax + 0xc]
add edi, ecx
mov dword [esp + 0x5c], eax
mov eax, edx
sub eax, ecx
cmp edi, edx
cmovbe eax, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
lea ecx, [ebx + 0x18]
mov edx, eax
mov eax, dword [esp + 0x5c]
add edi, dword [eax + 8]
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], edi
call fcn.0041178a
cmp dword [esi + 0x40], 0
jne 0x4161a4
mov eax, dword [esp + 0x54]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00411244
jmp 0x4161a4
mov eax, dword [ebp + 0x24]
sub eax, 5
cmp eax, 1
ja case.0x415dcf.0
jmp 0x4161a4
movzx eax, byte [ebx + 1]
cmp eax, dword [ebp + 0x2c]
jae case.0x415dcf.0
mov eax, dword [ebp + 0x24]
sub eax, 5
cmp eax, 1
ja case.0x415dcf.0
movzx eax, word [ebx + 6]
mov edi, dword [esp + 0x40]
mov dword [esp], eax
call edi
sub esp, 4
movzx esi, ax
mov eax, dword [esp + 0xd0]
add dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x3c]
cmp esi, dword [eax + 0x289c]
ja case.0x415dcf.0
mov eax, dword [eax + 0x2874]
cmp ecx, eax
jb case.0x415dcf.0
mov edx, dword [esp + 0xd0]
add eax, dword [edx + 0x2878]
cmp ecx, eax
ja case.0x415dcf.0
movzx eax, word [ebx + 4]
mov dword [esp], eax
call edi
movzx edx, word [ebp + 0xf4]
sub esp, 4
mov edi, eax
mov word [esp + 0x44], ax
movzx eax, ax
lea ecx, [eax + 0x10000]
cmp eax, edx
cmovb eax, ecx
lea ecx, [edx + 0x8000]
cmp ecx, eax
jbe 0x4161a4
and di, 0x3ff
movzx eax, ax
movzx ecx, di
mov edi, eax
sub edi, ecx
mov word [esp + 0x54], cx
mov dword [esp + 0x50], ecx
cmp edx, edi
je 0x417217
sub eax, dword [esp + 0x54]
lea edx, [ebp + 0xf8]
mov ecx, 0x20
mov edi, edx
mov word [ebp + 0xf4], ax
xor eax, eax
rep stosd dword es:[edi], eax
lea eax, [ebx + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp], ebp
call fcn.004115b4
test eax, eax
je case.0x415dcf.0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov edx, 1
shr eax, 5
shl edx, cl
or dword [ebp + eax*4 + 0xf8], edx
jmp 0x4161a4
mov eax, dword [ebp + 0x24]
lea edx, [eax - 8]
cmp edx, 1
jbe 0x4161a4
test eax, eax
je 0x4161a4
mov dword [esp], ebp
call fcn.00411794
mov eax, dword [ebp + 0x24]
cmp eax, 7
sete cl
cmp eax, 4
sete dl
or cl, dl
jne 0x41726b
cmp eax, 1
je 0x41726b
lea edx, [eax - 5]
cmp edx, 1
jbe 0x4172fd
cmp eax, 3
jne 0x41665e
mov eax, dword [esp + 0xd0]
mov dword [eax + 0x20], 1
mov dword [esp], ebp
call fcn.004116f9
cmp dword [ebp + 0x24], 0
je 0x4161a4
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov dword [ebp + 0x178], eax
jmp 0x4161a4
movzx eax, byte [ebx + 1]
cmp eax, dword [ebp + 0x2c]
jae case.0x415dcf.0
mov eax, dword [ebp + 0x24]
sub eax, 5
cmp eax, 1
ja case.0x415dcf.0
movzx eax, word [ebx + 6]
mov dword [esp], eax
call dword [esp + 0x40]
sub esp, 4
movzx eax, ax
mov esi, dword [esp + 0xd0]
add dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x3c]
cmp eax, dword [esi + 0x289c]
ja case.0x415dcf.0
mov edx, dword [esi + 0x2874]
cmp ecx, edx
jb case.0x415dcf.0
add edx, dword [esi + 0x2878]
cmp ecx, edx
ja case.0x415dcf.0
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
lea eax, [ebx + 8]
mov dword [esp + 0x10], 0
jmp 0x415e65
test ebp, ebp
jne case.0x415dcf.0
mov eax, dword [ebx + 0x10]
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp], eax
call edi
sub esp, 4
mov dword [esp + 0x44], eax
sub eax, 1
cmp eax, 0xfe
ja case.0x415dcf.0
mov ecx, dword [esp + 0xd0]
mov eax, dword [esp + 0xd0]
mov edx, dword [ecx + 0x28]
mov eax, dword [eax + 0x24]
lea ecx, [edx + edx*2]
shl ecx, 7
add ecx, eax
cmp eax, ecx
jae case.0x415dcf.0
mov dword [esp + 0x50], edi
xor esi, esi
mov edi, dword [esp + 0xd0]
jmp 0x416782
test ebp, ebp
cmove ebp, eax
add eax, 0x180
cmp eax, ecx
jae 0x416d70
mov edx, dword [eax + 0x24]
test edx, edx
je 0x416770
cmp edx, 1
je 0x416775
mov edx, dword [edi + 0x286c]
cmp dword [eax + 0x18], edx
jne 0x416775
movzx edx, word [edi + 0x2870]
cmp word [eax + 0x1c], dx
je 0x417121
add esi, 1
jmp 0x416775
mov eax, dword [ebp + 0x24]
cmp eax, 9
je 0x4161a4
test eax, eax
je 0x4161a4
movzx eax, word [ebx + 6]
mov dword [esp], eax
call dword [esp + 0x40]
push ecx
movzx ecx, ax
mov eax, dword [esp + 0xd0]
mov edx, dword [eax + 0x30]
mov eax, edx
mov esi, edx
xor ax, ax
and esi, 0x8000
or eax, ecx
mov edi, eax
lea ecx, [eax - 0x10000]
and edi, 0x8000
cmp edi, esi
mov esi, edx
cmova eax, ecx
sub esi, eax
cmp esi, 0x5265bff
ja 0x4161a4
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x54], 0
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.004116e0
mov edx, dword [ebp + 0xac]
mov eax, edx
shr eax, 2
sub edx, eax
mov eax, dword [ebp + 0xa8]
cmp eax, esi
ja 0x4172e6
mov ecx, esi
sub ecx, eax
shr ecx, 3
add eax, ecx
mov ecx, esi
sub ecx, eax
shr ecx, 2
add edx, ecx
cmp dword [ebp + 0x9c], eax
mov dword [ebp + 0xac], edx
mov dword [ebp + 0xa8], eax
jbe 0x41686b
mov dword [ebp + 0x9c], eax
cmp dword [ebp + 0xa4], edx
jae 0x416879
mov dword [ebp + 0xa4], edx
mov ecx, dword [ebp + 0x78]
test ecx, ecx
jne 0x4172ac
mov ecx, dword [esp + 0xd0]
mov esi, dword [ecx + 0x30]
mov ecx, dword [ebp + 0x9c]
mov dword [ebp + 0x78], esi
mov dword [ebp + 0x9c], eax
mov dword [ebp + 0x98], ecx
mov ecx, dword [ebp + 0xa4]
mov dword [ebp + 0xa4], edx
mov dword [ebp + 0xa0], ecx
movzx eax, word [ebx + 4]
mov dword [esp], eax
call dword [esp + 0x40]
push edx
movzx ecx, byte [ebx + 1]
movzx edx, ax
mov eax, ebp
call fcn.00414690
mov edx, dword [ebp + 0x24]
cmp edx, 6
je 0x417327
cmp edx, 7
je 0x4173d5
cmp edx, 2
jne 0x4161a4
cmp eax, 3
jne case.0x415dcf.0
cmp dword [esp + 0xd4], 0
mov eax, dword [esp + 0xd0]
mov dword [eax + 0x20], 1
mov dword [esp], ebp
je 0x4174dc
call fcn.00411618
mov eax, dword [esp + 0xd4]
mov dword [ebp + 0x24], 5
mov ecx, dword [esp + 0xd4]
mov dword [eax], 1
mov dword [eax + 4], ebp
mov eax, dword [ebp + 0x178]
mov dword [ecx + 0xc], eax
jmp 0x4161a4
cmp dword [ebp + 0x24], 1
jne 0x4161a4
mov eax, dword [ebx + 0x10]
mov edi, dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esp], eax
call edi
mov esi, eax
lea eax, [eax - 1]
push ecx
cmp eax, 0xfe
ja 0x417374
mov eax, dword [ebx + 0x1c]
mov dword [esp], eax
call edi
push edx
cmp eax, dword [ebp + 0x84]
jne 0x417374
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call edi
push ecx
cmp eax, dword [ebp + 0x7c]
jne 0x417374
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
call edi
push edx
cmp eax, dword [ebp + 0x80]
jne 0x417374
mov eax, dword [ebp + 0x10]
cmp dword [ebx + 0x28], eax
jne 0x417374
mov ecx, 0xff
mov edx, 1
mov eax, ebp
call fcn.00414690
cmp esi, dword [ebp + 0x2c]
jae 0x4169da
mov dword [ebp + 0x2c], esi
movzx eax, word [ebx + 4]
mov dword [esp], eax
call dword [esp + 0x40]
push edx
mov word [ebp + 0xc], ax
movzx eax, byte [ebx + 6]
mov byte [ebp + 0x15], al
movzx eax, byte [ebx + 7]
mov byte [ebp + 0x14], al
mov eax, dword [ebx + 8]
mov dword [esp], eax
call edi
cmp eax, 0x23f
push ecx
mov edx, 0x240
jbe 0x416a19
cmp eax, 0x1000
mov dx, 0x1000
cmovbe edx, eax
cmp dword [ebp + 0xb0], edx
jbe 0x416a27
mov dword [ebp + 0xb0], edx
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call edi
cmp eax, 0xfff
push esi
jbe 0x4173cb
cmp eax, 0x10001
mov edx, 0x10000
cmovae eax, edx
cmp dword [ebp + 0xb4], eax
jbe 0x416a56
mov dword [ebp + 0xb4], eax
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call edi
push edx
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 0x18]
mov dword [esp], eax
call edi
push ecx
cmp dword [esp + 0xd4], 0
mov dword [ebp + 0x34], eax
mov eax, dword [esp + 0xd0]
mov dword [eax + 0x20], 1
je 0x4174b4
mov dword [esp], ebp
jmp 0x416915
mov esi, dword [esi + 4]
cmp esi, dword [esp + 0x64]
je 0x4163e6
movzx ecx, word [esi + 8]
cmp cx, dx
jb 0x416a92
cmp edi, ecx
jb 0x416a92
cmp edi, ecx
ja 0x4163e6
movzx ecx, byte [esi + 0xc]
and ecx, 0xf
cmp cl, 8
jne case.0x415dcf.0
mov ecx, dword [esi + 0x48]
cmp eax, dword [ecx + 0xc]
jne case.0x415dcf.0
mov eax, dword [esp + 0x5c]
cmp eax, dword [esi + 0x3c]
je 0x41643c
jmp case.0x415dcf.0
mov edx, dword [ebp + 0x85c]
test edx, edx
je 0x415ea0
mov ecx, dword [ebp + 0x864]
test ecx, ecx
je 0x415ea0
lea edi, [ebp + 0x186c]
mov dword [esp + 0x10], esi
lea eax, [edi + ebx]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x2878]
sub eax, ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x2874]
mov dword [esp], edx
add eax, ebx
mov dword [esp + 4], eax
call ecx
test eax, eax
je 0x415ea0
cmp eax, esi
ja 0x415ea0
cmp ebx, 4
jae 0x417134
test ebx, ebx
je 0x416b5f
mov ecx, dword [esp + 0x48]
test bl, 2
movzx edx, byte [ecx]
mov byte [ebp + 0x186c], dl
jne 0x41741a
add eax, ebx
mov dword [ebp + 0x2874], edi
mov dword [ebp + 0x2878], eax
mov eax, dword [ebp + 0x858]
mov dword [esp + 0x44], eax
mov eax, edi
jmp 0x415cc1
cmp word [esp + 0x4e], 0
jns case.0x415dcf.0
mov eax, dword [esp + 0x48]
movzx eax, word [eax + 2]
mov dword [esp], eax
call dword [esp + 0x40]
mov ecx, dword [ebp + 0x24]
sub esp, 4
cmp ecx, 9
ja 0x416bcb
mov edx, 1
shl edx, cl
test edx, 0x285
jne 0x4161ad
and dh, 1
je 0x416bcb
movzx edx, byte [ebx]
and edx, 0xf
cmp dl, 4
jne 0x4161ad
movzx eax, ax
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 8], eax
call fcn.004112e4
jmp 0x4161ad
mov ebx, dword [esp + 0xd4]
mov ecx, 1
mov eax, ebp
mov edx, ebx
call fcn.00414d00
cmp eax, 0xffffffff
je 0x4159e4
cmp eax, 1
je 0x4159e4
lea eax, [ebx + 8]
test ebx, ebx
lea esi, [ebp + 0x34]
mov dword [esp + 0x28], eax
je 0x416c67
mov eax, dword [ebp + 0x34]
cmp eax, esi
je 0x416c67
mov dword [esp], eax
call fcn.00411131
mov edi, eax
mov dword [eax + 0xf0], 0
mov eax, dword [eax + 0x24]
cmp eax, 5
je 0x416cd6
ja 0x416c4d
cmp eax, 3
jb 0x416c18
mov ebp, ebx
jmp 0x4159bd
cmp eax, 9
jne 0x416c18
mov dword [esp + 0xd4], ebx
mov ebx, ebp
mov ebp, dword [esp + 0xd4]
jmp 0x4159f5
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x34]
sub eax, ecx
cmp eax, 0x5265bff
jbe 0x416ccf
lea esi, [esp + 0x74]
mov edi, ecx
jmp 0x416cbb
mov ecx, edi
mov dword [esp + 4], esi
mov dword [esp + 0x74], 6
sub ecx, eax
cmp ecx, 0x5265bff
cmovbe edx, ecx
mov dword [esp + 8], edx
mov eax, dword [ebp]
mov dword [esp], eax
call fcn.004113e3
test eax, eax
jne 0x415eb0
test byte [esp + 0x74], 4
je 0x416d51
call fcn.0041142e
mov edx, eax
mov dword [ebp + 0x30], eax
sub edx, edi
cmp edx, 0x5265bff
ja 0x416c80
xor eax, eax
jmp 0x4159e4
lea edx, [edi + 0xe8]
cmp dword [edi + 0xe8], edx
mov dword [esp + 0x2c], edx
je 0x416c18
mov eax, dword [esp + 0x28]
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00411668
test eax, eax
mov dword [ebx + 0x10], eax
je 0x416c18
mov edx, dword [esp + 0x2c]
cmp dword [edi + 0xe8], edx
mov dword [ebx], 3
mov dword [ebx + 4], edi
je 0x4159df
mov dword [edi + 0xf0], 1
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00411352
jmp 0x4159df
movzx ecx, word [ecx + 0x1c]
cmp word [ebp + 0x2870], cx
jne 0x415c89
jmp 0x415c92
call fcn.0041142e
test byte [esp + 0x74], 2
mov dword [ebp + 0x30], eax
jne 0x415ac2
xor eax, eax
jmp 0x4159e4
test ebp, ebp
mov edi, dword [esp + 0x50]
je case.0x415dcf.0
mov eax, dword [esp + 0xd0]
cmp dword [eax + 0x2898], esi
jbe case.0x415dcf.0
mov eax, dword [eax + 0x2c]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
cmovbe eax, ecx
mov dword [esp + 0x5c], eax
mov esi, eax
imul eax, eax, 0x3c
mov dword [esp], eax
mov dword [esp + 0x54], eax
call fcn.0041171c
test eax, eax
mov dword [ebp + 0x28], eax
je case.0x415dcf.0
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x24], 2
mov eax, dword [ebx + 0x28]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0xd0]
mov edx, dword [eax + 0x2870]
mov eax, dword [eax + 0x286c]
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x18], eax
movzx eax, word [ebx + 4]
mov dword [esp], eax
call dword [esp + 0x40]
mov word [ebp + 0xc], ax
mov eax, dword [ebx + 0x14]
sub esp, 4
mov dword [esp], eax
call edi
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 0x18]
sub esp, 4
mov dword [esp], eax
call edi
mov dword [ebp + 0x34], eax
mov eax, dword [ebx + 0x1c]
sub esp, 4
mov dword [esp], eax
call edi
mov dword [ebp + 0x84], eax
mov eax, dword [ebx + 0x20]
sub esp, 4
mov dword [esp], eax
call edi
mov dword [ebp + 0x7c], eax
mov eax, dword [ebx + 0x24]
sub esp, 4
mov dword [esp], eax
call edi
mov dword [ebp + 0x80], eax
mov eax, dword [ebx + 0x2c]
sub esp, 4
mov dword [esp], eax
call edi
mov dword [ebp + 0x178], eax
movzx eax, byte [ebx + 6]
sub esp, 4
cmp al, 0xff
je 0x417262
add eax, 1
and eax, 3
cmp al, byte [ebp + 0x14]
mov byte [esp + 0x44], al
je 0x417253
mov byte [ebp + 0x14], al
movzx eax, byte [ebx + 7]
cmp al, 0xff
je 0x41724a
add eax, 1
and eax, 3
cmp al, byte [ebp + 0x15]
mov byte [esp + 0x50], al
je 0x41723b
mov esi, dword [ebp + 0x28]
mov byte [ebp + 0x15], al
mov eax, dword [esp + 0x54]
add eax, esi
cmp esi, eax
jae 0x416f14
xor eax, eax
xor ecx, ecx
mov word [esi + 2], ax
xor eax, eax
mov word [esi], cx
mov word [esi + 0x26], ax
xor eax, eax
mov word [esi + 0x28], ax
lea eax, [esi + 0x2c]
mov dword [esp], eax
call fcn.004118fc
lea eax, [esi + 0x34]
mov dword [esp], eax
call fcn.004118fc
xor eax, eax
lea edx, [esi + 0xa]
mov dword [esi + 6], 0
mov word [esi + 4], ax
lea eax, [esi + 6]
mov dword [esi + 0x22], 0
and edx, 0xfffffffc
xor ecx, ecx
sub eax, edx
add eax, 0x20
and eax, 0xfffffffc
mov dword [edx + ecx], 0
add ecx, 4
cmp ecx, eax
jb 0x416ef8
mov eax, dword [esp + 0x54]
add eax, dword [ebp + 0x28]
add esi, 0x3c
cmp esi, eax
jb 0x416ea4
mov eax, dword [ebx + 8]
mov dword [esp], eax
call edi
sub esp, 4
cmp eax, 0x23f
mov edx, 0x240
jbe 0x416f38
cmp eax, 0x1000
mov edx, 0x1000
cmovbe edx, eax
mov eax, dword [esp + 0xd0]
mov dword [ebp + 0xb0], edx
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4171d7
mov edx, dword [ebp + 0x30]
test edx, edx
je 0x417194
cmp edx, eax
cmovbe eax, edx
shr eax, 0x10
shl eax, 0xc
mov dword [ebp + 0xb4], eax
cmp eax, 0xfff
ja 0x41720a
mov dword [ebp + 0xb4], 0x1000
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4171ec
shr eax, 0x10
shl eax, 0xc
mov esi, eax
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call edi
cmp esi, eax
push edx
ja 0x4172d6
cmp esi, 0xfff
mov edi, 0x1000
jbe 0x416fc7
cmp esi, 0x10000
mov edi, 0x10000
cmovbe edi, esi
mov byte [esp + 0x80], 0x83
mov byte [esp + 0x81], 0xff
movzx eax, word [ebp + 0xe]
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_htons]
sub esp, 4
mov esi, dword [sym.imp.WS2_32.dll_htonl]
mov word [esp + 0x84], ax
movzx eax, byte [esp + 0x44]
mov byte [esp + 0x86], al
movzx eax, byte [esp + 0x50]
mov byte [esp + 0x87], al
mov eax, dword [ebp + 0xb0]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp], edi
mov dword [esp + 0x88], eax
call esi
sub esp, 4
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xd0]
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x84]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 0x9c], eax
mov eax, dword [ebp + 0x7c]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 0xa0], eax
mov eax, dword [ebp + 0x80]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 0xa4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], ebp
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x80]
mov dword [esp + 4], eax
call fcn.00411078
jmp 0x4161a4
xor ecx, ecx
jmp 0x415cde
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x416261
mov eax, dword [esp + 0xd0]
cmp dword [eax + 0x10], edx
mov ecx, eax
mov eax, edx
cmovae eax, dword [ecx + 0x10]
shr eax, 0x10
shl eax, 0xc
mov dword [ebp + 0xb4], eax
jmp 0x41624b
mov edx, dword [ebx + 0x28]
cmp dword [eax + 0x10], edx
jne 0x4167aa
mov ebp, edi
jmp 0x415e84
mov ecx, dword [esp + 0x48]
mov esi, edi
mov edx, dword [ecx]
mov dword [ebp + 0x186c], edx
mov edx, dword [ebx + ecx - 4]
mov dword [ebx + edi - 4], edx
sub esi, dword [esp + 0x38]
sub ecx, esi
add esi, ebx
and esi, 0xfffffffc
cmp esi, 4
jb 0x416b5f
and esi, 0xfffffffc
xor edx, edx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x50], eax
mov ebx, dword [ecx + edx]
mov eax, dword [esp + 0x38]
mov dword [eax + edx], ebx
add edx, 4
cmp edx, esi
jb 0x41716b
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
jmp 0x416b5f
mov edx, dword [ebp + 0x2878]
jmp 0x415d47
cmp dword [ebp + 0x30], eax
cmovae eax, dword [ebp + 0x30]
shr eax, 0x10
shl eax, 0xc
mov dword [ebp + 0xb4], eax
jmp 0x416f6c
mov dword [ebp + 0xb4], 0x1000
jmp 0x4161a4
cmp ax, si
jb 0x4161a4
jmp 0x415f76
cmp cx, dx
jb 0x4161a4
jmp 0x41631c
cmp dword [ebp + 0x30], 0
jne 0x417194
mov dword [ebp + 0xb4], 0x10000
jmp 0x416f81
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call edi
cmp eax, 0xffff
push edx
jbe 0x4172d6
mov esi, 0x10000
jmp 0x416fb9
cmp eax, 0x10000
jbe 0x416f81
jmp 0x4171dd
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
mov eax, 1
shr edx, 5
shl eax, cl
test dword [ebp + edx*4 + 0xf8], eax
je 0x4165b3
jmp 0x4161a4
add eax, 1
and eax, 3
mov byte [esp + 0x50], al
jmp 0x416e94
movzx eax, byte [ebp + 0x15]
jmp 0x416e81
add eax, 1
and eax, 3
mov byte [esp + 0x44], al
jmp 0x416e72
movzx eax, byte [ebp + 0x14]
jmp 0x416e5f
mov dword [esp], ebp
call fcn.00411334
cmp dword [ebp + 0xf0], 0
mov dword [ebp + 0x24], 9
jne 0x416670
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], ebp
add eax, 0x34
mov dword [esp], eax
call fcn.00411352
mov dword [ebp + 0xf0], 1
jmp 0x416666
mov esi, dword [esp + 0xd0]
mov esi, dword [esi + 0x30]
mov edi, esi
sub edi, ecx
sub ecx, esi
cmp edi, 0x5265c00
cmovae edi, ecx
cmp dword [ebp + 0x84], edi
ja 0x4168b5
jmp 0x41688e
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call edi
push esi
mov esi, eax
jmp 0x416fac
mov ecx, eax
sub ecx, esi
shr ecx, 3
sub eax, ecx
mov ecx, eax
sub ecx, esi
shr ecx, 2
add edx, ecx
jmp 0x416851
cmp byte [ebx], 0
mov dword [esp], ebp
js 0x4174f7
call fcn.00411334
cmp dword [ebp + 0xf0], 0
mov dword [ebp + 0x24], 9
jne 0x416670
jmp 0x417287
lea eax, [ebp + 0xd8]
cmp dword [ebp + 0xd8], eax
jne 0x4161a4
lea eax, [ebp + 0xe0]
cmp dword [ebp + 0xe0], eax
jne 0x4161a4
lea eax, [ebp + 0xc8]
cmp dword [ebp + 0xc8], eax
jne 0x4161a4
mov eax, dword [ebp + 0x178]
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00411005
jmp 0x4161a4
mov dword [esp + 0x3c], ebp
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0xd0]
mov dword [esi + 0x178], 0
mov dword [esp], esi
call fcn.00411334
cmp dword [esi + 0xf0], 0
mov dword [esi + 0x24], 9
jne 0x415e84
mov esi, dword [esp + 0x3c]
lea eax, [ebp + 0x34]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.00411352
mov dword [esi + 0xf0], 1
jmp 0x415e84
mov eax, 0x1000
jmp 0x416a48
cmp eax, 4
jne case.0x415dcf.0
cmp dword [esp + 0xd4], 0
mov eax, dword [esp + 0xd0]
mov dword [eax + 0x20], 1
je 0x417469
mov eax, dword [esp + 0xd4]
mov dword [eax], 2
mov dword [eax + 4], ebp
mov dword [eax + 0xc], 0
mov dword [esp], ebp
call fcn.004116f9
jmp 0x4161a4
mov ecx, dword [esp + 0x48]
movzx edx, word [ebx + ecx - 2]
mov word [ebx + edi - 2], dx
jmp 0x416b5f
cmp dword [esp + 0x54], edx
mov dword [esp + 0x44], edi
ja 0x416081
movzx edx, byte [esi + 0xc]
and edx, 0xf
cmp dl, 0xc
jne case.0x415dcf.0
mov edx, dword [esi + 0x48]
cmp eax, dword [edx + 0xc]
jne case.0x415dcf.0
mov eax, dword [esp + 0x68]
cmp eax, dword [esi + 0x3c]
je 0x4160b3
jmp case.0x415dcf.0
mov dword [ebp + 0x178], 0
mov dword [esp], ebp
call fcn.00411334
cmp dword [ebp + 0xf0], 0
mov dword [ebp + 0x24], 9
jne 0x4161a4
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], ebp
add eax, 0x34
mov dword [esp], eax
call fcn.00411352
mov dword [ebp + 0xf0], 1
jmp 0x4161a4
xor eax, eax
cmp dword [ebp + 0x24], 1
mov dword [esp], ebp
sete al
mov esi, eax
add esi, 3
call fcn.00411334
cmp dword [ebp + 0xf0], 0
mov dword [ebp + 0x24], esi
jne 0x4161a4
jmp 0x41748f
call fcn.00411334
cmp dword [ebp + 0xf0], 0
mov dword [ebp + 0x24], 3
jne 0x4161a4
jmp 0x41748f
call fcn.00411334
mov dword [ebp + 0x24], 8
jmp 0x416670