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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
mov eax, dword [0x100db040]
xor eax, esp
mov dword [esp + 0x250], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [esp + 4], ecx
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
cmp eax, 0x65
jle 0x1007b846
add eax, 0xffffff9a
cmp eax, 0x87
ja case.default.0x1007b867
movzx eax, byte [eax + 0x1007bec0]
jmp dword [eax*4 + 0x1007be14]
mov eax, 0x9150df
mov ecx, ebx
call eax
movzx eax, byte [eax + 0x245]
push eax
jmp 0x1007bde7
push 0xfe
lea eax, [esp + 0x15c]
push 0
push eax
call fcn.100a23c0
xor eax, eax
mov dword [esp + 0x1c], 0
add esp, 0xc
cmp ax, word [ebx + 0x56]
jae 0x1007b15d
mov eax, 0x436d31
nop word [eax + eax]
push 0x10e0
mov ecx, 0x8499de0
call eax
mov edx, eax
mov esi, eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1007b120
lea edi, [esp + 0x158]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1007b131
mov ecx, edx
movzx eax, word [ebx + 0x56]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
inc edi
cmp edi, eax
mov dword [esp + 0x10], edi
mov eax, 0x436d31
jl 0x1007b110
lea eax, [esp + 0x158]
push eax
jmp 0x1007bde7
movzx eax, word [ebx + 0x56]
inc eax
push eax
mov eax, dword [ebx + 8]
shr eax, 3
and eax, 0xf
jmp 0x1007bab1
push dword [ebx + 4]
mov ecx, dword [0x8648178]
mov eax, 0x9e6c59
call eax
test eax, eax
je case.default.0x1007b867
mov esi, dword [eax + 0x34]
test esi, esi
je case.default.0x1007b867
push 0xfe
lea eax, [esp + 0x15c]
push 0
push eax
call fcn.100a23c0
mov eax, dword [ebx + 8]
add esp, 0xc
shr eax, 3
and eax, 0xf
push dword [esi + eax*4 + 0x108]
lea eax, [esi + 5]
push eax
lea eax, [esp + 0x160]
push eax
call fcn.10011730
add esp, 0xc
lea eax, [esp + 0x158]
push eax
lea eax, [esi + 0x121]
jmp 0x1007bab1
cmp word [ebx + 0x54], 0
jne case.default.0x1007b867
push dword [ebx + 4]
mov ecx, dword [0x8648178]
mov eax, 0x9e6c59
call eax
test eax, eax
je case.default.0x1007b867
push dword [eax + 0x14]
push dword [eax + 0x2c]
push dword [eax + 0x28]
push dword [eax + 0x24]
lea eax, [esp + 0x68]
push dword [ebp + 0xc]
push eax
call fcn.10011730
add esp, 0x18
jmp case.default.0x1007b867
push ebx
mov eax, 0x7d36b7
call eax
cmp al, 1
jne 0x1007b285
push ebx
mov edi, 0x7d36e3
call edi
movsx ecx, al
mov eax, dword [0x10643c08]
movzx eax, word [eax + 0xe]
cmp eax, ecx
jge case.default.0x1007b867
push ebx
call edi
movsx ecx, al
mov eax, dword [0x10643c08]
movzx eax, word [eax + 0xe]
sub ecx, eax
lea eax, [esp + 0x58]
push ecx
push dword [ebp + 0xc]
push eax
call fcn.10011730
mov dword [esi], 2
jmp 0x1007bdf4
xor edx, edx
cmp dword [0x102c4fa4], 1
jne 0x1007b297
movsx edx, word [0x8b158b8]
mov eax, dword [0x10643c08]
movzx ecx, word [ebx + 0x2c]
movzx eax, word [eax + 0xe]
mov dword [esp + 0xc], eax
add eax, edx
cmp eax, ecx
jge case.default.0x1007b867
sub ecx, dword [esp + 0xc]
lea eax, [esp + 0x58]
sub ecx, edx
push ecx
push dword [ebp + 0xc]
push eax
call fcn.1007cb60
mov dword [edi*4 + 0x8531dec], 2
mov dword [esi], 2
jmp 0x1007bdf4
push ebx
push dword [ebp + 0x24]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 0
push eax
mov eax, 0x7d26ac
call eax
mov eax, dword [0x10643c08]
movzx ecx, word [ebx + 0x22]
mov ebx, dword [esp + 0x10]
movsx edx, word [eax + 0x32]
movzx eax, word [eax + 0x18]
add edx, eax
mov eax, ecx
sub eax, ebx
cmp edx, eax
jge 0x1007b378
sub ecx, edx
lea eax, [esp + 0x58]
sub ecx, ebx
push ecx
push dword [ebp + 0xc]
push eax
call fcn.10011730
jmp 0x1007b2c6
push ebx
push dword [ebp + 0x24]
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0
push eax
mov eax, 0x7d26ac
call eax
mov eax, dword [0x10643c08]
movzx ecx, word [ebx + 0x24]
mov ebx, dword [esp + 0x10]
movsx edx, word [eax + 0x34]
movzx eax, word [eax + 0x1a]
add edx, eax
mov eax, ecx
sub eax, ebx
cmp edx, eax
jl 0x1007b320
test ebx, ebx
je case.default.0x1007b867
mov dword [edi*4 + 0x8531dec], 3
jmp case.default.0x1007b867
mov eax, dword [0x10643c08]
movsx ecx, word [eax + 0x36]
movzx eax, word [eax + 0x1c]
add ecx, eax
movzx eax, word [ebx + 0x28]
cmp ecx, eax
jge case.default.0x1007b867
sub eax, ecx
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x60]
push eax
call fcn.10011730
jmp 0x1007b2c6
mov eax, dword [0x10643c08]
movsx ecx, word [eax + 0x38]
movzx eax, word [eax + 0x1e]
add ecx, eax
movzx eax, word [ebx + 0x26]
jmp 0x1007b3a3
mov eax, dword [0x10643c08]
movzx ecx, word [eax + 0x3e]
movzx eax, word [eax + 0x20]
add ecx, eax
movzx eax, word [ebx + 0x2a]
cmp ecx, eax
jae case.default.0x1007b867
sub eax, ecx
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x60]
push eax
call fcn.10011730
jmp 0x1007b2c6
mov eax, dword [ebp + 0x24]
add eax, 0x20
push eax
jmp 0x1007bde7
mov esi, dword [ebx + 4]
mov ecx, 0x1023e368
push esi
call fcn.1005e3b0
cmp eax, 1
jne 0x1007b460
cmp esi, 0x190a
jne 0x1007b438
mov eax, dword [ebp + 0x24]
add eax, 0x47
push eax
jmp 0x1007bde7
cmp esi, 0x190b
jne 0x1007b44c
mov eax, dword [ebp + 0x24]
add eax, 0x3c
push eax
jmp 0x1007bde7
push dword [ebp + 0x24]
mov ecx, 0x1023e368
push esi
call fcn.1005e4e0
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
lea eax, [eax*2 + 0x27]
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
lea eax, [eax*2 + 0x14]
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
lea eax, [eax*2 + 0xc]
push eax
jmp 0x1007bde7
mov esi, dword [ebx + 4]
mov ecx, 0x1023e368
push esi
call fcn.1005e3b0
cmp eax, 1
jne 0x1007b4e8
xor ecx, ecx
mov eax, 0x1023e36c
nop word [eax + eax]
cmp ecx, 0x63
ja 0x1007b4c2
cmp dword [eax], ecx
jne 0x1007b4c2
test eax, eax
je 0x1007b4c2
cmp dword [eax + 4], esi
je 0x1007b4d5
add eax, 0x78
inc ecx
cmp eax, 0x1024124c
jl 0x1007b4b0
xor ecx, ecx
push ecx
jmp 0x1007bde7
mov ecx, dword [eax + 0x18]
imul ecx, dword [ebp + 0x24]
sub ecx, dword [eax + 0x14]
add ecx, 0x64
push ecx
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
lea ecx, [eax*2 + 0x19]
push ecx
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
lea eax, [eax*2 + 0x18]
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
lea eax, [eax*2 + 0xa]
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
add eax, 0xa
push eax
jmp 0x1007bde7
push ebx
mov eax, 0x4e6c8c
call eax
add esp, 4
movsx esi, al
test al, al
jle case.default.0x1007b867
push 0
push dword [ebx + 4]
mov eax, 0x4e7320
call eax
add esp, 8
cmp eax, 0xffffffff
je case.default.0x1007b867
push dword [ebx + 4]
mov eax, 0x4e7060
call eax
add esp, 4
push eax
push esi
push dword [ebp + 0xc]
lea eax, [esp + 0x64]
push eax
call fcn.10011730
add esp, 0x10
jmp case.default.0x1007b867
mov ecx, dword [ebx + 4]
lea eax, [ecx - 0x183c]
cmp eax, 5
ja 0x1007b58c
lea edx, [ecx - 0x183b]
jmp 0x1007b59b
lea eax, [ecx - 0x1864]
mov ecx, 6
cdq
idiv ecx
inc edx
push dword [ebp + 0x24]
mov eax, 0x91ef27
mov ecx, 0x9c17f58
push edx
call eax
cmp eax, 0xff
je case.default.0x1007b867
push eax
push 0
lea eax, [esp + 0x160]
mov ecx, 0x9c17f58
push eax
mov eax, 0x7d38a5
call eax
mov eax, 0x4073d0
lea ecx, [esp + 0x158]
call eax
push eax
jmp 0x1007bde7
mov ecx, dword [ebx + 4]
lea eax, [ecx - 0x183c]
cmp eax, 5
ja 0x1007b5f7
lea edx, [ecx - 0x183b]
jmp 0x1007b606
lea eax, [ecx - 0x1864]
mov ecx, 6
cdq
idiv ecx
inc edx
push dword [ebp + 0x24]
mov eax, 0x91ef27
mov ecx, 0x9c17f58
push edx
call eax
cmp eax, 0xff
je case.default.0x1007b867
push ebx
push eax
push 0
lea eax, [esp + 0x164]
mov ecx, 0x9c17f58
push eax
mov eax, 0x7d3923
call eax
mov eax, 0x4073d0
lea ecx, [esp + 0x158]
call eax
push eax
jmp 0x1007bde7
mov eax, dword [0x10643c08]
movzx eax, byte [eax + 0xb]
push eax
mov eax, 0x591b71
call eax
add esp, 4
test al, al
mov eax, dword [0x10643c08]
movzx ecx, word [eax + 0xe]
je 0x1007b677
movsx eax, word [0x8b158b8]
add ecx, eax
push ecx
jmp 0x1007bde7
push dword [ebx + 4]
mov ecx, dword [0x11b9ff0]
mov eax, 0x59c1a2
call eax
movzx eax, word [eax + 2]
push eax
jmp 0x1007bde7
push dword [ebx + 4]
mov ecx, dword [0x11b9ff0]
mov eax, 0x59c1a2
call eax
movzx eax, word [eax + 6]
push eax
jmp 0x1007bde7
push dword [ebx + 4]
mov ecx, dword [0x11b9ff0]
mov eax, 0x59c1a2
call eax
push 1
lea ecx, [esp + 0x15c]
push ecx
push dword [eax + 0xc]
mov eax, 0x9dbba2
call eax
mov eax, 0x4073d0
lea ecx, [esp + 0x158]
call eax
push eax
jmp 0x1007bde7
cmp byte [ebx + 0x1e], 0xfe
jne case.default.0x1007b867
push dword [ebp + 0xc]
lea eax, [esp + 0x5c]
push eax
call fcn.10011730
add esp, 8
jmp case.default.0x1007b867
movzx eax, byte [ebx + 0x1e]
mov ecx, 5
sub ecx, eax
push ecx
jmp 0x1007bde7
mov ecx, dword [0x11fdce0]
mov eax, 0x52a9f6
call eax
cmp al, 1
jne case.default.0x1007b867
mov ecx, dword [0x11fdce0]
mov eax, 0x7d3a22
call eax
mov ecx, dword [0x11fdce0]
push eax
mov eax, 0x7d3a13
call eax
mov ecx, dword [0x11fdce0]
push eax
mov eax, 0x7d3a04
call eax
push eax
mov eax, 0x5c8392
call eax
add esp, 4
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x68]
push eax
call fcn.10011730
add esp, 0x14
jmp case.default.0x1007b867
mov eax, dword [0x10643c08]
movzx eax, word [eax + 0xe]
shr eax, 1
push eax
jmp 0x1007bab1
mov eax, dword [0x10643c08]
movzx ecx, word [eax + 0xe]
mov eax, 0x51eb851f
mul ecx
mov eax, 0xaaaaaaab
shr edx, 3
push edx
mul ecx
lea eax, [esp + 0x5c]
shr edx, 3
push edx
push dword [ebp + 0xc]
push eax
call fcn.10011730
add esp, 0x10
jmp case.default.0x1007b867
movsx eax, byte [ebx + 0x5e]
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
add eax, 0x15
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
add eax, 0x21
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
add eax, 0x23
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
lea eax, [eax*2 + 0xd]
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
lea eax, [eax*2 + 0x1e]
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
lea eax, [eax*2 + 0x1d]
push eax
jmp 0x1007bde7
push 0x47
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
add eax, 0x3c
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
add eax, 0x50
push eax
jmp 0x1007bde7
mov eax, dword [ebp + 0x24]
add eax, 0x4b
push eax
jmp 0x1007bde7
jne 0x1007b85e
mov eax, 0x9150df
mov ecx, ebx
call eax
movzx eax, byte [eax + 0x244]
push eax
jmp 0x1007bde7
cmp eax, 0x11
ja case.default.0x1007b867
jmp dword [eax*4 + 0x1007bf48]
movzx eax, word [ebx + 0x56]
xor edi, edi
mov dword [esp + 0x18], edi
cmp dword [ebp + 0x24], eax
jl 0x1007b8b0
mov eax, 0x59c0f5
lea ecx, [esp + 0x20]
call eax
mov ecx, dword [0x11b9fec]
lea eax, [esp + 0x20]
push 1
push ebx
push eax
mov eax, 0x4a337c
call eax
cmp byte [esp + 0x40], 0
je 0x1007b8b0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], eax
mov ecx, ebx
push 0x2b
mov eax, 0x519e1b
call eax
test al, al
je 0x1007b911
mov eax, dword [esp + 0x10]
push dword [eax + 0x11bb68]
mov eax, 0x905968
push 0
push ebx
call eax
mov edx, 0x908a51
mov ecx, eax
call edx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x11bb68]
mov eax, 0x905968
push 1
push ebx
call eax
mov ecx, eax
mov eax, 0x908a51
call eax
mov dword [esp + 0xc], eax
jmp 0x1007b913
xor eax, eax
movzx edx, word [ebx + 0x12]
add edx, eax
mov eax, dword [esp + 0x18]
add eax, edx
mov dword [esp + 0x18], eax
movzx eax, word [ebx + 0x10]
add eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add eax, edi
cmp eax, ecx
jl 0x1007b938
lea eax, [edx + edi]
push ecx
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x64]
push eax
call fcn.10011730
movzx eax, word [ebx + 0x10]
add esp, 0x10
mov ecx, dword [esp + 0x1c]
add eax, ecx
add eax, edi
test eax, eax
jle case.default.0x1007b867
test edi, edi
jne 0x1007b9b8
test ecx, ecx
jne 0x1007ba93
cmp dword [esp + 0xc], edi
jne 0x1007ba93
push 1
mov eax, 0x9173a1
mov ecx, ebx
call eax
test al, al
jne 0x1007ba93
push 6
mov eax, 0x4f7201
mov ecx, ebx
call eax
test al, al
jne 0x1007ba93
push 6
mov eax, 0x519dd9
mov ecx, ebx
call eax
test al, al
je case.default.0x1007b867
mov dword [esi], 1
jmp case.default.0x1007b867
mov dword [esi], 3
jmp case.default.0x1007b867
movzx eax, byte [ebx + 0x1e]
push eax
jmp 0x1007bde7
movzx eax, word [ebx + 0x56]
xor edi, edi
cmp dword [ebp + 0x24], eax
jl 0x1007ba02
mov eax, 0x59c0f5
lea ecx, [esp + 0x20]
call eax
mov ecx, dword [0x11b9fec]
lea eax, [esp + 0x20]
push 2
push ebx
push eax
mov eax, 0x4a337c
call eax
cmp byte [esp + 0x54], 0
cmovne edi, dword [esp + 0x44]
xor eax, eax
mov ecx, ebx
mov dword [esp + 0xc], eax
mov eax, 0x519e1b
push 0x2b
call eax
test al, al
je 0x1007ba3a
mov eax, dword [esp + 0x10]
push dword [eax + 0x11bb68]
mov eax, 0x905968
push 2
push ebx
call eax
mov edx, 0x908a51
mov ecx, eax
call edx
mov dword [esp + 0xc], eax
jmp 0x1007ba3c
xor eax, eax
movzx ecx, word [ebx + 0x16]
add ecx, eax
lea eax, [esp + 0x58]
add ecx, edi
push ecx
push dword [ebp + 0xc]
push eax
call fcn.10011730
add esp, 0xc
test edi, edi
jne 0x1007b9b8
cmp dword [esp + 0xc], edi
jne 0x1007ba93
push 3
mov eax, 0x519dd9
mov ecx, ebx
call eax
test al, al
je case.default.0x1007b867
push 0xf
mov ecx, ebx
mov eax, 0x519e1b
call eax
test al, al
jne case.default.0x1007b867
test byte [ebx + 0x20], 0x3f
jbe case.default.0x1007b867
mov dword [esi], 1
jmp case.default.0x1007b867
movzx eax, word [ebx + 0x18]
push eax
jmp 0x1007bde7
movzx eax, byte [ebx + 0x1f]
push eax
movzx eax, byte [ebx + 0x1e]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x64]
push eax
call fcn.10011730
add esp, 0x10
jmp case.default.0x1007b867
push ebx
mov eax, 0x7d36b7
call eax
cmp al, 1
jne 0x1007bae4
push ebx
mov eax, 0x7d36e3
call eax
movsx eax, al
push eax
jmp 0x1007bde7
xor edi, edi
cmp dword [0x102c4fa4], 1
jne 0x1007baf6
movsx edi, word [0x8b158b8]
movzx eax, word [ebx + 0x2c]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x60]
push eax
call fcn.10011730
mov eax, dword [0x10643c08]
add esp, 0xc
movzx ecx, word [eax + 0xe]
movzx eax, word [ebx + 0x2c]
add ecx, edi
cmp ecx, eax
jge case.default.0x1007b867
mov dword [esi], 2
jmp case.default.0x1007b867
push ebx
push dword [ebp + 0x24]
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
mov eax, 0x7d26ac
call eax
movzx eax, word [ebx + 0x22]
sub eax, dword [esp + 0xc]
push eax
jmp 0x1007bde7
push ebx
push dword [ebp + 0x24]
lea eax, [esp + 0x14]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 0
push eax
mov eax, 0x7d26ac
call eax
movzx eax, word [ebx + 0x24]
sub eax, dword [esp + 0xc]
push eax
jmp 0x1007bde7
movzx eax, word [ebx + 0x28]
push eax
jmp 0x1007bde7
movzx eax, word [ebx + 0x26]
push eax
jmp 0x1007bde7
movzx eax, word [ebx + 0x2a]
push eax
jmp 0x1007bde7
push dword [ebx + 4]
call fcn.10030600
mov esi, eax
test esi, esi
je 0x1007bccb
cmp word [esi + 0xc], 0
jbe 0x1007bccb
mov eax, 0x9150df
mov ecx, ebx
call eax
mov edi, dword [ebx + 8]
mov edx, 9
movsx ecx, byte [ebx + 0x20]
shr edi, 3
and ecx, 0x3f
movzx eax, word [eax + 0x231]
and edi, 0xf
mov dword [esp + 0x18], eax
add eax, 0x1e
cmp edi, edx
mov dword [esp + 0x10], eax
movsx eax, byte [ebx + 0x21]
cmovbe edx, edi
mov dword [esp + 0xc], ecx
mov byte [esp + 0x17], 0
mov dword [esp + 0x1c], edx
and eax, reloc.WS2_32.dll_closesocket
jns 0x1007bc20
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 1
je 0x1007bc2a
cmp eax, 2
jne 0x1007bc37
mov dword [esp + 0xc], 1
mov byte [esp + 0x17], 1
mov ecx, dword [ebx + 4]
xor eax, eax
cmp ecx, 0x406
je 0x1007bc62
cmp ecx, 0x806
je 0x1007bc5b
cmp ecx, 0xa07
jne 0x1007bc67
mov eax, 0x19
jmp 0x1007bc67
mov eax, 0x1e
jmp 0x1007bc67
mov eax, 0xf
cmp dword [esp + 0xc], 0
movzx ecx, word [esi + 0xc]
jbe 0x1007bc88
test edx, edx
je 0x1007bc88
test eax, eax
jne 0x1007bc86
imul eax, ecx, 0x19
xor edx, edx
div dword [esp + 0x18]
add ecx, 5
add ecx, eax
cmp byte [esp + 0x17], 0
je 0x1007bca0
mov eax, 0x88888889
mul dword [esp + 0x10]
shr edx, 5
add edx, 2
add ecx, edx
push edi
call fcn.10030660
mov edx, dword [esp + 0x1c]
push 6
lea esi, [ecx + edx*2]
mov ecx, ebx
add esi, edx
add esi, eax
mov eax, 0x519e1b
call eax
test al, al
jne 0x1007bcc3
lea esi, [esi + edi*2]
test esi, esi
jne 0x1007bde6
movzx esi, byte [ebx + 0x1a]
jmp 0x1007bde6
mov ecx, dword [ebx + 4]
mov eax, ecx
movzx esi, word [ebx + 0x10]
and eax, 0xfffffff0
cmp eax, 0xf0
jne 0x1007bced
movzx eax, word [ebx + 0x12]
jmp 0x1007bd26
push ecx
mov eax, 0x594917
call eax
movsx eax, al
add esp, 4
lea ecx, [eax + eax*2]
mov eax, dword [0x8499dc4]
shl ecx, 5
movzx esi, word [eax + ecx + 0x22]
movd xmm1, esi
cvtdq2pd xmm1, xmm1
movaps xmm0, xmm1
mulsd xmm0, qword [0x100d1888]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
push eax
push esi
push dword [ebp + 0xc]
lea eax, [esp + 0x64]
push eax
call fcn.10011730
add esp, 0x10
test esi, esi
je case.default.0x1007b867
test byte [ebx + 0x20], 0x3f
jbe case.default.0x1007b867
mov dword [edi*4 + 0x8531dec], 1
jmp case.default.0x1007b867
cmp dword [ecx + 0x11bb64], 0xffffffff
jne 0x1007b6f3
cmp dword [ebp + 0x24], 5
jl case.default.0x1007b867
push dword [ebp + 0xc]
lea eax, [esp + 0x5c]
push eax
call fcn.10011730
add esp, 8
jmp case.default.0x1007b867
mov eax, dword [ebp + 0x24]
inc eax
push eax
jmp 0x1007bde7
movzx eax, byte [ebx + 0x14]
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x60]
push eax
call fcn.10011730
add esp, 0xc
jmp 0x1007bd40
movzx eax, byte [ebx + 0x1e]
lea eax, [eax + eax*4]
add eax, eax
push eax
jmp 0x1007bde7
cmp dword [ebx + 4], 0x1aae
mov eax, 0x9173a1
push 1
mov ecx, ebx
jne 0x1007bdd9
call eax
cmp al, 1
jne 0x1007bdca
mov esi, dword [ebp + 0x24]
jmp 0x1007bde3
mov eax, dword [ebp + 0x24]
mov esi, 1
test eax, eax
cmovne esi, eax
jmp 0x1007bde6
mov esi, dword [ebp + 0x24]
inc esi
call eax
cmp al, 1
jne 0x1007bde6
add esi, 2
push esi
push dword [ebp + 0xc]
lea eax, [esp + 0x60]
push eax
call fcn.10011730
add esp, 0xc
mov ecx, dword [esp + 0x25c]
lea eax, [esp + 0x58]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100a0150
mov esp, ebp
pop ebp
ret 0x24