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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x1677b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd6c
push esi
xor esi, esi
mov eax, 1
push edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], 0x280
mov dword [esp + 0x48], 0x1e0
mov dword [esp + 0x2c], esi
mov dword [esp + 0x268], esi
mov dword [esp + 0x278], esi
mov dword [esp + 0x260], esi
mov dword [esp + 0x390], esi
mov dword [esp + 0x27c], esi
mov dword [esp + 0x280], esi
mov dword [esp + 0x264], esi
mov dword [esp + 0x274], 0xffffffff
mov dword [esp + 0x26c], esi
mov dword [esp + 0x270], esi
lea eax, [esp + 0x188]
mov dword [esp + 0xd7c], esi
call fcn.0006ae30
mov byte [esp + 0xd7c], 1
mov dword [esp + 0x34], esi
mov byte [esp + 0x17c], 0
mov byte [esp + 0x94], 0
mov byte [esp + 0x470], 0
xor edi, edi
push 0x208
call fcn.00159c81
add esp, 4
mov dword [esp + edi*4 + 0x8c], eax
inc edi
cmp edi, 2
jl 0xb05f5
cmp dword [ebx + 0x6b10], esi
je 0xb061f
cmp dword [0x336dc8], esi
jne 0xb062b
cmp dword [0x336dc4], esi
je 0xb19e2
push 0x206f34
push 0x20b0a0
mov dword [esp + 0x28], esi
call fcn.001599c3
add esp, 8
cmp eax, esi
mov dword [esp + 8], eax
je 0xb06c0
push 2
mov edi, eax
push esi
push edi
call fcn.0015a71a
push edi
call fcn.0015a64a
push esi
push esi
push edi
mov dword [esp + 0x28], eax
call fcn.0015a71a
mov edi, dword [esp + 0x28]
add edi, 5
push edi
call fcn.00159c81
mov edx, eax
mov ecx, edi
mov dword [esp + 0x40], edx
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push edi
push eax
push 1
push ecx
call fcn.0015a49c
push edi
call fcn.00159b85
mov edx, dword [esp + 0x54]
push edx
call fcn.000769c0
add esp, 0x38
mov dword [esp + 0x30], 1
jmp 0xb06c4
mov dword [esp + 0x14], esi
push 0x2139c8
push ebx
call fcn.000737c0
test eax, eax
jne 0xb0708
push 0x2139bc
push ebx
call fcn.000737c0
test eax, eax
jne 0xb0704
cmp dword [esp + 0x14], esi
jne 0xb0704
mov eax, dword [ebx]
push esi
lea ecx, [ebx + 0x61e0]
push ecx
push 0x20b06c
mov ecx, ebx
call dword [eax + 0x1b0]
jmp 0xb19e2
mov dword [esp + 0x1c], esi
lea eax, [ebx + 0xcf4]
push eax
lea ecx, [ebx + 0xd58]
push ecx
lea edx, [esp + 0xb8]
push 0x213c3c
push edx
call fcn.0015990f
lea eax, [esp + 0xc0]
push 0x206f34
push eax
call fcn.001599c3
mov edi, eax
add esp, 0x18
cmp edi, esi
jne 0xb077d
lea ecx, [esp + 0xb0]
push 0x213c20
push ecx
call fcn.0015990f
lea edx, [esp + 0xb8]
push 0x206f34
push edx
call fcn.001599c3
mov edi, eax
add esp, 0x10
cmp edi, esi
jne 0xb077d
mov dword [esp + 0x28], 1
jmp 0xb0866
lea eax, [esp + 0x34]
push eax
push esi
mov eax, dword [ebx + 0x48]
lea ecx, [esp + 0x60]
push ecx
push esi
push 1
push 1
push 1
push 0x11
push esi
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
lea edx, [esp + 0xe0]
push edx
push eax
call fcn.0017c358
test eax, eax
jne 0xb080f
mov ecx, dword [esp + 0x5c]
fild dword [esp + 0x5c]
test ecx, ecx
jge 0xb07bf
fadd dword [0x218ed8]
mov edx, dword [esp + 0x58]
sub esp, 8
test edx, edx
fstp dword [esp + 4]
fild dword [esp + 0x60]
jge 0xb07d8
fadd dword [0x218ed8]
mov eax, dword [ebx + 0x48]
fstp dword [esp]
push 0
push eax
mov eax, dword [esp + 0x44]
lea esi, [esp + 0x270]
call fcn.00070550
test eax, eax
jge 0xb08c3
mov eax, dword [esp + 0x34]
test eax, eax
je 0xb080f
push eax
call fcn.0016bf10
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 1
push edi
call fcn.00159b85
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0xb0866
cmp dword [esp + 0x50], 0x280
jg 0xb0866
cmp dword [esp + 0x48], 0x1e0
jg 0xb0866
mov ecx, dword [ebx + 0x11e8]
mov edx, dword [ebx + 0x11e0]
mov eax, dword [ebx]
push ecx
push edx
mov edx, dword [ebx + 0x3134]
lea ecx, [esp + 0x268]
push ecx
mov ecx, dword [edx + 0x64]
push ecx
mov ecx, ebx
call dword [eax + 0xe8]
mov edx, dword [ebx + 0x3134]
mov eax, dword [0x336dc4]
test eax, eax
lea esi, [ebx + 0x24b4]
mov ecx, 0x190
lea edi, [esp + 0x730]
mov dword [esp + 0x44], edx
mov dword [ebx + 0x3134], esi
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0xb0]
je 0xb08e0
mov eax, dword [0x336dbc]
mov ecx, dword [ebx + 0x6914]
imul eax, eax, 0x294
lea eax, [ecx + eax + 0x190]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0xb08b4
jmp 0xb0949
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x48], edx
jmp 0xb0817
lea eax, [ebx + 0x6b3c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0xb08e8
mov edx, dword [0x336dc8]
mov eax, dword [ebx + 0x6910]
imul edx, edx, 0x25a
add edx, eax
lea eax, [edx + 0x190]
mov esi, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xb0910
lea edi, [esp + 0xb0]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0xb0921
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [edx + 0x258]
test al, al
je 0xb0949
mov dword [esp + 0x24], 1
xor eax, eax
jmp 0xb0950
mov cl, byte [esp + eax + 0xb0]
mov byte [esp + eax + 0x668], cl
inc eax
test cl, cl
jne 0xb0950
lea ecx, [esp + 0x668]
push ecx
call fcn.0015ab4e
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
jne 0xb0996
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0xb8]
push ecx
mov edi, ebx
call fcn.000bd810
jmp 0xb09d9
lea edx, [esp + 0xb0]
push 0x2e
push edx
call fcn.0015ac80
add esp, 8
test eax, eax
je 0xb09af
mov byte [eax], 0
lea eax, [esp + 0xb0]
push 0x5c
push eax
call fcn.0015ac80
add esp, 8
test eax, eax
je 0xb09d9
push 0x1a
inc eax
push eax
lea ecx, [esp + 0x9c]
push ecx
call fcn.00159fe0
add esp, 0xc
lea edx, [esp + 0xb0]
push 0x5c
push edx
call fcn.0015ac80
add esp, 8
test eax, eax
je 0xb0a10
inc eax
lea edx, [esp + 0xb0]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0xb0a00
lea ebx, [ebx]
mov eax, dword [esp + 0x30]
test eax, eax
jne 0xb0a60
lea eax, [esp + 0xb0]
push 0x2e
push eax
call fcn.0015ac80
mov esi, eax
add esp, 8
test esi, esi
je 0xb0a60
lea edi, [esi + 1]
mov edx, edi
lea eax, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0xb0a38
sub edx, eax
mov dword [esp + 0x18], edx
je 0xb0a60
mov ecx, edi
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0xb0a50
sub ecx, edi
cmp ecx, 3
ja 0xb0a60
mov byte [esi], dl
mov eax, dword [esp + 0x24]
test eax, eax
jne 0xb0aa2
mov eax, dword [ebx + 0xcd0]
cmp eax, 0xffffffff
jne 0xb0a8c
push 0x1a
lea ecx, [esp + 0xb4]
push ecx
lea edx, [esp + 0x9c]
push edx
call fcn.00159fe0
jmp 0xb0a9f
push eax
lea eax, [esp + 0x98]
push 0x20c91c
push eax
call fcn.0015990f
add esp, 0xc
lea edi, [esp + 0xb0]
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0xb0ab0
mov ecx, dword [0x2139b0]
mov dl, byte [0x2139b4]
mov dword [edi], ecx
mov byte [edi + 4], dl
mov edi, dword [esp + 0x1c]
test edi, edi
je 0xb0ae8
lea eax, [esp + 0xb0]
push eax
push 0x20b048
lea ecx, [esp + 0x478]
push ecx
jmp 0xb0afd
lea edx, [esp + 0xb0]
push edx
push 0x20b038
lea eax, [esp + 0x478]
push eax
call fcn.0015990f
add esp, 0xc
lea ecx, [esp + 0x470]
push 0x216cac
push ecx
call fcn.001599c3
xor esi, esi
add esp, 8
cmp eax, esi
mov dword [esp + 8], eax
jne 0xb0b67
cmp edi, esi
je 0xb0ca3
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x474]
push 0x20b038
push eax
call fcn.0015990f
lea ecx, [esp + 0x47c]
push 0x216cac
push ecx
call fcn.001599c3
add esp, 0x14
cmp eax, esi
mov dword [esp + 8], eax
je 0xb0ca3
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x470]
mov byte [esp + eax + 0xb0], cl
inc eax
test cl, cl
jne 0xb0b70
mov edx, dword [ebx + 0x3134]
mov dword [edx + 0x74], 2
mov eax, dword [ebx + 0x3134]
mov dword [eax + 0x70], esi
mov eax, dword [0x2f5b24]
mov ecx, dword [ebx + 0x3134]
imul eax, eax, 0x2c
mov dword [ecx + 0x9c], 0x13
mov edx, dword [eax + 0x28bd9c]
test edx, edx
fild dword [eax + 0x28bd9c]
mov edi, dword [ebx + 0x3134]
jge 0xb0bcd
fadd dword [0x218ed8]
fld dword [eax + 0x28bdac]
fadd st(0), st(0)
fimul dword [edi + 0x6c]
fsubp st(1)
call fcn.0015c5d8
mov dword [edi + 0x80], eax
cmp dword [esp + 0x38], esi
je 0xb0d72
push 0x20b00c
push ebx
call fcn.000737c0
test eax, eax
je 0xb0d68
mov eax, dword [0x2f5b24]
mov esi, dword [ebx + 0x3134]
imul eax, eax, 0x2c
fld dword [eax + 0x28bdac]
fmul dword [0x218f0c]
fimul dword [esi + 0x6c]
fsubr dword [0x218fa4]
call fcn.0015c5d8
mov dword [esi + 0x80], eax
mov edx, dword [ebx + 0x68d8]
test edx, edx
lea eax, [ebx + 0x6820]
mov ecx, 0x35
mov esi, eax
lea edi, [esp + 0x188]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x3134]
mov ecx, dword [ecx + 0x9c]
je 0xb0d1c
mov eax, dword [ebx + 0x68c8]
test eax, eax
lea edi, [ebx + 0x6820]
je 0xb0d1c
test ecx, ecx
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
jge 0xb0c86
fadd dword [0x218ed8]
fmul dword [edi + 0xc4]
call fcn.0015c5d8
mov ecx, dword [edi + 0xb4]
push eax
push ecx
call fcn.000d9ccb
jmp 0xb0d2f
lea edx, [esp + 0xb0]
push 0x2e
push edx
call fcn.0015ac80
add esp, 8
cmp eax, esi
je 0xb0cd0
lea ecx, [eax + 1]
lea edi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0xb0cc0
sub ecx, edi
cmp ecx, 3
ja 0xb0cd0
mov byte [eax], dl
cmp dword [ebx + 0xcd0], 0xffffffff
lea eax, [esp + 0xb0]
je 0xb0ce7
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x3ac]
push 0x20b020
push eax
call fcn.0015990f
mov edx, dword [ebx]
add esp, 0xc
push esi
lea eax, [ebx + 0x61e0]
push eax
lea ecx, [esp + 0x3b0]
push ecx
mov ecx, ebx
call dword [edx + 0x1b0]
jmp 0xb1959
cmp ecx, 0x10
sbb edx, edx
neg edx
lea edi, [ebx + 0x6820]
mov dword [edi + 0xbc], edx
mov eax, dword [0x2f5b24]
imul eax, eax, 0x2c
mov ecx, dword [eax + 0x28bdb0]
mov edx, dword [eax + 0x28bdac]
mov eax, dword [ebx + 0x48]
push ecx
push edx
push 0x20f024
call fcn.0006af20
mov dword [ebx + 0x68f0], 8
mov dword [ebx + 0x68e8], 1
jmp 0xb0dcb
mov dword [esp + 0x54], 1
jmp 0xb0dcb
cmp dword [ebx + 0x68d8], esi
mov eax, dword [ebx + 0x3134]
mov eax, dword [eax + 0x9c]
je 0xb0dba
cmp dword [ebx + 0x68c8], esi
je 0xb0dba
test eax, eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0xb0da0
fadd dword [0x218ed8]
fmul dword [ebx + 0x68e4]
call fcn.0015c5d8
mov ecx, dword [ebx + 0x68d4]
push eax
push ecx
call fcn.000d9ccb
jmp 0xb0dc7
cmp eax, 0x10
sbb ecx, ecx
neg ecx
mov dword [ebx + 0x68dc], ecx
mov dword [esp + 0x38], esi
mov edi, dword [esp + 8]
push 2
push 0
push edi
call fcn.0015a71a
push edi
call fcn.0015a64a
push 0
mov esi, eax
push 0
push edi
mov dword [esp + 0x28], esi
call fcn.0015a71a
lea edi, [esi + 5]
push edi
call fcn.00159c81
mov edx, eax
mov ecx, edi
mov dword [esp + 0x40], edx
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
push edi
push esi
push 1
push eax
call fcn.0015a49c
push edi
call fcn.00159b85
mov eax, dword [esp + 0x54]
mov byte [esi + eax], 0xa
mov byte [esi + eax + 1], 0
add esp, 0x34
xor eax, eax
test esi, esi
jle 0xb0e53
mov ecx, dword [esp + 0x20]
cmp byte [eax + ecx], 0xd
jne 0xb0e4e
mov byte [eax + ecx], 0x20
inc eax
cmp eax, esi
jl 0xb0e44
mov ecx, dword [esp + 0x20]
push 0x20b19c
push ecx
call fcn.0015a763
lea edx, [esp + 0x9c]
push edx
push eax
mov eax, dword [ebx + 0x313c]
push 0x20affc
push eax
mov dword [esp + 0x3c], 2
call fcn.00159777
mov ecx, dword [ebx + 0x3140]
push 0x218cf4
push ecx
call fcn.00159777
push 0x20b19c
push 0
call fcn.0015a763
mov esi, eax
add esp, 0x28
test esi, esi
mov dword [esp + 0x1c], esi
je 0xb18dd
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xb0eb5
sub eax, edx
mov byte [eax + esi], 0xa
cmp byte [esi], 0
mov dword [esp + 0x30], esi
je 0xb12ee
nop
mov edx, dword [ebx + 0x3144]
xor eax, eax
push 0x218cf4
mov ecx, 0x32
lea edi, [esp + 0x3ac]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
rep stosd dword es:[edi], eax
call fcn.00159777
mov edi, dword [esp + 0x10]
add esp, 8
mov eax, dword [ebx + 0x68d8]
test eax, eax
mov ecx, dword [ebx + 0x3144]
je 0xb0f54
mov eax, dword [ebx + 0x68c8]
test eax, eax
je 0xb0f54
mov eax, dword [ebx + 0x68e8]
test eax, eax
je 0xb0f36
push ecx
call fcn.0015ab71
add esp, 4
imul eax, dword [ebx + 0x68f0]
jmp 0xb0f56
mov eax, dword [ebx + 0x68d4]
lea edx, [esp + 0x74]
push edx
push 0xffffffffffffffff
push ecx
push eax
call fcn.000d9cfd
test eax, eax
jne 0xb0f54
mov eax, dword [esp + 0x74]
jmp 0xb0f56
xor eax, eax
test eax, eax
mov ecx, dword [ebx + 0x3134]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0xb0f6e
fadd dword [0x218ed8]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x80]
shl eax, 1
sub ecx, eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fcompp
fnstsw ax
test ah, 0x41
jne 0xb11bc
mov al, byte [esi]
test al, al
je 0xb1143
cmp al, 0xa
je 0xb1143
cmp edi, 0x103
jg 0xb11bc
cmp al, 0x20
jne 0xb0fc3
mov byte [esp + edi + 0x3a8], al
inc edi
inc esi
mov dword [esp + 0x14], 1
mov eax, dword [0x20aff0]
mov edx, dword [0x20afec]
mov ecx, dword [0x20aff4]
mov dword [esp + 0x80], eax
mov al, byte [0x20affa]
mov dword [esp + 0x7c], edx
mov dx, word [0x20aff8]
mov byte [esp + 0x8a], al
mov eax, dword [0x20afe4]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x20afdc]
mov word [esp + 0x88], dx
mov edx, dword [0x20afe0]
mov dword [esp + 0x60], eax
cmp byte [esi], 0
mov dword [esp + 0x58], ecx
mov cx, word [0x20afe8]
mov dword [esp + 0x5c], edx
mov dl, byte [0x20afea]
mov word [esp + 0x64], cx
mov byte [esp + 0x66], dl
je 0xb1080
lea esp, [esp]
mov al, byte [esi]
cmp al, 0xa
je 0xb1080
cmp al, 0x20
je 0xb1080
movsx eax, al
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.0015aa90
add esp, 8
test eax, eax
je 0xb106e
lea edx, [esp + 0x7c]
sub eax, edx
mov al, byte [esp + eax + 0x58]
mov byte [esi], al
mov cl, byte [esi]
mov byte [esp + edi + 0x3a8], cl
mov al, byte [esi + 1]
inc edi
inc esi
test al, al
jne 0xb1040
mov eax, dword [ebx + 0x3144]
lea edx, [esp + 0x3a8]
push edx
push 0x2084cc
push eax
call fcn.00159777
mov al, byte [esi]
add esp, 0xc
cmp al, 0x20
jne 0xb0f00
mov eax, dword [ebx + 0x68d8]
test eax, eax
mov ecx, dword [ebx + 0x3144]
je 0xb10fa
mov eax, dword [ebx + 0x68c8]
test eax, eax
je 0xb10fa
mov eax, dword [ebx + 0x68e8]
test eax, eax
je 0xb10dc
push ecx
call fcn.0015ab71
add esp, 4
imul eax, dword [ebx + 0x68f0]
jmp 0xb10fc
mov eax, dword [ebx + 0x68d4]
lea edx, [esp + 0x6c]
push edx
push 0xffffffffffffffff
push ecx
push eax
call fcn.000d9cfd
test eax, eax
jne 0xb10fa
mov eax, dword [esp + 0x6c]
jmp 0xb10fc
xor eax, eax
test eax, eax
mov ecx, dword [ebx + 0x3134]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0xb1114
fadd dword [0x218ed8]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x80]
shl eax, 1
sub ecx, eax
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
fcompp
fnstsw ax
test ah, 0x41
jne 0xb0f00
mov dword [esp + 0x14], 1
jmp 0xb0f00
inc esi
mov eax, dword [esp + 0x30]
dec esi
dec edi
cmp esi, eax
mov dword [esp + 8], edi
jb 0xb1162
cmp byte [esi], 0
je 0xb1162
mov byte [esi], 0xa
mov byte [esp + edi + 0x3a8], 0
mov eax, dword [ebx + 0x3144]
lea edx, [esp + 0x3a8]
push edx
push 0x2084cc
push eax
call fcn.00159777
mov ecx, dword [ebx + 0x68d8]
mov eax, dword [ebx + 0x3144]
add esp, 0xc
test ecx, ecx
je 0xb1223
mov ecx, dword [ebx + 0x68c8]
test ecx, ecx
je 0xb1223
mov ecx, dword [ebx + 0x68e8]
test ecx, ecx
je 0xb1205
push eax
call fcn.0015ab71
add esp, 4
imul eax, dword [ebx + 0x68f0]
jmp 0xb1225
mov eax, dword [esp + 0x14]
test eax, eax
je 0xb1144
mov ecx, dword [esp + 0x30]
dec esi
dec edi
cmp esi, ecx
mov dword [esp + 8], edi
jb 0xb1162
mov al, byte [esi]
cmp al, 0xa
je 0xb11eb
cmp al, 0x20
je 0xb11eb
dec esi
dec edi
cmp esi, ecx
jae 0xb11d2
mov dword [esp + 8], edi
jmp 0xb1162
cmp esi, ecx
mov dword [esp + 8], edi
jb 0xb1162
cmp byte [esi], 0x20
jne 0xb1162
jmp 0xb1157
mov ecx, dword [ebx + 0x68d4]
lea edx, [esp + 0x78]
push edx
push 0xffffffffffffffff
push eax
push ecx
call fcn.000d9cfd
test eax, eax
jne 0xb1223
mov eax, dword [esp + 0x78]
jmp 0xb1225
xor eax, eax
test eax, eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0xb1237
fadd dword [0x218ed8]
mov eax, dword [0x2f5b24]
imul eax, eax, 0x2c
fdiv dword [eax + 0x28bdac]
fild dword [esp + 0x40]
fcompp
fnstsw ax
test ah, 5
jp 0xb12d5
mov ecx, dword [ebx + 0x68d8]
test ecx, ecx
mov eax, dword [ebx + 0x3144]
je 0xb12aa
mov ecx, dword [ebx + 0x68c8]
test ecx, ecx
je 0xb12aa
mov ecx, dword [ebx + 0x68e8]
test ecx, ecx
je 0xb128c
push eax
call fcn.0015ab71
add esp, 4
imul eax, dword [ebx + 0x68f0]
jmp 0xb12ac
mov ecx, dword [ebx + 0x68d4]
lea edx, [esp + 0x70]
push edx
push 0xffffffffffffffff
push eax
push ecx
call fcn.000d9cfd
test eax, eax
jne 0xb12aa
mov eax, dword [esp + 0x70]
jmp 0xb12ac
xor eax, eax
test eax, eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
jge 0xb12be
fadd dword [0x218ed8]
mov eax, dword [0x2f5b24]
imul eax, eax, 0x2c
fdiv dword [eax + 0x28bdac]
call fcn.0015c5d8
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x24]
mov al, byte [esi + 1]
inc edx
inc esi
test al, al
mov dword [esp + 0x24], edx
jne 0xb0ed0
mov dword [esp + 0x1c], esi
mov ecx, dword [ebx + 0x3134]
mov edi, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x80]
mov edx, dword [esp + 0x40]
sub eax, edi
cmp edx, eax
jle 0xb130b
mov dword [esp + 0x40], eax
cmp edi, 0x1f
jge 0xb131b
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x4c], eax
mov edx, dword [ecx + 0xa0]
mov ecx, dword [ecx + 0x7c]
mov eax, dword [ebx + 0x6b30]
lea eax, [eax + ecx + 0x1e0]
mov dword [esp + 0x14], edx
xor edx, edx
div dword [esp + 0x14]
xor edx, edx
mov ecx, eax
lea eax, [edi + edi]
div dword [esp + 0x14]
shl eax, 1
sub ecx, eax
mov eax, dword [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x3c], ecx
jg 0xb135e
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
lea edx, [eax + ecx + 2]
cmp esi, edx
jbe 0xb1383
sub esi, eax
sub esi, ecx
sub esi, 2
push esi
push 0x20efa8
call fcn.000bbcf0
add esp, 8
mov dword [esp + 8], 1
jmp 0xb1390
mov eax, dword [esp + 8]
test eax, eax
je 0xb1474
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1c], esi
jle 0xb13cf
mov ecx, eax
mov edi, edi
mov al, byte [esi]
test al, al
je 0xb13c2
cmp al, 0xa
je 0xb13c7
mov al, byte [esi + 1]
inc esi
test al, al
jne 0xb13b6
cmp byte [esi], 0xa
jne 0xb13c8
inc esi
dec ecx
jne 0xb13b0
mov dword [esp + 0x1c], esi
cmp byte [esi], 0xa
jne 0xb13d9
inc esi
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x14]
cmp eax, 2
jle 0xb146c
lea ecx, [ebx + 0x3144]
add eax, 0xfffffffe
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], eax
jmp 0xb1400
xor eax, eax
mov ecx, 0x32
lea edi, [esp + 0x3a8]
rep stosd dword es:[edi], eax
mov al, byte [esi]
test al, al
je 0xb142f
lea ecx, [esp + 0x3a8]
lea ecx, [ecx]
cmp al, 0xa
je 0xb142f
mov byte [ecx], al
mov al, byte [esi + 1]
inc ecx
inc esi
test al, al
jne 0xb1420
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x3a8]
push edx
push 0x2084cc
push ecx
call fcn.00159777
mov al, byte [esi]
add esp, 0xc
test al, al
je 0xb1452
inc esi
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
add ecx, 4
dec eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x1c], eax
jne 0xb1400
mov dword [esp + 0x1c], esi
mov dword [esp + 8], 0
cmp dword [esp + 0x24], 2
jle 0xb149e
cmp dword [ebx + 0x6da00], 1
je 0xb149e
mov edi, dword [0x2f6650]
mov edx, dword [ebx + 0x6db48]
test edi, edi
sete al
lea ecx, [ebx + 0x6db48]
push eax
call dword [edx]
mov eax, dword [esp + 0x28]
test eax, eax
je 0xb14e3
mov ecx, dword [ebx + 0x3134]
mov edx, dword [esp + 0x4c]
mov edi, dword [esp + 0x40]
mov dword [ecx + 0x78], edx
mov eax, dword [ebx + 0x3134]
mov dword [eax + 0x70], 2
mov eax, dword [ebx + 0x3134]
mov ecx, dword [eax + 0x6c]
mov eax, dword [esp + 0x3c]
mov edx, dword [ebx]
push 0
add ecx, edi
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x15c]
jmp 0xb1547
mov eax, dword [0x2f5b24]
imul eax, eax, 0x2c
mov ecx, dword [eax + 0x28bda0]
test ecx, ecx
fild dword [eax + 0x28bda0]
jge 0xb1501
fadd dword [0x218ed8]
mov edx, dword [eax + 0x28bd9c]
sub esp, 8
test edx, edx
fstp dword [esp + 4]
fild dword [eax + 0x28bd9c]
jge 0xb151e
fadd dword [0x218ed8]
fstp dword [esp]
push 0
fild dword [esp + 0x54]
push 0
sub esp, 8
lea esi, [esp + 0x278]
fstp dword [esp + 4]
fild dword [esp + 0x68]
fstp dword [esp]
push 0
push 0
call fcn.00070ad0
mov eax, dword [ebx + 0x3134]
mov ecx, dword [eax + 0x78]
mov edi, dword [eax + 0x7c]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x2f5b24]
cmp ecx, 2
je 0xb156f
cmp ecx, 3
je 0xb156f
fld qword [0x218f48]
jmp 0xb1575
fld qword [0x219118]
xor ecx, ecx
mov dword [eax + 0x70], ecx
cmp dword [esp + 0x28], ecx
je 0xb15c5
mov edx, dword [ebx + 0x3134]
mov dword [edx + 0x7c], ecx
mov esi, dword [ebx + 0x3134]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esp + 0x4c]
shl eax, 1
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
lea edx, [ecx + ecx]
mov dword [esp + 0xc], edx
fmul st(1)
fiadd dword [esp + 0xc]
fiadd dword [esp + 0x40]
fsubr dword [0x218fa4]
fmul dword [0x218f0c]
call fcn.0015c5d8
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x14]
fstp st(0)
push 1
push 1
push 1
push eax
lea eax, [ebx + 0x313c]
push eax
push 0
push 0
mov esi, ebx
call fcn.00082830
mov ecx, dword [ebx + 0x3134]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0x7c], edi
mov edx, dword [ebx + 0x3134]
push 0
mov dword [edx + 0x78], eax
call fcn.0016d380
xor eax, eax
call fcn.00011df0
mov eax, dword [0x2a63c8]
test eax, eax
je 0xb17e1
mov eax, dword [0x2a6348]
test eax, eax
jne 0xb18d6
mov al, byte [0x2a6340]
test al, 2
je 0xb1641
mov ecx, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 1
jmp 0xb17f1
test al, 1
je 0xb1663
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0xb17e5
dec ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 1
jmp 0xb17f1
test al, 4
je 0xb169d
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jle 0xb1686
sub ecx, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 1
jmp 0xb17f1
test ecx, ecx
je 0xb1690
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 1
jmp 0xb17f1
test al, 8
je 0xb16ba
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 1
jmp 0xb17f1
mov cl, byte [0x2a6301]
test cl, cl
je 0xb174a
movzx eax, cl
cmp eax, 0x6e
jge 0xb16da
mov dword [esp + 0xc], 0x4b
jmp 0xb16e1
sub eax, 0x23
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
fld qword [0x219110]
fsubr st(1)
fsqrt
fmul st(1)
fild dword [esp + 0x2c]
jge 0xb1703
fadd qword [0x218f20]
faddp st(1)
call fcn.0015c5d8
fstp st(0)
mov esi, dword [ebx + 0xbf0]
imul esi, esi, 0x4b
cmp eax, esi
mov dword [esp + 0x2c], eax
jbe 0xb17e1
mov edx, dword [ebx + 0xbf0]
mov ecx, dword [esp + 0x10]
imul edx, edx, 0x4b
mov dword [esp + 8], 1
sub eax, esi
inc ecx
cmp eax, edx
ja 0xb1736
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
jmp 0xb17f1
mov cl, byte [0x2a6300]
test cl, cl
je 0xb17dd
movzx eax, cl
cmp eax, 0x6e
jge 0xb176a
mov dword [esp + 0xc], 0x4b
jmp 0xb1771
sub eax, 0x23
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
mov edx, dword [esp + 0x2c]
test edx, edx
fld qword [0x219110]
fsubr st(1)
fsqrt
fmul st(1)
fild dword [esp + 0x2c]
jge 0xb1793
fadd qword [0x218f20]
faddp st(1)
call fcn.0015c5d8
fstp st(0)
mov edx, dword [ebx + 0xbf0]
imul edx, edx, 0x4b
cmp eax, edx
mov dword [esp + 0x2c], eax
jbe 0xb17e1
mov esi, dword [ebx + 0xbf0]
mov ecx, dword [esp + 0x10]
imul esi, esi, 0x4b
lea ebx, [ebx]
sub eax, edx
test ecx, ecx
je 0xb17cf
dec ecx
mov dword [esp + 8], 1
cmp eax, esi
ja 0xb17c0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x2c], eax
jmp 0xb17e5
test al, 0x20
jne 0xb180a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test eax, eax
je 0xb1474
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x14]
cmp ecx, eax
jle 0xb1390
mov dword [esp + 0x10], eax
jmp 0xb1390
mov eax, dword [esp + 0x54]
test eax, eax
jne 0xb1821
mov ecx, dword [esp + 0x38]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
test eax, eax
jne 0xb189d
mov ecx, dword [esp + 0x258]
mov edx, dword [esp + 0x250]
lea eax, [ebx + 0x117c]
push eax
lea eax, [ebx + 0xcf4]
push eax
lea eax, [ebx + 0xd58]
push eax
mov dword [ebx + 0x68f0], ecx
lea ecx, [esp + 0x47c]
push 0x2186fc
push ecx
mov dword [ebx + 0x68e8], edx
call fcn.0015990f
mov eax, dword [0x2f5b24]
imul eax, eax, 0x2c
mov edx, dword [eax + 0x28bdb0]
mov eax, dword [eax + 0x28bdac]
add esp, 0x14
push edx
push eax
mov eax, dword [ebx + 0x48]
lea ecx, [esp + 0x478]
push ecx
lea edi, [ebx + 0x6820]
call fcn.0006af20
lea edx, [esp + 0xb0]
push 0x206f34
push edx
call fcn.001599c3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
push eax
call fcn.00159bd6
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov byte [ecx], 0
mov dword [esp + 0x10], 0
xor esi, esi
jmp 0xb0b83
xor eax, eax
call fcn.00011df0
mov eax, dword [esp + 0x38]
test eax, eax
je 0xb1959
mov eax, dword [esp + 0x250]
mov edx, dword [esp + 0x258]
mov dword [ebx + 0x68e8], eax
lea ecx, [ebx + 0x117c]
push ecx
lea eax, [ebx + 0xcf4]
push eax
lea eax, [ebx + 0xd58]
push eax
mov dword [ebx + 0x68f0], edx
lea edx, [esp + 0x47c]
push 0x2186fc
push edx
call fcn.0015990f
mov eax, dword [0x2f5b24]
imul eax, eax, 0x2c
mov ecx, dword [eax + 0x28bdb0]
mov edx, dword [eax + 0x28bdac]
add esp, 0x14
push ecx
push edx
lea eax, [esp + 0x478]
push eax
mov eax, dword [ebx + 0x48]
lea edi, [ebx + 0x6820]
call fcn.0006af20
mov edi, dword [ebx + 0x3134]
mov edx, dword [esp + 0x20]
mov ecx, 0x190
lea esi, [esp + 0x730]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x44]
push edx
mov dword [ebx + 0x3134], ecx
call fcn.00159bd6
mov eax, dword [esp + 0x2c]
add esp, 4
test eax, eax
jne 0xb19ca
mov eax, dword [esp + 0x34]
test eax, eax
je 0xb19e2
mov ecx, dword [ebx + 0x11e8]
mov edx, dword [ebx + 0x11e0]
mov eax, dword [ebx]
push ecx
mov ecx, dword [ebx + 0x3134]
push edx
mov edx, dword [ecx + 0x64]
push edx
lea ecx, [esp + 0x26c]
push ecx
mov ecx, ebx
call dword [eax + 0xe8]
mov edx, dword [esp + 0x34]
push edx
call fcn.0016bf10
jmp 0xb19e2
mov eax, dword [ebx + 0x3134]
mov edx, dword [ebx]
push eax
lea eax, [ebx + 0x24b4]
push eax
mov ecx, ebx
call dword [edx + 0x19c]
xor esi, esi
jmp 0xb19f0
mov ecx, dword [esp + esi*4 + 0x8c]
push ecx
call fcn.00159bd6
add esp, 4
inc esi
cmp esi, 2
jl 0xb19f0
mov eax, dword [0x2f6650]
test eax, eax
je 0xb1a31
mov eax, dword [0x2b4324]
test eax, eax
je 0xb1a31
mov eax, dword [0x3c63c0]
test eax, eax
je 0xb1a31
mov edx, dword [ebx + 0x6db48]
lea ecx, [ebx + 0x6db48]
push 1
call dword [edx]
lea eax, [esp + 0x1e0]
mov dword [esp + 0x44], eax
mov esi, eax
mov byte [esp + 0xd7c], 3
call fcn.000114a0
mov byte [esp + 0xd7c], 2
mov eax, dword [esp + 0x1f8]
xor edi, edi
cmp eax, edi
je 0xb1a70
push eax
call fcn.001597e6
add esp, 4
mov dword [esp + 0x1f8], edi
mov eax, dword [esp + 0x1fc]
cmp eax, edi
je 0xb1a88
push eax
call fcn.0016c7a0
mov dword [esp + 0x1fc], edi
lea ecx, [esp + 0x190]
mov dword [esp + 0x200], edi
mov dword [esp + 0x204], edi
mov dword [esp + 0x44], ecx
mov esi, ecx
mov byte [esp + 0xd7c], 4
call fcn.000114a0
mov byte [esp + 0xd7c], 0
mov eax, dword [esp + 0x1a8]
cmp eax, edi
je 0xb1acc
push eax
call fcn.001597e6
add esp, 4
mov eax, dword [esp + 0x1ac]
cmp eax, edi
je 0xb1add
push eax
call fcn.0016c7a0
mov eax, dword [esp + 0x260]
cmp eax, edi
je 0xb1af5
push eax
call fcn.0016bf10
mov dword [esp + 0x260], edi
mov eax, dword [esp + 0x390]
cmp eax, edi
je 0xb1b0d
push eax
call fcn.0016bf10
mov dword [esp + 0x390], edi
mov eax, dword [esp + 0x278]
cmp eax, edi
je 0xb1b27
cmp dword [esp + 0x264], edi
je 0xb1b27
push eax
call fcn.0016bf10
mov ecx, dword [esp + 0xd74]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret